How to show product label sale only on products that are on sale?


You can use following show sale label

$_finalPrice =$_product->getFinalPrice(); 
$_price =$_product->getPrice();
if($_finalPrice < $_price): ?>
   On Sale

<?php endif; ?>
| 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.