Announcement

Collapse
No announcement yet.

Need a update/rewrite of a snippet

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

    Need a update/rewrite of a snippet

    I need to change this:

    Code:
    <mvt:assign name="g.show" value="rnd(l.settings:record:attribute_data[1]:options[2]:price, 2)" /> &mvt:global:show;
    to something that can use a specific attribute code PDF from attribute_data[1] and pull its price. This snippet is for a Google Feed. It worked perfectly until the store owner added products that moved the PDF to other options. Sometimes it's options[2}, sometimes it can be options[3] or maybe even options[4], but it is always going to have the same code.

    TIA - Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Working...
X