Home Forums WoodMart support forum The cart page is empty if not signed in, while the cart widget works.

The cart page is empty if not signed in, while the cart widget works.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #496120

    profarveta
    Participant

    Hello!

    Issue: When a user is not signed in, the solo cart page shows no products, redirecting to the store. Note that there is a product in the cart widget, that works as expected.
    https://ibb.co/z6yXwvv

    Expected: When a user is signed in, the cart page displays correctly(with products).
    https://ibb.co/BgpyJTW

    Please help resolve this issue. Thank you!

    • This topic was modified 1 year, 2 months ago by profarveta.
    #496340

    Hello,

    There is an issue with the 3rd party plugins. Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.

    Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and let me know I will check and give you a possible solution.

    Best Regards.

    #496488

    profarveta
    Participant

    Hello, after deactivating all 3rd party (All except Woodmart Core and Woocommerce) plugins, the issue still persists. Thank you for looking into this.

    https://ibb.co/9HH3SWY

    #496519

    Hello,

    Can you please share the WP admin login details of your site so I will check and give you the possible solution.

    Best Regards.

    #496673

    profarveta
    Participant

    Sure thing, details have been provided, thank you.

    #496886

    Hello,

    Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?

    Regards.

    #497136

    profarveta
    Participant

    Changed to Twenty Twenty and the behavior is the same. So probably not a theme issue, could you at least indicate where to begin to figure this out (with woocommerce?). Thank you for your time and assistance.

    #497137

    profarveta
    Participant

    Hello, I believe I’ve identified the issue and a potential workaround. My hosting provider is WP Engine and by default:

    “WP Engine make extensive use of caching, excluding pages where this is not desired, like the cart or checkout page. They do this for the default paths (/cart, /checkout).”

    https://stackoverflow.com/questions/31533606/woocommerce-cart-empty-for-non-logged-in-users#:~:text=This%20kind%20of%20problem%20is,all%20plugins%20except%20for%20WooCommerce.

    confirmed here:
    https://wpengine.com/support/best-practices-ecommerce-sites/

    It appears that the problem stemmed from my decision to change my page name and url from “cart” to “carrito.” This change likely disrupted WP Engine’s caching, leading to the mismatch. Fortunately, after restoring the page name and URL to “cart,” the issue seems to be resolved.

    I want to extend my apologies for any inconvenience this may have caused and express my gratitude for your assistance. Thank you for your support!

    #497252

    Most Welcome!!!.

    I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.

    We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

Tagged: 

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

The topic ‘The cart page is empty if not signed in, while the cart widget works.’ is closed to new replies.