For the longest time, this code worked, and now, it doesn't. I was using this code to hide the add to cart button, and to provide a message to customers that the item they're looking at could only be purchased in-store. Worked great until recently, when a customer ordered one of these items.
I have a custom field created with the code 'add-to-cart' - and it's set up as a checkbox.
Is there anything that has changed recently that broke this? I've tried re-creating a new field, changing from a checkbox to drop down, plain text, all to no avail.
Code:
<mvt:if expr="l.settings:product:customfield_values:customfields:add-to-cart EQ 'yes'"> -message to customer- </mvt:if>
Is there anything that has changed recently that broke this? I've tried re-creating a new field, changing from a checkbox to drop down, plain text, all to no avail.
Comment