Title: Problems With Woocommerce Additional Plugins
Last modified: May 29, 2022

---

# Problems With Woocommerce Additional Plugins

 *  Resolved [karamakhras](https://wordpress.org/support/users/karamakhras/)
 * (@karamakhras)
 * [4 years ago](https://wordpress.org/support/topic/problems-with-woocommerce-additional-plugins/)
 * I have a plugin that shows a discount bar and calculates the discount based on
   the amount that is added to the cart, although when I use the cache system it
   breaks.
    Is there a way to disable this plugin from getting cached? or disabling
   the whole woocommerce caching if that is not possible? Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblems-with-woocommerce-additional-plugins%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [karamakhras](https://wordpress.org/support/users/karamakhras/)
 * (@karamakhras)
 * [4 years ago](https://wordpress.org/support/topic/problems-with-woocommerce-additional-plugins/#post-15689992)
 * [https://wordpress.org/plugins/sv-disper-bar/](https://wordpress.org/plugins/sv-disper-bar/)
 *  Thread Starter [karamakhras](https://wordpress.org/support/users/karamakhras/)
 * (@karamakhras)
 * [4 years ago](https://wordpress.org/support/topic/problems-with-woocommerce-additional-plugins/#post-15689997)
 * Problem is only with page cache
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years ago](https://wordpress.org/support/topic/problems-with-woocommerce-additional-plugins/#post-15691412)
 * Hello [@karamakhras](https://wordpress.org/support/users/karamakhras/)
 * Thank you for reaching out and I am happy to assist you with this.
    I’ve checked
   your website, and I see that Page Caching is active. I’ve tried to add the products
   and get to the 10% discount and everything is working as expected. The bar fills
   to 10% and once I click on the checkout, the 10% discount is added.
 * Can you please confirm you are still experiencing the problem?
    Thanks!
 *  Thread Starter [karamakhras](https://wordpress.org/support/users/karamakhras/)
 * (@karamakhras)
 * [4 years ago](https://wordpress.org/support/topic/problems-with-woocommerce-additional-plugins/#post-15694577)
 * Thank you for your quick respond!
    I have disabled the cache for the shop page,
   I will enable it to make it viewable by your side.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years ago](https://wordpress.org/support/topic/problems-with-woocommerce-additional-plugins/#post-15694951)
 * Hello [@karamakhras](https://wordpress.org/support/users/karamakhras/)
 * Thank you for your reply.
    Yes, I can see that once the page is reloaded the 
   discount does not change. As per WooCommerce suggestion, the shop page should
   be excluded from caching. However, there are some things that you can try besides
   that. The best solution would be if that discount bar could fire with ajax, however,
   I am not sure if the plugin you are using has that ability. You can also try 
   to disable expires header and cache-control header for HTML&XML in Performance
   >Browser Cache, to avoid the page being cached in the browser and see if that
   helps! Alternatively, the solution is to use Page Fragment Caching and use `<
   mfunc>` to war the PHP code in the specific template and exclude it from the 
   Page Caching. You can check more details about [Page Fragment Caching in our FAQ](https://github.com/W3EDGE/w3-total-cache/wiki/FAQ:-Developers#what-is-page-fragment-cache).
 * I hope this helps!
 * Thanks!
 *  Thread Starter [karamakhras](https://wordpress.org/support/users/karamakhras/)
 * (@karamakhras)
 * [4 years ago](https://wordpress.org/support/topic/problems-with-woocommerce-additional-plugins/#post-15700605)
 * Thankyou so much! I will try them out 🙂

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

The topic ‘Problems With Woocommerce Additional Plugins’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 6 replies
 * 2 participants
 * Last reply from: [karamakhras](https://wordpress.org/support/users/karamakhras/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/problems-with-woocommerce-additional-plugins/#post-15700605)
 * Status: resolved