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 HapaniCommented Nov 28, 2018 at 11:55
-
Rohan Hapani $15 is special price means only $15 should display– trilok kumarCommented Nov 28, 2018 at 12:53
-
Please accept and upvote answer if it's working.– Rohan HapaniCommented Nov 30, 2018 at 9:22
Add a comment
|
1 Answer
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.