VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: jamesl-kemet on October 22, 2020, 15:31:51 PM

Title: Related products for parent product with variants
Post by: jamesl-kemet on October 22, 2020, 15:31:51 PM
Hi, I'm having trouble regarding 'Related products'. I have added a related product to a parent product which has variations setup / child products, when viewing the product it is fine, but when choosing any variant from the dropdown, it then displays the related product instead of the product variant/child product. If I then refresh the page, the variant/child product then displays fine. I have tried the joomla protostar template, but has the same issue. Have also tried the tick box option next to each item within the 'related products', 'click here to prevent inhereting...'.

Page with 'related product' can be viewed here https://www.kemet.co.uk/testnew/cutting/diamond-cut-off-wheels-detail

VirtueMart 3.8.4 10335
Joomla! 3.9.21
Title: Re: Related products for parent product with variants
Post by: GJC Web Design on October 22, 2020, 17:14:54 PM
and with "Load products by ajax" switched off? - in VM config->template
Title: Re: Related products for parent product with variants
Post by: jamesl-kemet on October 22, 2020, 17:25:25 PM
thanks, seems to work when the ajax for products is switched off. I did like the Ajax feature on the main page though. Would the ajax feature be conflicting with a plugin then? or something else?
Title: Re: Related products for parent product with variants
Post by: GJC Web Design on October 22, 2020, 19:23:19 PM
possibly you have a clash of css classes that the ajax is looking for ( to fill the div) ?