VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: borro on March 25, 2013, 08:28:36 AM

Title: How to update photo of selected child product at parent product page?
Post by: borro on March 25, 2013, 08:28:36 AM
Hello, friends.

I'm testing standard functionality of child products in VM 2.0.18a by means of custom field with "stockable variants" field type. When you mark that this custome field is cart attribute, it will be shown at the parent product page. Then if you choose one of child products from dropdown list at the parent product page the photo of a product remains the same, that is VM displays the photo of parent product.
Is there any solutions to make VM displaying corresponding photo of selected child product when using "stockable variants" custome field?

Thank you
Title: Re: How to update photo of selected child product at parent product page?
Post by: borro on April 05, 2013, 14:05:54 PM
Does somebody know solution of how to do this?
Title: Re: How to update photo of selected child product at parent product page?
Post by: jenkinhill on April 05, 2013, 23:19:31 PM
You would need to write or commission some JavaScript to do that on the product details page.  But I'm not a programmer.