Home Forums WoodMart support forum Shopping Cart Issue – Cart Appears Empty and Unexpected Redirect

Shopping Cart Issue – Cart Appears Empty and Unexpected Redirect

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #727418

    bala_vlad
    Participant

    Hello,

    We are currently experiencing an issue with the shopping cart on our website.

    When we add a product to the cart, everything works correctly and the product appears as expected. However, if we then navigate to any other page on the website and click on the cart icon, where the added product should normally be displayed, the cart appears blank/empty.

    Have you encountered this issue before? Do you know what might be causing it and how we can resolve it?

    As a temporary workaround, our colleagues have created a JavaScript script that forces the product to be displayed in the cart. This partially solves the issue, although the product appears with a delay of approximately one second. We will keep this script active until you can help us find a proper solution.

    We are also experiencing a second issue while this temporary script is active. If we add a product to the cart, navigate to another product page, and then click on the cart icon, instead of opening the cart preview, we are sometimes redirected to the full shopping cart page.

    We believe the second issue may be related to the temporary JavaScript workaround. Therefore, it is possible that resolving the original cart issue will automatically resolve the second issue as well.

    Could you please investigate the original issue and advise us on how we can properly resolve it?

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #727457

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Thank you for contacting WoodMart Support. We’ll be happy to assist you with your request.

    Before we continue, we have one quick question for you:

    Where did you first hear about WoodMart?

    We really appreciate your help with this. It takes just one click, but your answer is extremely valuable to us and helps us understand how customers discover WoodMart:
    https://tally.so/r/rj8qWl

    Now, let’s get back to your request. We understand that the product is added to the cart correctly, but after navigating to another page, the cart widget appears empty when opening the cart icon.

    This can be related to the WooCommerce cart fragments/AJAX refresh or caching/optimization, so we would like to investigate the issue directly on your website.

    Please provide us with admin access so we can reproduce the issue and check the cart AJAX requests, caching configuration, and the current JavaScript workaround.

    Best Regards

    #727585

    bala_vlad
    Participant

    Hello,

    Unfortunately, we cannot remove or disable the cart script created by our developers on the live website while the issue is being investigated, especially during business hours. Doing so could significantly affect our operations, as we receive dozens of orders and hundreds of visitors every day.

    For this reason, we have provided you with access to our test website, which is identical to the live website. The script has already been removed there, and we have also created an administrator account for you so that you can investigate the issue and test the necessary changes without affecting the live website.

    If you have already identified the cause of the issue and know how it can be resolved, please send us the necessary instructions and we will apply the fix to the live website.

    Alternatively, if you believe that you need to implement the fix directly on the live website, we can provide you with temporary administrator access so that the issue can be resolved as quickly as possible. However, we would prefer to provide access to the live website only after the issue has been successfully identified and resolved on the test website.

    Please let us know once you have tested the issue and found a solution.

    Thank you for your assistance.

    Best regards,

    #727598

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    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 so I will check and give you a possible solution.

    Best Regards.

    #727638

    bala_vlad
    Participant

    This is not helping :))

    i deactivated all the plugins and the cart is still not working.

    #727669

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Your issue has been resolved. I have tested the issue by activating the WoodMart parent theme, and the mini cart is working correctly. The added product is displayed properly in the cart preview after navigating to another page.

    This indicates that the issue is likely related to the child theme/customizations or custom code, rather than the WoodMart theme itself. Please check back your site and verify the issue.

    See the video for clarification: https://streamable.com/64nvg0

    Best Regards

    #727681

    bala_vlad
    Participant

    Hello,
    Yes, i can confirm it. I see that u solved the problem.

    Thank you very very much!!!

    Can u solve it now on our maine website pls or tell us exactly the steps to solve it?

    Thank youu!

    #727699

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    You’re welcome!

    I have activated the WoodMart parent theme on your site, and the mini cart is now working correctly.

    You can apply the same solution on the live website by checking the child theme and its customizations, as the issue is coming from the child theme.

    Best Regards

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