Viewing 11 replies - 46 through 56 (of 56 total)
  • Here is my config.

    Hope this helps someone.

    Click Here for config

    Thanks @gethooked23 I appreciate the post. Just might save many others from headaches.

    Take Care

    Have any of you guys had problems with the Remove Item from cart not working?
    Or any clues as to an answer maybe?

    @Mezloh.
    Would you mind to share the setting, please ??
    Thank to all of you …
    Regards

    @toniodobrasil the configuration setting are in the download link in the post by @gethooked23 right above mine

    T

    I have placed the zip file back onto my site.

    Remember, I am using Cloudflare and Maxcdn with W3TC

    Click Here For Config

    I hope it helps some of you.

    Hello,
    I installed w3 (latest) and woo commerce (1.6) and setup the required exception pages. All seems to be working fine.
    Except woocommerce_mini_cart in the home page and other pages are cached so it does not update when an item is added.

    Does anyone know a workaround for this.

    Appreciate your help

    @riy you may want to look at the PRO version of W3, it has fragmented caching and is what you are likely looking to implement to resolve cart/quantity caching issues

    https://www.w3-edge.com/weblog/2013/09/w3-total-cache-pro/

    Thank you for the reply. I will look into the pro version.

    I go to add _wc_session_ (or wc_session_ or _wc_sessions_ … I’ve seen several suggestions) to the database cache – ignored query stems field. After clicking Save All Settings, the page refreshes to my homepage but none of the changes are ever saved.

    Thanks to emielm, james and gabrielstuff for their excellent advice on this issue. I followed all instructions and got everything working as it should providing that I specifically set cache-control in the browser cache settings page to “private, no-cache, re-validate” for every page. Even then I still had the occasional problem where an item was added to the basket but when you went to the cart it was nowhere to be seen!

    To solve this issue I would recommend unchecking “Enable AJAX add to cart buttons on archives” in Woocommerce settings in the catalog menu.

    This will force the page to refresh when an item is added to the basket and the url will have “?added-to-cart=12345” at the end of it. It is not as slick as adding items via Ajax (without a page refresh) but it works! I’ve tried adding many items from different pages, deleting items, refreshing the page, changing quantities, pretty much everything possible to break the basket but cannot.

    The added bonus is once you have done this you can then re-enable cache-control in the browser cache settings. To be on the safe side I have set mine to “public, must-revalidate, proxy-revalidate” but you might be able to get “expires with max-age” working. Make sure you have also unchecked “Cache URIs with query string variables” on the Page Cache settings page.

    Providing that you have followed the other steps mentioned before this then you should notice a real benefit. The ultimate setup would be to use fragment caching but I haven’t experimented with this yet.

Viewing 11 replies - 46 through 56 (of 56 total)
  • The topic ‘W3 and WooCommerce / Shopping Carts’ is closed to new replies.