• Resolved bronch

    (@bronch)


    Hello, I am having a problem with the plugin: if I try to add an item to the cart while I am not logged into WordPress, nothing gets added, so the cart constantly remains empty, or, rarely, it adds one random item in the catalog. If the latter happens, and you try to add another item to the cart, the first random item is shown as if nothing more was added, but once you remove the random item from the cart, the second item added gets shown, but as soon you reload the page, or add something else, or try for example to edit the quantity of the second item, the random item gets shown again.
    If I am logged into WordPress instead, everything works flawlessly.
    Right now I have installed the latest WordPress version (5.4.2) and I am using as theme Relia version 1.2.0.
    I am using as shortcode the one suggested in the plugin’s settings page ([show_wp_shopping_cart]).
    The link to the page I provided is just a copy of the real website I am working on, but the problem is the same of the one in the original website.

    Thanks in advance and sorry for bad English. 🙂

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bronch

    (@bronch)

    I think I understood what’s the problem: it’s caused by the caching of the host service, in fact if I delete the blog’s cache, the cart updates successfully (kind of: I have to add to the cart the items, and change the products’ quantity as I want them, then delete the cache and refresh the cart’s page, and it gets shown correctly).
    Now I have tried to disable the caching from the WordPress panel, but it says that it can take up to 3 hours to get disabled, so I will post an update when the 3 hours are passed.

    Thread Starter bronch

    (@bronch)

    Aaaand… yes. I confirm that was the problem and now it is solved.
    Hope it will be useful to other people having this kind of problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cart working only when logged in’ is closed to new replies.