Home Forums WoodMart support forum Cart Item Counter & Cache

Cart Item Counter & Cache

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #655885

    uandi
    Participant

    Hi,

    After a page has been cached with X amount of products in cart, it stays like that (for 1 second) even after adding another item to the cart.

    Let’s say that I visit an archive page with 3 items in the cart. The page will be cached with this value, Then if I add one more item – the Cart item counter will show 3 and then change to 4 (after about 1 second). How can I fix it? How can I delay showing the item counter till it actually finished the calculation?

    Thank you

    #655981

    Luke Nielsen
    Keymaster

    Hello,

    First of all, make sure that the Cart page is not cached, if so, then exclude it from the cache and recheck the issue.

    Let me know the result.

    Kind Regards

    #656185

    uandi
    Participant

    Hello Luke,

    I was referring to the cart icon in the header. The cart page has no issue.

    FYI: I use OpenLiteSpeed for caching with default configuration.

    Isaac

Viewing 3 posts - 1 through 3 (of 3 total)