Forum
Getting Variant Details in Product Page
Hi,
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
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.