Thanks for trying out our plugin.
I will look into this issue. Just a question, are using Astra theme?
If you are NOT using Astra theme:
Open the file index.php
located in the plugin’s directory /wp-content/plugins/you-save-x-for-woocommerce/
Go to line 203, you will see the following code:
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 20 );
Just comment out that line, like so:
//add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 20 );
I will fix this in the next update.
Thanks, it worked perfectly.
We’re going to be updating the plugin very soon.
I suggest you to use the codes below so that you don’t have to touch the core plugin files again.
So instead of your original code here:
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' );
You change it to the following code instead:
add_action( 'woocommerce_after_shop_loop_item', 'thp_wc_remove_my_action', 19 );
function thp_wc_remove_my_action(){
remove_action('woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 20);
}
Please let me know if you need further help with this or anything at all. Sorry for the inconvenience.