View Single Post
  #1  
Old 04-20-2015, 08:57 AM
 
bob@n-flatables bob@n-flatables is offline
 

Member
  
Join Date: Nov 2012
Posts: 26
 

Default Create custom IF function

We created a custom product property field (string) that displays on the product page. What I want to do it have an image display ONLY IF the value of the custom property field ($MyField) equals a specific string "Test".

I can have an image display on the product page if I use <img IF="{product.getMyField())" /> but this displays it as long as the field is not empty.
__________________
X-cart v 5.2
Reply With Quote