Rustandroid Posted August 30, 2022 Share Posted August 30, 2022 Hi everyone, I'm really new to Prestashop and I ask for help in my work. Usually, I'm a javascript developper but exceptionnally in my work I have to replace someone. I'm using Prestashop and my template engine is Smarty. I just want to display a gift message defined in my cart. I tried {$cart.gift_message} but it doesn't work. So I used {$cart|var_dump} and among all the variables, there is no sign of gift_message only ["is_gift"]=> bool(false). I don't know what to do. I think I should create a variable template for Smarty no ? Does someone can help me ? The current version of my Prestashop is 1.7.4 Link to comment Share on other sites More sharing options...
Rustandroid Posted August 31, 2022 Author Share Posted August 31, 2022 Solution found, let me a day to post a clean solution Link to comment 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