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

Custom Atribute with image?? 
 
ertre45
Jr. Member
 
Total Posts:  17
Joined:  2009-12-05
 

I’ve made a custom attribute for my products and set it to be a yes/no answer. Can anyone tell me how I can add some simple PHP code to the product view page that will display a simple image or a DIV tag if the attribute is set to “yes”??

Right now I have a DIV tag being added to the description to display the image but it would be nice to have the attribute show the image instead!!

Thanks

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