Prestawise Posted December 25, 2010 Share Posted December 25, 2010 Hey guysI cant really figure where in my product.tpl i need to remove the code for "price reduced by x%"Anyone that can tell me where to comment out the code? RegardsNapz Link to comment Share on other sites More sharing options...
rocky Posted December 26, 2010 Share Posted December 26, 2010 Which PrestaShop version are you using? I'll assume you are using the default PrestaShop v1.3.4 theme. In that case, the code is on lines 255-257 of product.tpl: {if $product->reduction_percent != 0 && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $product->reduction_from))} {l s='(price reduced by'} {$product->reduction_percent|floatval} %{l s=')'} {/if} Link to comment Share on other sites More sharing options...
Prestawise Posted December 27, 2010 Author Share Posted December 27, 2010 Thank you rocky... Once again fast reply with the right solution.. THANKS 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