Originally posted by dcarver
View Post
At the moment all existing (pre 9.07) customfield checkboxes are returning 'yes' until you cahnge their state. After they are re-activated they will return 1. You may have a mixture of 'yes' and 1 for the same product.
details
Code:
<mvt:if expr="g.my_customfield_checkbox_var EQ 'yes'"> <---- WRONG <mvt:if expr="g.my_customfield_checkbox_var NE 'yes'"> <---- WRONG <mvt:if expr="NOT ISNULL g.my_customfield_checkbox_var"> <---- CORRECT matches yes and 1 <mvt:if expr="ISNULL g.my_customfield_checkbox_var"> <---- CORRECT matches an empty field or not assigned variable
Comment