This topic has 3 replies, 2 voices, and was last updated 8 years, 3 months ago ago by Olga Barlow
Hi
Is it possible to hide the ‘Add to Basket’ button on the single product page if the variation of the product is not selected?
Screenshot: http://screencast.com/t/xY9DG88ctPJ
I have seen this many times in other woocommerce implementations.
Related article: http://stackoverflow.com/questions/29377643/woocommerce-always-showing-add-to-cart-button-even-before-variation-is-selected
Ignore. Found the solution.
In Custom CSS, just add this:
.woocommerce-variation-add-to-cart-disabled {
display:none;
}
It works.
Hello,
I’m glad that you sorted out. Feel free to contact us if you need any other help.
Regards
The issue related to '‘Hide 'Add to Basket' button if Variation not selected’' has been successfully resolved, and the topic is now closed for further responses