Jump to content

Product description_short on the order_conf.html


Recommended Posts

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

45 minutes ago, markseinto said:
'description' => $product['description_short'],

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

1 minute ago, 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

Yes, I created a override, sir.

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...