Hi Abdullah,
Thanks for reaching out to us. Please try the following snippet using a plugin called Code Snippets:
add_action('woo_variation_swatches_pro_archive_page_loaded', function($wvs_pro){
remove_action('woocommerce_init', array( $wvs_pro, 'enable_swatches' ), 1);
add_action('astra_woo_shop_add_to_cart_before', array( $wvs_pro, 'after_shop_loop_item' ), 30);
}, 10, 1);
Note: It will not work inside your theme’s functions.php file. Because theme functions.php runs before the plugin hooks.
Hope to hear from you soon.
Thank You
shop page variation swatches error
Abdullah Shahbaz
I use your plugin with astra pro theme .When i enable the variation on shop page it can show above the title which is distructive to me How can i solve this??