Hi ashar,
Thanks for reaching out to us. Swatches are hooked with Add to Cart button hook.
which customer clicks on any variation product page opens with that variation selected.
Please check this tutorial.
To remove the Add to Cart button. You can try the below Snippet using the Code Snippets plugin or inside your child theme’s functions.php–
function wvs_hide_cart_button(){
add_filter('woocommerce_loop_add_to_cart_link', '__return_false');
}
add_action('init', 'wvs_hide_cart_button');
If your theme followed the WooCommerce shop loop structure, the above snippet will work.
Thank You
select swatches without “select options” button on shop page
muhammad muneeb
Hi,
Is this possible to select products variations without “add to cart” or “select options” button
i-e. which customer clicks on any variation product page opens with that variation selected.
I am using kava theme and crocoblock