Hi,
On the product image, there is a “save xx%” automatically added to the image based on the product price and list price.
I like the “save xx%” added to the images displayed on the “On Sale” block on my website’s front page, but I’d like to remove it from the product details page.
Is there a way to remove the “save xx%” from the image just on the product details page? Would this be a php code change or template change?
Thanks
@yong2014,
Open the “design/themes/basic/templates/blocks/product_templates/default_template.tpl” file and remove this part of code:
{assign var="discount_label" value="discount_label_`$obj_prefix``$obj_id`"}
{$smarty.capture.$discount_label nofilter}
And do not forget to clear templates cache. Thanks.
Thanks a lot eComLabs!