Woocommerce Shopping Cart not displaying

Hello,

I’ve recently updated our site and version of PHP. However the the shopping cart is no longer displaying on our Shop page - https://selfhelpafrica.org/ie/shop/

It is still visible on our staging site - https://dev.selfhelpafrica.org/ie/shop/

Can you advise please?

Thanks

Hi There @selfhelpafrica

Thanks for writing in! Could you please try disabling your Autoptimize plugin and re-test your issue again.

If you’re still having issues, could you please try enabling your WP_DEBUG mode and re-visit your page to see if you’re getting any errors. Please refer to the following resource for more information (https://codex.wordpress.org/WP_DEBUG).

For further troubleshooting, you also need to disable your 3rd party plugins and see if you’re encountering a plugin conflict. If the issue is resolved, then you can activate your plugins one by one to see which plugin causing this issue.

If you’re still having issues, please provide us with your WordPress login credentials in a secure note to check your issue further.

Thanks!

Thank you. The Autoptimize plugin settings are disabled and the basket is still not displaying.
Can you advise please?

Hi There @selfhelpafrica

Since you have about 53 active plugins, it’s hard to debug your issue without disabling them and it will affect your live site visitors. Could you please setup another staging area with an exact copy of your live site, so that we should be able to troubleshoot this issue further.

You can follow our migration guide here (https://theme.co/apex/forum/t/cornerstone-content-builder-migration/126).

Also we will require your FTP credentials as well to investigate this issue.

Thanks!

Hello I’ve shared a link to our staging site and ftp details in the secure note.
Thanks

Hello There,

Thank you for the credentials.
I can see the difference between staging and production. Just want to confirm if this staging PHP version the same with production site?

The issue exist on production and then I can see Autoptimize and W3 Total Cache is still active.
There’s no issue on staging and this 2 plugin Autoptimize and W3 Total Cache is not active.
The issue is most probably related to that plugins. This is because, when I copied the actual shopping cart code from production to staging, it displays correctly.

1.) Please try to disable Autoptimize on live.
2.) Also on your shopping cart page, please look for raw content element with this content:

<script>.x-header-landmark {
display: none;
}</script>

That is CSS code not a javascript. It will cause an error.
3.) Clear Cache.

It is important to always clear cache after every update especially is using Autoptimize.

Please let us know how this goes. Thank you.

I will try this, thank you

You’re always welcome @selfhelpafrica!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.