Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Adding Conditional Button for Custom Options on Product Info Page
 
adams_force9
Jr. Member
 
Total Posts:  2
Joined:  2013-01-16
 

Hi,

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.

Many thanks,
Matt

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top