• Resolved elainewildash

    (@elainewildash)


    Noticed that the items in the basket and cart total on the Home page (top right hand side) are not updating when items are in the basket.

    The items in the cart and the cart total at the top right hand corner of the page shows as Items in basket: 0 Total : £0.00 on the Home page and some other internal pages even when products have been added to the basket. If you click through to the cart the number of items in basket and the total updates, click back to the Home page and it goes back to £0.00.

    Is this a cache issue with LiteSpeed? If so is there anyway to stop it caching the total.

    Note: the cart/checkout page show the correct number of items and total.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please provide the report number?

    Best regards,

    Thread Starter elainewildash

    (@elainewildash)

    Hi,

    Just generated: Report number: ZTLZCFRC

    Thanks.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Per our policy, We don’t really provide support with websites that running on certain type of content.

    But as a generic solution , please try:

    1. Enable ESI

    2. edit .htaccess file

    find

    <IfModule LiteSpeed>
    RewriteEngine on
    CacheLookup on
    RewriteRule .* - [E=Cache-Control:no-autoflush]

    replace it to

    <IfModule LiteSpeed>
    RewriteEngine on
    CacheLookup on
    RewriteRule .* - [E=Cache-Control:no-autoflush]
    RewriteRule .* - [E=Cache-Vary:woocommerce_cart_hash]

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with Cart Total (on everything except cart and checkout)’ is closed to new replies.