cancel
Showing results for 
Search instead for 
Did you mean: 

ReferenceError: opConfig is not defined on product page with custom options

ReferenceError: opConfig is not defined on product page with custom options

We have a store that is running Magento CE 1.9.3.1 and we have a product that has custom options.  On the product page when you select one of the custom options, the price does not update, and you are unable to add the product to the cart.  I checked the browser console and the following error message comes up whenever you click on the radio button.

 

ReferenceError: opConfig is not defined

 

Here is the link if anyone wants to take a look: https://www.airqualitysolutions.com/honeywell-popup2025-pleated-popup-20-x-25-x-6-filter-media-repla...

 

Any ideas on how to fix this? I've been doing some googling before posting this but I can't really seem to find a solution.

3 REPLIES

Re: ReferenceError: opConfig is not defined on product page with custom options

Hi @adamnicholls85,

 

Can you try using the RWD theme? The idea is to understand if the problem is on some module or your theme.

It seems there is a javascript error:

Área de trabajo 1_005.png

 

 

 

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: ReferenceError: opConfig is not defined on product page with custom options

Yeah it definitely seems like a Javascript error.  I tried switching over to the rwd theme on my local copy of the site and we're having the same issue.

Re: ReferenceError: opConfig is not defined on product page with custom options

Hi @adamnicholls85,

 

So maybe there is a module adding some block or javascript file that generates de error?

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"