Hi Rey,
I have modified the snippet as per your current theme setup. Here is the snippet:
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);
Please check now and let me know how it goes.
Hope to hear from you soon.
Thank You
Archieve Page – Display position – Astra Theme
Rey Cabrera
Hello.
I would like to move the swatches right before add to cart button (look screenshot-1 for clarification).
I am using Astra Theme. You already added a code but now the swatches are after add to cart button.
Please look the screenshot-2 to see how it is looking now.