Total Posts: 2
I’m creating my first magento website (hopefully one of many to come)
I’ve created a new module, configured a route and moved some of the custom options to a second page. I have now added a button on the product info page in order for the customer to get to this second page, however I need the button to check the initial custom options (checkbox) has a value and give an error message if not.
In the same way that the add to cart button does if the custom option is ‘required’. However the customer must still be able to add to cart if the option is not checked, they just shouldn’t be able to go to the second custom options page.
I hope this makes sense and any help on this would be extremely grateful.