1

I have created a custom input type for customizable options. Despite it rendering a fairly complex UI element for the user to interact with, all it actually submits when you click "add to cart" is a hidden text field that it populates via JS.

It appears in the "add to cart" form as expected, but when I try to add the product to the cart I receive following error:

"The option type to get group instance is incorrect"

I've searched Google and the only references to this error I can find are in the Magento 2 source code.

I believe it's something to do with Option.php or Options.php, but can anyone point me in the right direction?

  • Just out of interest, why was my question edited to completely ruin the grammar? – Geat May 27 '17 at 22:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.