I’m trying to use an add to cart button using the addToCart API. The product to be added to the cart has an option category call “Anti-Aging” with the following 8 options;
“Vitamin A & Vitamin B3 & Coenzyme Q10”, “Vitamin B3 & Coenzyme Q10”, “Vitamin A & Coenzyme Q10”, “Coenzyme Q10”, “Vitamin A & Vitamin B3”, “Vitamin B3”, “Vitamin A”, “None”.
The add to cart button works well for all options other than those containing Vitamin A (e.g. works for option “Vitamin B3”). For any options which include Vitamin A (e.g. Vitamin A & Vitamin B3"), the cart opens on the right hand side of the page, but no product is added.
The url is https://www.giadaskincare.com/quiz-1 and the code I am using is below. Can Wix look into this to try and fix the issue, as it seems like the issue is on Wix’s side?
$w(“#shoppingCartIcon1”).addToCart(“f40e3741-5c56-a54e-f4a8-6ee5ad994200”, 1, {
“choices”: {
“Anti-Aging”: “Vitamin A”, “Rejuvenating & Soothing”: “None”, “Lifting & Firming”: “None”, “Blemish Reduction”: “None” },
“customTextFields”: [{
“title”:“Who is the custom cream for?”,
“value”:“John”}]}
)

