Hello Sir,
i want to show a Discount icon on top right corner of products with percentage of discount on price like in firstcry.com
i have learnt from opencart forum by adding this code, i can show a image in special products.
<?php if($special){ ?>
<img src=”image address on your server ! <– you need to change this one ” !<– you need to create this on your stylesheet.css” alt=”ale”>
<?php } ?>
But how to calculate percentage of discount amount. Can you help me with this by giving any code.
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|