Joomla 3.6.2
VM 3.0.18
After I updated the Virtuemart version from the 3.0.16 to 3.0.18, when I choose the first variant the page doesn't show me the other variants; you can check here http://www.mulligan.it/en/golf-clubs/iron-sets/callaway-steelhead-xr-irons-detail.html
Note that when you choose the first variant "composizione set" the address change but there is not the choice of the second variant. before the update it was working correctly.
Thank you.
Giuseppe
see
http://forum.virtuemart.net/index.php?topic=135634.msg472611#msg472611
Thank you GJC I solved modifying the template file.
Giuseppe
Sorry I think I solved but it's not true.
Now, if I choose the first variant appear the variants for the second choice but if I change the first variant it stop working... you can see it here http://www.mulligan.it/it/attrezzatura-da-golf/set-di-ferri/callaway-big-bertha-os-irons-detail.html or here http://www.mulligan.it/it/attrezzatura-da-golf/set-di-ferri/callaway-steelhead-xr-irons-detail.html
have u tested on Protostar template?
More changes may be needed .. I had to replace the JS at the bottom of the template on mine
I tested with Beez3 template and the problem is always the same, so I don't think it's a template issue. I can make the first choice but when I make a secon it stops working... other suggestions?
I found the cause of the problem, now I have to find a solution... the problem is the JCH Optimizer Plugin, if I disable the "combine CSS and Javascript" function, the Multivariant works correctly.
I can exclude single javascripts to be combined but I don't reach the goal, any suggestion? thank you.
Giuseppe
I can believe.. remember on an ajax reload the js needs to be loaded back as calls in the content so the reattach to objects etc,, head calls are ignored
It will be a case of experimenting to find which scripts to exclude - maybe it just won't work.. how much improvement does JCH give?
JCH Optimizer Plugin is the ultimate tool for most case, but have problem to work because VM3 load the script dynamical in the content,so any script working with VM in the header can be broken after dyn update, so to get the best from your site, remove all VM scripts from jch optimiser or add all script and declaration in your template manually.
Another solution if you have some knowledge in javascript is to call yourself dynupdates trigger >updateVirtueMartProductDetail for missing script, if this are preloaded with JCH.
See components\com_virtuemart\assets\js\dynupdate.js for more details.
Thank you for your answers but I think that the possible solutions are beyond my ability. I opened a ticket with jch support to see if they can solve my problem.
Giuseppe