Anns Abz Posted July 18, 2022 Posted July 18, 2022 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 More sharing options...
Ali Samie Posted July 19, 2022 Posted July 19, 2022 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 More sharing options...
Anns Abz Posted July 19, 2022 Posted July 19, 2022 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 More sharing options...
Ali Samie Posted July 19, 2022 Posted July 19, 2022 Hello again @Anns Abz I just created a simple module for you. Just go to this post and use it. Share this post Link to post Share on other sites More sharing options...
Anns Abz Posted July 19, 2022 Posted July 19, 2022 @stifler97 thank you so much. you are the best😀 Share this post Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now