No announcement yet.

Product Flags

  • Filter
  • Time
  • Show
Clear All
new posts

  • Product Flags

    I'm trying to get the Custom Field Product flags to display within a field that doesn't have the ability to "assign" them to. In this case, the PROD page Footer.

    This code is inside a suggestedproduct foreach loop:

    <mvt:if expr="l.settings:suggestedproduct:customfield_values:customfields:product_flag">
    <mvt:do file="g.Module_Feature_URI_UT" name="l.settings:clean_flag" value="tolower(URI_Slugify(l.settings:suggestedproduct:customfield_values:customfields:product_flag))" />
                        <span class="category-product-flag &mvt:clean_flag;">&mvt:suggestedproduct:customfield_values:customfields:product_flag;</span>
    It's not displaying anything. I've tried looking at the Token List, but I guess I've looked one too many times because all I am seeing are cached session results. I had seen something there that I tried but it broke the layout.

    What am I doing wrong?
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

  • You probably need to put one of those Read_Product() tags inside the loop, so that it can pull in the field value for each product in turn.
    Kent Multer
    Magic Metal Productions
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:



    This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

    This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.