Announcement

Collapse
No announcement yet.

Display additional image with SMT tag

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

    Display additional image with SMT tag

    How can I get the url for an additional image selected by its type on my prod page? I'm using the image machine to actually control the display of all my additional images, but I need to be able to get the url for some specific types in my code.

    #2
    Re: Display additional image with SMT tag

    On the product page you can use the product:customfield_values variable member. For example, if you have an additional image with a code of img1, you should be able to test for this variable:

    Code:
    l.settings:product:customfield_values:productimagecustomfields:img1
    And you could print it to the page using:

    Code:
    &mvt:product:customfield_values:productimagecustomfields:img1;
    Last edited by KNewbrough; 02-18-14, 03:15 PM.
    Kyle Newbrough
    Technical Support / Web Developer
    Miva Merchant

    Comment

    Working...
    X