Trying to add a simple configurable product where a customer can select a nicotine strength (building site for a vape shop).
I have it all configured correctly (I think) but when I go to the product the dropdown is empty, just says choose an option with nothing in the dropdown? What am I missing?
I figured this out. I had an extension that was loading jQuery and it was already loaded. This was causing all sorts of issues. Disabling the jquery load fixed this and other issues.
So how did you fix this….I am having the same issue.
prototype.js:5653 Uncaught TypeError: element.attachEvent is not a functionobserve @ prototype.js:5653Varien.searchForm.initialize @ js.js:314klass @ prototype.js:101(anonymous function) @ 1153-critters.html:142
prototype.js:5653 Uncaught TypeError: element.attachEvent is not a functionobserve @ prototype.js:5653(anonymous function) @ 1153-critters.html:254
prototype.js:5653 Uncaught TypeError: element.attachEvent is not a functionobserve @ prototype.js:5653(anonymous function) @ configurable.js:75(anonymous function) @ prototype.js:391(anonymous function) @ prototype.js:825each @ prototype.js:824Product.Config.initialize @ configurable.js:74klass @ prototype.js:101(anonymous function) @ 1153-critters.html:296
prototype.js:2304 Uncaught TypeError: Cannot read property 'length' of undefinedElement.Methods.hasClassName @ prototype.js:2304Element.Methods.addClassName @ prototype.js:2310decorateGeneric @ js.js:107(anonymous function) @ 1153-critters.html:425
prototype.js:5653 Uncaught TypeError: element.attachEvent is not a functionobserve @ prototype.js:5653Validation.initialize @ validation.js:98klass @ prototype.js:101VarienForm.initialize @ form.js:35klass @ prototype.js:101(anonymous function) @ 1153-critters.html:451
prototype.js:5653 Uncaught TypeError: element.attachEvent is not a functionobserve @ prototype.js:5653Validation.initialize @ validation.js:98klass @ prototype.js:101VarienForm.initialize @ form.js:35klass @ prototype.js:101(anonymous function) @ 1153-critters.html:526
prototype.js:5734 Uncaught TypeError: element.dispatchEvent is not a functionfire @ prototype.js:5734_methodized @ prototype.js:438fireContentLoadedEvent @ prototype.js:5820
prototype.js:5653 Uncaught TypeError: element.attachEvent is not a functionobserve @ prototype.js:5653Varien.searchForm.initialize @ js.js:314klass @ prototype.js:101(anonymous function) @ (program):3(anonymous function) @ jquery-1.8.3.min.js:2v.extend.globalEval @ jquery-1.8.3.min.js:2(anonymous function) @ jquery-1.8.3.min.js:2v.extend.each @ jquery-1.8.3.min.js:2v.fn.extend.domManip @ jquery-1.8.3.min.js:2v.fn.extend.append @ jquery-1.8.3.min.js:2v.fn.extend.wrapAll @ jquery-1.8.3.min.js:2(anonymous function) @ jquery-1.8.3.min.js:2v.extend.each @ jquery-1.8.3.min.js:2v.fn.v.each @ jquery-1.8.3.min.js:2v.fn.extend.wrapInner @ jquery-1.8.3.min.js:2a.extend.initializePage @ jquery.mobile-1.2.0.min.js:2(anonymous function) @ jquery.mobile-1.2.0.min.js:2l @ jquery-1.8.3.min.js:2c.fireWith @ jquery-1.8.3.min.js:2v.extend.ready @ jquery-1.8.3.min.js:2A @ jquery-1.8.3.min.js:2
https://widgets.zizio.com/js/zutils.js?v=2.0 Failed to load resource: net::ERR_INSECURE_RESPONSE
https://widgets.zizio.com/res/powers/mage/product?v=2.0&p=50ab9ccc0eaa06305f04a039&d=v1.0&l=en_US Failed to load resource: net::ERR_INSECURE_RESPONSE
In my guess I was using a plugin called Age Gate that had an option to load jQuery or not. I went back to the plugin options and disabled jQuery and that fixed it.