Jump to content

If Function


Recommended Posts

I want an image to show up if a price is 75 euro or higher. What kind of php code do I need to add to product.tpl?

 

I've been searching the internet about the if function in php, but I don't really understand what I need to do in this case. I'm not a programmer, but I do understand a littel of code.

 

What I want is this: if the price is 75 euro or more, an image appears above the price at the product page. If the price is lower than the image should not appear.

Edited by BuB (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...