markseinto Posted March 13, 2024 Share Posted March 13, 2024 Hello. I would like to have the short description of the product in the order_conf.html email. At the moment I have added this line to the PaymentModule.php file: 'description' => $product['description_short'], and this one on the order_conf_product_list.tpl: <strong>{$product['name']} {$product['description_short']}</strong> But I can't get the description in the email. How can I get it? Thank you in advance. Link to comment Share on other sites More sharing options...
JBW Posted March 13, 2024 Share Posted March 13, 2024 On 3/13/2024 at 2:01 PM, markseinto said: 'description' => $product['description_short'], Expand Where did you add this? It should be added to $product_var_tpl. Don't change PaymentModule class directly, you will use your changes with any upgrade. Use an override or module/hook instead Link to comment Share on other sites More sharing options...
markseinto Posted March 13, 2024 Author Share Posted March 13, 2024 On 3/13/2024 at 2:50 PM, JBW said: Where did you add this? It should be added to $product_var_tpl. Don't change PaymentModule class directly, you will use your changes with any upgrade. Use an override or module/hook instead Expand Yes, I created a override, sir. 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