• Woocommerce is great, but not so much when it comes to speed. WP Super Cache or Quickcache are perfect, and really speed everything up. The problem I have is a problem with a dynamic Cart URL, which shows the amount that is in the cart. When caching is enabled, the number fluctuates on different pages.

    I use WP Super Cache, enabled everything that the Woocommerce knowledge base said to enable. The cart widget in the sidebar is working fine now, but the dynamic link in my header, just doesn’t work correctly.
    This is the code:

    <li><a href="<?php echo $woocommerce->cart->get_cart_url(); ?>" class="cart-header">Winkelwagen <?php echo sprintf(_n('(%d)', '(%d)', $woocommerce->cart->cart_contents_count, 'woothemes'), $woocommerce->cart->cart_contents_count);?></a></li>

    All I want is that specific part to stay dynamic. Exclude it somehow from the caching plugin. I just have no idea how to do this, or if it’s possible at all.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WooCommerce] Woocommerce and cache plugin issue’ is closed to new replies.