Title: Not functioning properly
Last modified: September 4, 2022

---

# Not functioning properly

 *  Resolved [coinxxpress](https://wordpress.org/support/users/coinxxpress/)
 * (@coinxxpress)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/not-functioning-properly/)
 * Nice plugin, but I have a issue with it’s compatibility with some features from
   booster for woocommerce and each time it’s activate my snippet remove_action(‘
   woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’); 
   stop working. Is there any way this could be fixed.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [10Horizons Plugins](https://wordpress.org/support/users/tentenbiz/)
 * (@tentenbiz)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/not-functioning-properly/#post-15977311)
 * Thanks for trying out our plugin.
 * I will look into this issue. Just a question, are using Astra theme?
 *  [10Horizons Plugins](https://wordpress.org/support/users/tentenbiz/)
 * (@tentenbiz)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/not-functioning-properly/#post-15977516)
 * 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.
 *  Thread Starter [coinxxpress](https://wordpress.org/support/users/coinxxpress/)
 * (@coinxxpress)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/not-functioning-properly/#post-15977735)
 * Thanks, it worked perfectly.
 *  [10Horizons Plugins](https://wordpress.org/support/users/tentenbiz/)
 * (@tentenbiz)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/not-functioning-properly/#post-15998607)
 * 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.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Not functioning properly’ is closed to new replies.

 * ![](https://ps.w.org/you-save-x-for-woocommerce/assets/icon-256x256.png?rev=3286145)
 * [You Save for Woocommerce](https://wordpress.org/plugins/you-save-x-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/you-save-x-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/you-save-x-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/you-save-x-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/you-save-x-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/you-save-x-for-woocommerce/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [10Horizons Plugins](https://wordpress.org/support/users/tentenbiz/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/not-functioning-properly/#post-15998607)
 * Status: resolved