I'm trying to hide a shipping method on OSEL if a custom product field 'disable flat rate shipping for this item' is checked.
can you tell me if the format is correct for a checkbox customfield?
This is just a stopgap measure as our site is being redesigned (the shipping rules don't work currently as we haven't upgraded all the site templates).
Code:
<mvt:if expr="l.settings:product:customfield_values:customfields:p_disable_usps_flatrate EQ 'yes'">style="display: none"</mvt:if>
This is just a stopgap measure as our site is being redesigned (the shipping rules don't work currently as we haven't upgraded all the site templates).
Comment