Why is my variant selector not functioning on Cascade?

Hey everyone, I’m working on the old version of Cascade. I was trying to convert just the product page to the .json version.

The variant selector is no longer working after the convert and I made a mistake of not backing up the old version.

This is the product page: https://oceanspringbed.com/collections/matras/products/kasur-springbed-classical-plus

If theres anything else I can provide to help, please let me know.

Thank you all in advance!

I’ve managed to transfer the 2.0 code from the actual 2.0 version provided by the theme’s developer.

Now I’m now able to add products to cart with a 400 error.

status: "bad_request", message: "Parameter Missing or Invalid",…}
description: "Required parameter missing or invalid: items"
message: "Parameter Missing or Invalid"
status: "bad_request"