Stephane13 Posted February 4, 2011 Share Posted February 4, 2011 Bonjour,Je suis sur le point de modifier la page product.tpl mais avant même d'avoir touché à quoi que ce soit, Dreamweaver m'indique qu'il y a une erreur de syntaxe à la ligne 11. J'ai supposé qu"il manquait les apostrophes ' ' mais en les rajoutant l'erreur se décale de ligne en ligne. {include file=$tpl_dir./errors.tpl} {if $errors|@count == 0} [removed] // <![CDATA[ // PrestaShop internal settings var currencySign = '{$currencySign|html_entity_decode:2:"UTF-8"}'; var currencyRate = '{$currencyRate|floatval}'; var currencyFormat = '{$currencyFormat|intval}'; var currencyBlank = '{$currencyBlank|intval}'; var taxRate = {$product->tax_rate|floatval}; var defaultTaxRate = {if isset($default_product_tax) && $default_product_tax}{$default_product_tax}{else}0{/if}; var jqZoomEnabled = {if $jqZoomEnabled}true{else}false{/if}; Link to comment Share on other sites More sharing options...
cobolian Posted February 4, 2011 Share Posted February 4, 2011 A mon avis dreamweaver ne capte pas que c'est du smarty.Le plus simple est de passer sous quelque chose de + adapté, genre netbeans. 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