Hi,
I have a product with a few cart variants. The product has a dropdown to add a cart variant and radio buttons to also add cart variants. The dropdown doesn't work at all. If I hide the dropdown one in the backend the radio buttons ones work but if I display the cart variant in a dropdown any of them work. I check out the inspector tool and when the dropdown is displaying there is the following error:
chosen.jquery.min.js?vmver=1ad263b7:1 Uncaught TypeError: Cannot read property 'msie' of undefined
at n.fn.init.chosen (chosen.jquery.min.js?vmver=1ad263b7:1)
at HTMLSelectElement.<anonymous> (12redroses.html:1402)
at Function.each (jquery.min.js:2)
at n.fn.init.each (jquery.min.js:2)
at Object.Virtuemart.updateChosenDropdownLayout (12redroses.html:1401)
at HTMLDocument.<anonymous> (12redroses.html:1406)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.K (jquery.min.js:2)
If i turn off the dropdown the radio buttons work as I said.
Any idea how to fix it?
Thanks
Hi,
I found the solution. I disabled the following options in the backend:
Using the Script ajax Countries / Regions
Use jQuery chosen for dropdowns in FE
Thanks
what versions?
It seems to be the chosen select stuff.. have u tested with the "Use jQuery chosen for dropdowns in FE" unchecked?
the msie refers to $browser detection which is removed in the later jquery
Do the e.g. country selects work with chosen?
ah.. you beat me to it.. I would assume your versions are out of date