Jump to content

[MODULES] Gift on order , M4pdf


markinhos3

Recommended Posts

Hi guys!

I bought a module called "Gift on order" and now I need include the admin_invoice.tpl from this module into my personal delivery slip template to show to our customers which gifts they get .

The problem is: I bought time ago a module 
called "M4pdf " that configures pdf  (in my case the delivery slip) and when I try put/call the template admin_invoice.tpl in this delivery_slip.tpl, I do not get anything.

 

I have tried to do:

 

1) use the hook called "displayPDFDeliverySlip" from the gifts module inside the tpl from M4pdf module, using 

{hook h='displayPDFDeliverySlip'}

or 2) Calling the file admin_invoice.tpl from the gifts module inside the tpl from M4pdf module, using:

{include file="file:/var/www/clients/.../templates/hook/admin_invoice.tpl"} // the route is not complete here

But I do not get anything!

 

My Prestashop version is 1.6.1.3

Please, can you figure out how can I include the admin_invoice.tpl into my deliveri_slip.tpl which belongs to another module?

Thanks a lot in advance!   :)
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...