neeshs11981 Posted May 11, 2015 Share Posted May 11, 2015 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 More sharing options...
tuk66 Posted May 11, 2015 Share Posted May 11, 2015 Open the /mails/en/order_conf_product_list.txt file in a text editor and replace all occurencies of \' with '. Link to comment Share on other sites More sharing options...
neeshs11981 Posted May 11, 2015 Author Share Posted May 11, 2015 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 More sharing options...
roykonnecho Posted May 28, 2015 Share Posted May 28, 2015 (edited) Great solution tuk66, you made my day! Exactly why Prestashop (mailalerts 3.5.2, prestashop 1.6.0.8) couldn't send new order emails to customers and shopowner anymore, now it works again. Edited May 28, 2015 by roykonnecho (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts