First of all, thank you for reading this post.
I am working on a client’s website where I have to deal with 6 custom product options.
I am new to custom product options so I thought I’ll do a test run with the following code:
the page- https://www.theboxkeeper.com/diwali-box
The 6 test product options:
- Diya- Diya, No Diya
- Cush- Cush, No Cush
and so on…
The problem I’m facing is that I run the above code, the console logs “Product added” but the cart is still empty. I have checked and rechecked the following and there are no errors-
- Product Code
- Product options and the option names.
There are no custom text fields in the product.
Any help is appreciated. Can’t wrap my head around where exactly I am going wrong, been at it for hours really. I’ve read all examples and code references.