Jump to content

Shipping template- new variable add


Anns Abz
 Share

Recommended Posts

In prestashop 1.7.7.4, i want to add a new variable to the shipped.html template. basicaly a block with user address. something like {user_invoice_address}.
but i didnt find a solution to do this. any hook available to pass this information to the shipped.html template.

Share this post


Link to post
Share on other sites

Adding a variable is ok but at first you should tell how are you going to send an email of shipped template? Are you planing to use the default behaviuor of prestashop? Or you need to send this email in a custom way like in a module?

Share this post


Link to post
Share on other sites

hi @stifler97 thanks for the reply, yes im planning to use the default behaviour. when an emplyee changing the status from backend[shipped], then this mail is triggering right? so at that point i also want to includes the customer address from the order. currently it doesnot have that variable

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More