Jump to content

Product condition in order confirmation email


Andron777
 Share

Recommended Posts

I need to show product condition in mails/en/**order_conf_product_list.tpl**

 

I tried adding

 



{$product['condition']}


 

but i get this error: 

 

*Notice: Undefined index: condition in /home/yourserver/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(171) : eval()'d code on line 70*

 

 

I guess I must make modification of mailalerts.php, but how to get the product condition? 

 

if I do {$product|@var_dump} "condition" is not in the array

Edited by Andron777 (see edit history)

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