Walrus Posted December 20, 2015 Share Posted December 20, 2015 I have managed to add two combinations and a null (i.e., Choose) item and made it the default. Problem is unless customer chooses one item, the default automatically gets added to the order! Is it possible to disable the 'Add to Cart' button until customer chooses one of the items? Showing a tooltip on hover would also help, or throwing a warning on the page. Does anyone know how to modify the product page to enable this very useful modification? TIA. Link to comment Share on other sites More sharing options...
SLiCK_303 Posted December 20, 2015 Share Posted December 20, 2015 In BO, preferences>products then down a ways, in Product Page, there is an option for just that. Link to comment Share on other sites More sharing options...
Walrus Posted December 20, 2015 Author Share Posted December 20, 2015 Thanks, BO, but that option is supposed to hide the button when combinations are present but it doesn't do so on the product page (am also using a custom theme but am pretty sure same behaviour applies). What I'm after is for the button to be "disabled" when combinations are present, but enabled when a combination value is selected on the product page. This way, the customer is forced to choose what is added to the cart, instead of the merchant by selecting a default. Link to comment Share on other sites More sharing options...
SLiCK_303 Posted December 20, 2015 Share Posted December 20, 2015 (edited) I see what you're saying, however as far as the system is concerned, when you are looking at the product itself, options are already picked, so it shows the button. I am clueless on how to do what you want, it would take some coding, and it's outta my paygrade. Hopefully someone else can help..... Edited December 20, 2015 by SLiCK_303 (see edit history) Link to comment Share on other sites More sharing options...
Walrus Posted December 20, 2015 Author Share Posted December 20, 2015 The problem is Prestashop forcing you to select an option, so button is enabled, not providing a null menu, similar to countries menu, and not disabling button when choises are included. Sure all of that can be fixed with a few lines of code, says someone who has no coding skill whatsoever... Link to comment Share on other sites More sharing options...
Attrexx Posted December 16, 2016 Share Posted December 16, 2016 Humble bump? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now