My product (id 1234) has one custom options, called colors. The id of colors is 1234567, its a drop down and it has several options, like yellow, red and black.

Now I am trying to add that product including its custom option "yellow" with id 5678 to the cart, like this:


This always results in the "There are missing custom options" error in the cart. Why? Whats wrong with my approach?


1 Answer 1


it works nicely for me like this:


If I replace {value_here} with an id of a custom option value that does not exist, the product still gets added to the cart, but I get an error message that the custom options are missing. Just like you get.
It means that 5678 in your case is not a valid value.
Look in the product page source at the value attribute of the option you are trying to use.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.