Hi,
I'm trying to test a custom field so I can display text accordingly but not having any luck.
If the custom field is empty I don't want anything to show. If there is anything in the field I want the text to display.
Maybe there is a better way to do this I am just stumped right now. Custom Fields are assigned.
Thanks
I'm trying to test a custom field so I can display text accordingly but not having any luck.
If the custom field is empty I don't want anything to show. If there is anything in the field I want the text to display.
Maybe there is a better way to do this I am just stumped right now. Custom Fields are assigned.
HTML Code:
<mvt:if expr="len(trim(l.settings:product:customfield_values:customfields:MsgLn5)) LE 0"> Show nothing <mvt:else> <li><mvt:item name="customfields" param="Read_Product_Code(l.settings:product:code,' MsgLn5', g.MsgLn5)" />&mvte:global:MsgLn5;</li> </mvt:if>
Thanks
Comment