Hi!
I faced an error during my store customization and I'm pretty much stuck on it for a very long time.
Setting up the "Add to cart" button, I decided to try adding to the cart a pre-prepared product, which has only 2 options - big size and small size. I managed to write a simple code, but for some reason this error keeps appearing:
I double checked the variants and tried to change them but the error was always the same. And I also managed to add the product to the cart but only after I removed all the variants completely.
I would be extremely grateful if you could help with this error and sorry in advance if the solution is simple. I'm just not very familiar with programming.