Hi everyone.
I need any extension or hack for Virtuemart to allow me to do the next:
In my online store, I have a lot of variation discounts, and product image show that discount. Currently, what I do is modify the product picture and add the layer image of discount manually with Photoshop. You can see what I mean at: http://thebestpadel.com/images/stories/virtuemart/product/avant-carbon-fucsia.jpg
The black round with 35% is what I add manually each time there is a change in the discount ...
So I need some system to select the discount amount option in VM management, and automatically the 2nd picture appear above the product image
Do you know how can I get it, or any extension or hack ?
Thank's in advance
Best regards
something like get the discount from the product object .
if it exists then echo out the top layer image div with the image name having the value
e.g.
<?php if($discount) { ?>
<div class="toplayer">
<img src="images/stories/virtuemart/product/lala_<?php echo $discount; ?>.jpg" />
</div>
<?php } ?>