Announcement

Collapse
No announcement yet.

using if statement for custom field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    using if statement for custom field

    I'm trying to see if a value exists in a custom field - where the custom field is "bname" - what am I missing?


    <mvt:if expr="NOT ISNULL &mvte:product:customfield_values:customfields:bnam e;">

    <mvt:else>

    </mvt:if>

    #2
    You need to be using l.settings:product:customfield_values:customfields :bname instead of the &mvte format, if I'm not mistaken.

    Comment


      #3
      Yes, "&mvt:" as prefix is used to display on a website and "l.settings:" to evaluate like in a conditional test.
      Andreas Toman
      PCINET, LLC

      Miva Merchant Design, Development, Integration & Support
      We built over 200 Miva Merchant stores!
      Miva shopping cart design & integration service and see our Portfolio!


      e-mail: [email protected]
      web: www.pcinet.com
      LinkedIn: Andreas Toman
      phone: (786) 250-2056 (Miami, FL)

      Comment


        #4
        Thank you! That was it.

        Comment

        Working...
        X