Why isn't my variant selection changing price on my website?

I’m not sure at what point this stopped working as we have been working on our website for a few weeks. We had orders where this was functional, but at some point the code, or a glitch appeared. I went back to the original code from where we first changed to the Shopify 2.0 enabled theme and it still doesn’t appear to be working, but we DID have orders that this selection box was functional on at some point.

When selecting the board type and style, the price doesn’t change to the set price, and the variant selected doesn’t change above the selection box.

Link to a product for example:

https://www.urban-engravings.com/products/personalized-wood-cutting-board-engraved-wedding-gift-housewarming-gift-custom-wedding-gift-anniversary-gift-engraved-gift-221?_pos=7&_sid=2804ceeb9&_ss=r

If you need this debugged and fixed professionally contact me for pricing, mail info in signature.

Please provide context: post url, detail description, theme name, example urls.

Try testing a preview of separate fresh install of your theme.

There is something wrong with the themes theme.js javascript file:

This error is in the devloper tools console (press f12 key in chrome)

Logged exception (this may happen if you have tried to edit the code without properly adjusting the JavaScript): Expected property name or ‘}’ in JSON at position 4

ALWAYS backup themes before changing files.

You could try transplanting an unmodified theme.js from a fresh install theme to test if that fixes any bad file modifications.

If you have an unmodified original of the broken themes exact same version you could take the two theme.js files and compare them for change using online code diff tools.

If you need this debugged and fixed professionally contact me for pricing, mail info in signature.

Please provide context: post url, detail description, theme name, example urls.

Screenshot of console error for theme.js

Might have a bigger issue…I have installed a fresh untouched version of the same theme and the issue is still present.