I need to add the Saving percentage label to the product after the price on the category listing page and product details page.

I managed to do this for configurable products by adding the below code to


<span class="price-percentage-pdp price-percentage">
    <?php $percentage = 100 - round(($finalPriceModel->getAmount()->getValue() / $priceModel->getAmount()->getValue())*100); ?>
    <?php echo $percentage ."% OFF"?>

This is working fine.

How & where can I add a special price percentages for simple products & bundle products?

1 Answer 1


For Simple


override on below path


For Bundle


override on below path

  • Thank you very much for your answer, it helped me
    – Mujahidh
    Commented Sep 27, 2021 at 5:39
  • welcome.. happy coading!! Commented Sep 27, 2021 at 6:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.