Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Add, this product is on offer image on top of the product image? 
 
jorries
Member
 
Avatar
Total Posts:  56
Joined:  2007-10-07
 

Is it possible to somehow
set a product to be on offer
and display an “ offer “ image on top of the product image?

See attached image for more information

Image Attachments
Untitled-5.gif
 
Magento Community Magento Community
Magento Community
Magento Community
 
RoyRubin
Enthusiast
 
Avatar
Total Posts:  968
Joined:  2007-08-07
Los Angeles, CA
 

This is certainly possible smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Create transparent pngs or gifs for the circle backgrounds for discount ranges (0-20 - yellow, 20-40 red),
Use absolute positioning in categories product list to put them over the product images,
Use this formula to calculate discount percentage in template/catalog/product/list.phtml:

<?=round($_product->getPrice() - $_product->getFinalPrice()) / $_product->getPrice() * 100)?>
Show it only if $_product->getPrice() !=$_product->getFinalPrice().

Other options would be to create circles for each percentage…

 
Magento Community Magento Community
Magento Community
Magento Community
 
jorries
Member
 
Avatar
Total Posts:  56
Joined:  2007-10-07
 

Great!
Magento is so beatefull…

Im going to build this Modification and then post it lateron..
But first need my shop to be competely restyled! Im going to do an extreme makeover, which it will no longer be detectable as magento..
post my results this week or next week.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Wouter (@MidoMedia)
Member
 
Avatar
Total Posts:  44
Joined:  2007-11-28
 

@Moshe: Could you post a line we can copy-paste in list.phtml? I can’t get your line to work (parse errors). Thanks a lot for the support.

Also huge fan of Magento btw! Moving 10 of our stores to one Magento installation currently, with multiple front-ends of course.

 
Magento Community Magento Community
Magento Community
Magento Community
 
sashas7777
Sr. Member
 
Avatar
Total Posts:  90
Joined:  2012-04-25
New York, USA
 

Hi you can try this module: http://www.magentocommerce.com/magento-connect/special-products-image-promo-image.html

It adds image on top of product image for promotion.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top