Hi,
i just want to ask, is it possible to display discount value instead of discount % on all product thumbnail?
Thanks
Hi,
i just want to ask, is it possible to display discount value instead of discount % on all product thumbnail?
Thanks
Hello!
Hi,
i just want to ask, is it possible to display discount value instead of discount % on all product thumbnail?
Thanks
Please find this part in /design/themes/YOUR_THEME/templates/common/product_data.tpl
{capture name="discount_label_`$obj_prefix``$obj_id`"}
{if $show_discount_label && ($product.discount_prc || $product.list_discount_prc) && $show_price_values}
{__("save_discount")} {if $product.discount}{$product.discount_prc}{else}{$product.list_discount_prc}{/if}%
{/if}
{/capture}
and replace with this one:
{capture name="discount_label_`$obj_prefix``$obj_id`"}
{if $show_discount_label && ($product.discount_prc || $product.list_discount_prc) && $show_price_values}
{__("save_discount")} {if $product.discount}{include file="common/price.tpl" value=$product.discount}{else}{include file="common/price.tpl" value=$product.list_discount}{/if}
{/if}
{/capture}
Hello!
Please find this part in /design/themes/YOUR_THEME/templates/common/product_data.tpl
{capture name="discount_label_`$obj_prefix``$obj_id`"} {if $show_discount_label && ($product.discount_prc || $product.list_discount_prc) && $show_price_values} {__("save_discount")} {if $product.discount}{$product.discount_prc}{else}{$product.list_discount_prc}{/if}% {/if} {/capture}
and replace with this one:
{capture name="discount_label_`$obj_prefix``$obj_id`"} {if $show_discount_label && ($product.discount_prc || $product.list_discount_prc) && $show_price_values} {__("save_discount")} {if $product.discount}{include file="common/price.tpl" value=$product.discount}{else}{include file="common/price.tpl" value=$product.list_discount}{/if} {/if} {/capture}
Thanks it work really well :)
Thanks it work really well :)
You are welcome!