We have added a plugin called "Variation Swatches for WooCommerce" to style the default variation dropdown as variation buttons.
Unfortunately, since then the variation which is out of stock is not showing when the page loads instead it loads when clicking on any of the variation buttons. Please help us sort this The attachment shows exactly how its loading please refer
If the issue persists, please provide your website credentials (wp-admin link, username, and password) or create a development or staging site with identical configurations so that I can investigate further.
Thank you. And I want to enable the add to cart button as the default one, which is active and when no variation is selected, it has to show the error message in the alert box,
Hi,
We have added a plugin called "Variation Swatches for WooCommerce" to style the default variation dropdown as variation buttons.
Unfortunately, since then the variation which is out of stock is not showing when the page loads instead it loads when clicking on any of the variation buttons. Please help us sort this
The attachment shows exactly how its loading please refer
Attached files: Screenshot 2025-06-26 130607.png
Screenshot 2025-06-26 130643.png
Hi Praveen,
Please add the custom code below. (How to add custom code? ↗):
If the issue persists, please provide your website credentials (wp-admin link, username, and password) or create a development or staging site with identical configurations so that I can investigate further.
Best regards,
Dustin
Thank you.
And I want to enable the add to cart button as the default one, which is active and when no variation is selected, it has to show the error message in the alert box,
please refer this product for example: https://esagdemo.com/danah-new/product/ecru-mesh-duster-set/
Please add the custom code below. (How to add custom code? ↗):
https://gist.github.com/wpclever/319077fdb3f4585e7b1862fab5f16883
And the result:
Best regards,
Dustin