Home Forums WoodMart support forum Cart Item Count Cache Support

Cart Item Count Cache Support

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #645718

    adf_david
    Participant

    Is there an option or a way to have the wish list, compare, and cart item count for the header to display the current number for a user while retaining page cache? Right now if the page is cached, the numbers are based on the user who visited the page and had it cached. I know the recently view element can support if the page is cached so I’m wondering if the same can be done for these.

    #645794

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Actually, it has a fragments refresh functionality so it should always display the number of items of the current user even with cache. If it doesn’t work for you, please disable all plugins that are not related to our theme and send us your website access so we can check.

    Kind Regards

    #645985

    adf_david
    Participant

    I did some digging and forgot I had wp_dequeue_script('wc-cart-fragments'); in my functions. Seems to be working as intended now.

    #646010

    Artem Temos
    Keymaster
    Xtemos team

    Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.

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

The topic ‘Cart Item Count Cache Support’ is closed to new replies.