Hello,
J!3.9.3, VM 3.4.3
Today I noticed that the selects in multivarariant products don't work, if those products have related products.
In that case, if a customer tries to select a variant from the drop down fields (size and color in my case), the product can't be found and the customer is directed to one of the related products instead.
Is that a known bug?
-- Petra
For old versions, yes. We had similar problems before, but I thought I solved that by rewriting the js.
What says the js console?
No errors/warnings in the JS console.
Have you a link to check the bug ?
I have a site on our preview server, where the problem occurs, see here:
http://bit-vorschau.de/j3-usa-bag/shop/kennzeichen-tasche-alabama-3
I have removed all VM overrides in the template. The problem seems to be in a view file (views/productdetails/tmpl/default.php), because if I use my override files for this template,
the issue is not there.
seems to insert the related product html into the product container
also gives this error
kennzeichen-tasche-alabama-3:1 Unchecked runtime.lastError: The message port closed before a response was received.
what ever that means
Strange bug, as if the container is set on reloading variant
Before loading a variant
Virtuemart.containerSelector = ".productdetails-view"
on getting the child
Virtuemart.containerSelector = ".product-container"
.product-container is a class used for all products container.
In your case this set the related as main product, but in real the ajax request is right but not the extracted html.