• Resolved leros2004

    (@leros2004)


    Hi to all, from yesterday i am facing a problem with the shopping cart.
    I use flatsome as a theme.
    The problem is when i add to cart a product as a non-logged-in user, the product is correctly added, i can see it in the top right corner that is added, but if i click to view the cart, the cart is currently empty. If i click the checkout button everything is there and correct.
    I tried to exclude the caching of the shopping cart by adding the: /cart/ to the Do Not Cache URIs field but nothing changed.
    If i am logged as admin everything works flawlessly
    Any advice?

    • This topic was modified 2 years ago by leros2004.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • serpentdriver

    (@serpentdriver)

    I tried to exclude the caching of the shopping cart by adding the: /cart/ to the Do Not Cache URIs field but nothing changed.

    Did you purge the cache?

    Thread Starter leros2004

    (@leros2004)

    Yes i also tried the Empty Entire Cache from the toolbox section.

    Thread Starter leros2004

    (@leros2004)

    Update: I figured it out !
    I noticed that even if i disable the translatepress plugin the shopping cart was still in 2 languages.
    So i believed that something was stuck in the cache.
    I restart the server, nothing changed.
    So i gave it a try through the command line and with this: rm -rf /usr/local/lsws/cachedata/*
    Now everything is working OK.

    One last question: The Empty Entire Cache command in the toolbox section, is it suppose to clear everything in the cache data folder ?

    serpentdriver

    (@serpentdriver)

    One last question: The Empty Entire Cache command in the toolbox section, is it suppose to clear everything in the cache data folder ?

    It doesn’t empty the cache dir, but cache is purged. This is the recommended way to purge the cache.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cache problem with shopping cart’ is closed to new replies.