Sales Percent Saving In Products

Hello

How do I remove the sale percent (example: save 7%) from the product page image if the products discount is less than 10 %, i want to remove the percent only for produtcs that have the discount less than 10 %.

Can anyone help me, what modification in code should i make?

Thanks in Advance.

you could take list price form the field of all the products that are less than 10%.

Can be done via csv export if needed

design/themes/THEME/templates/common/product_data.tpl

replace

{if $show_discount_label && ($product.discount_prc || $product.list_discount_prc) && $show_price_values}

with

{if $show_discount_label && ($product.discount_prc || $product.list_discount_prc > 10) && $show_price_values}

The clear cache

(!) Not tested