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

ask new product Ribbon
 
tequilla
Jr. Member
 
Total Posts:  12
Joined:  2010-11-28
 

Hi
i put this code so that i could display product ribbon when an item was on sale or an item is promo item
<?php if(($_product->special_price != null)): ?>
<p class="promo">Promo!</p>
<?php endif; ?>
and it doesnt seem to work so was hoping someone might know why..
I had version 1.5 of magento

 
Magento Community Magento Community
Magento Community
Magento Community
 
MagePsycho
Moderator
 
Avatar
Total Posts:  1702
Joined:  2009-06-23
 

Try to dump the product data as:

var_dump($_product->getData());
and check the values for special-price.
 
Magento Community Magento Community
Magento Community
Magento Community
 
TinaCarte
Jr. Member
 
Total Posts:  3
Joined:  2012-10-11
 

Comprar Seguidores en Twitter Comprar Seguidores en Twitter. Comprar Twitter Followers. Aumentar Twitter Seguidores. Comprar Seguidores en Twitter Baratos. Desde 1000 - 1 Millón Seguidores

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