Add to cart button instead of "select options"
Hello! Please, I need turn this "select options" buttons into an "Add to cart" button on shop page. Any ideas on how to do it?
Reason why: There is no need to "select options" between any variable of my products, because there is only one single variable on each of them. It is important for me to keep them as products with variables to show their color attribute on shop page and single product pages. So, I just need an "Add to cart" button with the only one color variable selected by default.
Comments
Hi,
It is a standard WooCommerce feature. It will work in the same way even when you switch to another theme like Twenty Twenty-Three.
This would require file modifications, but we do not provide help with such customizations. You can also try some plugins for that, but we cannot recommend any other than the one we support:
https://support.muffingroup.com/documentation/bundled-plugins/#compatibility
Anyway, I found the following link:
https://stackoverflow.com/questions/60212849/add-to-cart-functionality-instead-of-select-options-button-behavior-for-vari
I hope it will help you achieve what you want.
Best regards