I recently added Woocommerce to my blog. The cart and checkout loaded when I am signed in as an admin but not loading when I am a guest.
From what I understand, you’re experiencing issues with your WooCommerce cart and checkout not loading when you’re not signed in as an admin. I’ve inspected your website and was able to replicate the issue. It appears that there are several JavaScript errors that might be causing this problem.
The errors suggest that there are issues with Cross-Origin Request, undefined variables, and issues with the WooCommerce blocks. These could be caused by various factors including plugin conflicts, theme conflicts, or incorrect settings.
Here are a few steps you can take to troubleshoot this issue:
Update your system: Make sure that your WordPress, WooCommerce, and all plugins are up to date.
Check your settings: Ensure that your settings are correctly configured. This includes your WooCommerce settings as well as your general WordPress settings. If you need help with this, here’s a handy guide on ?? Configuring WooCommerce Settings.
Check your plugins: Deactivate all plugins except WooCommerce and see if the problem persists. If it does not, activate your plugins one by one to identify the one causing the conflict.
Check your theme: Switch to a default theme like Twenty Twenty or Storefront and see if the issue still exists. If it doesn’t, the problem might be with your theme. Here’s a handy guide on testing for conflicts: ?? How to Test for Plugin and Theme Conflicts.
If none of these steps work, could you please share your site’s System Status with us? It will give us a better understanding of your site’s setup and help us identify the problem. You can find it via WooCommerce > Status. Select Get system report and then Copy for support.
Also, if there are any fatal error logs, please share those with us as well. You can find them under WooCommerce > Status > Logs.
Once you’ve gathered this information, please paste it inside a Code block in your reply, or use https://pastebin.com to paste it and share the link with us.
Thanks for your patience and cooperation in this matter! We’re here to help you get this sorted.
I deactivated all plugins and re-activated the plugins one by one and found the Speed Optimizer plugin provided by SiteGround was the cause. Not sure if I need to keep the Speed Optimizer or not by my host, SiteGround.
I deactivated all plugins and re-activated the plugins one by one and found the Speed Optimizer plugin provided by SiteGround was the cause. Not sure if I need to keep the Speed Optimizer or not by my host, SiteGround.
Thank you for your update and for taking the time to troubleshoot the issue.
It’s great to hear that you were able to identify the Speed Optimizer plugin as the source of the problem. This plugin is indeed provided by SiteGround and is designed to improve the performance of your website. However, as you’ve discovered, it can sometimes conflict with other plugins, such as WooCommerce.
While it’s beneficial to have your site optimized for speed, it’s not worth it if it’s causing essential functions like your cart and checkout to fail. You have a couple of options:
You can reach out to SiteGround’s support and let them know about the conflict. They may be able to help you configure the plugin in a way that won’t interfere with WooCommerce.
If that doesn’t work or isn’t feasible, you may consider using a different speed optimization plugin. There are many available that are compatible with WooCommerce. Just make sure to test thoroughly after installing to ensure there are no conflicts.
Remember, the performance of your website is important, but the functionality of your WooCommerce store is crucial.
Please let us know if you need further assistance or if you have any other questions. We’re here to help!
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘cart and checkout not loading’ is closed to new replies.