We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum


Thread tagged as: Question, Shop

Getting Variant Details in Product Page


Is it possible to get the variant fields for a product when displaying that product?

I have created a 'colour' variant and a new template (variant.html) that allows me to upload multiple images for the variant and I want to be able to display those images within in the product detail view.

Cheers Dave

David Kirk

David Kirk 1 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You can get the product options but not the variants themselves yet. To do that you'd need to get the variants on the page and pass them into the template for the parent product.