Announcement

Collapse
No announcement yet.

Create Product Image Slider

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

    Create Product Image Slider

    I am looking to make a custom image slider for the PROD page. I have the code for the slider but can't get the exact MIVA template language correct. I want to create a foreach loop that will show a div with the image for each image that product has. Ideally populating the slider with all images of that product.

    Here is the attempted code so far.

    <div class="imageslider">
    <mvt:foreach iterator="image" array="images" >
    <div><img src="&mvt:product:image;" alt="&mvt:product:name;" /></div>
    </mvt:foreach>
    </div>

    Has anyone else tried this?
Working...
X