Jump to content

Syntax error


Recommended Posts

Hello,

 

I am receiving the error below after customers checkout. It happened immediately after I was editing Email Template translations. Please help.

 

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/shopvayu/public_html/themes/default-bootstrap/mails/en/order_conf_product_list.txt" on line 2 "{$product[\'reference\']}" - Unexpected "\" <-- thrown in/home/shopvayu/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 2

Link to comment
Share on other sites

Hello, here is how the order_conf_product _list.txt file looks like. I do not see any occurrences that look like / '. Also, I actually never edited order_product_list.txt. Only file I messed with was the order_conf.

 

{foreach $list as $product}
{$product['reference']}
 
{$product['name']}
 
{$product['price']}
 
{$product['quantity']}
 
{$product['price']}
 
{foreach $product['customization'] as $customization}
{$product['name']} {$customization['customization_text']}
 
{$product['price']}
 
{$product['customization_quantity']}
 
{$product['quantity']}
{/foreach}
{/foreach}
Link to comment
Share on other sites

  • 3 weeks later...
×
×
  • Create New...