Tagged: add to cart, button, CSS, shop, woocommerce
Hey Guys,
I just did the woocommerce update and have noticed the add to cart button is always on the product page now?
It used to only show when the user clicked a size in the dropdown box, and only if the item was in stock.. Now it just shows all the time.
Any ideas?
Hi mellypenny!
WooCommerce has done some changes.
Please be patience till we release our latest version.
Cheers!
Basilis
Hi Basilis!
Do you know roughly when it will be released? Is there a way to convert my update back until then?
Thanks!
Hi!
The button is visible but you can’t click on it because it is disabled. It will be enabled once you select an option. If you want to hide it by default, add this in the Quick CSS field:
button[disabled="disabled"] {
display: none !important;
}
Regards,
Ismael
Thankyou! Do you also know how to hide the quantity button and extra price that shows below the dropdown by default?
Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.woocommerce-variation-price,.single .quantity {
display: none !important;
}
Best regards,
Yigit
Hi Yigit!
Thanks so much! That worked for the extra price and quantity button, but i would like the quantity button to appear once a size in the dropdown has been chosen. Can we do that?
Hi!
no, that would not be easily possible. You would need to show it again (remove Yigit’s code from previous post).
Best regards,
Andy