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

The cart position button is not working in my theme.

The cart position button is not working in my theme FtalSome.

setting.png

 

 

Hakik Zaman

Hi Yana,

Thanks for reaching out to us. Some themes remove default WooCommerce hooks that’s why it may not work as expected.

I have added the following snippet using the Code Snippets plugin:

add_action('woo_variation_swatches_pro_archive_page_loaded', function($wvs_pro){
remove_action('woocommerce_init', array( $wvs_pro, 'enable_swatches' ), 1);
add_action('flatsome_product_box_after', array( $wvs_pro, 'after_shop_loop_item' ), 9);
}, 10, 1);

Please check now and let me know your feedback

Thank You