If Selected then Show Image

2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 13, 2009   (RSS)

By jposwald - March 12, 2009

Dave,

I need to set up a Promotion advise to the products list.

So i've added a list field called "Promotion" with 2 options to select from: Yes or No.

If product is under Promotion, I'll select "Yes" and then I want to show it in the webpage with an Image, and if not under promotion, i do not want any image to display.

How can I do it with the php if function?

Thank you, Juan.