fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

select swatches without “select options” button on shop page

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

Hakik Zaman

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

Hi

Thank you so much for the best support from the best plugin.

Lastly, Is there any way to change the size of one attribute only, while the other attribute size remains same on shop page?

 

Hakik Zaman

Hi ashar,

Glad to know the snippet helped.

If you found my support helpful, could you leave your valuable review here: https://wordpress.org/support/plugin/woo-variation-swatches/reviews/?filter=5

Your rating keeps us inspired.

Lastly, Is there any way to change the size of one attribute only, while the other attribute size remains same on shop page?

Unfortunately, it is not currently available. But it is a great idea, you can send the feature request here- https://storepress.fider.io/

Thank You

Hi,

Is there any way to get a custom qoute from you?

I have tried freelancers and they ruined my site.

Hakik Zaman

Hi ashar,

Unfortunately, currently, we are not taking custom requests. 🙁

Please send a feature request, so that our research team can understand the necessity of this feature.

I hope you will understand.

Thank You