0

How to display only special price of product if it contains else it should not display

  • You mean like this ? => $15.00 Regular Price $34.00 or $15? – Rohan Hapani Nov 28 '18 at 11:55
  • Rohan Hapani $15 is special price means only $15 should display – trilok kumar Nov 28 '18 at 12:53
  • Please accept and upvote answer if it's working. – Rohan Hapani Nov 30 '18 at 9:22
1

Copy final_price.phtml from

Vendor/magento/module-catalog/view/base/templates/product/price/final_price.phtml

to

Vendor/theme/module-catalog/view/base/templates/product/price/final_price.phtml

Find this code : <span class="old-price"></span>

This span is used for display old price when special price is available. You can remove it in your custom theme file if you don't want to display.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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