Not Added There Was a Problem Adding This Item to Cart. Please Try Again Later.

For some reason, sometimes you lot add products to cart merely the cart page stays empty (even if you can conspicuously encounter the cart widget has products in it for example).

But don't worry – it may just exist a simple cache effect (and if you lot don't know what enshroud is that'south no problem either) or a theme / plugin "disharmonize".

The WooCommerce Cart page is extremely delicate; it displays dynamic content based on cookies and PHP sessions, is coded with PHP only also JS and Ajax, requires to be excluded from enshroud and is subject to problems in case of out of engagement software.

So, here's your "Empty Cart" troubleshooting checklist you tin can follow without any technical knowledge.

I besides recommend you read through the (many) comments, considering many developers shared what worked for them besides. Good luck!

Fix 0. Update WordPress & WooCommerce

This is not even considered a fix because I requite for granted your website is running on latest WordPress and WooCommerce. If that'south non the case, well, there's no point you keep troubleshooting, because once you lot report a potential plugin / theme / hosting / whatever bug that y'all think is breaking the Cart, the support team volition ask you to upgrade WP and WC before considering your issue. Only so you know!

Fix 1. Think about what you changed earlier the mistake occurred

Perhaps you lot installed a new plugin? Or updated your theme? Or even you customized WooCommerce with a custom adult snippet. Perchance, WordPress autoupdated.

If you proceed a changelog of all your WooCommerce website changes and compare that to the date the Empty Cart error started, y'all can possibly identify quickly what the upshot is, without having to follow the next steps.

If that's the case, just uninstall the plugin you installed, or "rollback" / downgrade your theme to the previous version, or remove your custom snippet. That's probably what'south causing your problem.

If not, go along going with your set attempt.

Gear up 2. Temporary disable all plugins except WooCommerce

This is a typical troubleshooting operation. You lot won't lose whatever plugin information or settings and you volition exist able to bulk activate all previously enabled plugins in a few seconds.

And then, majority disable all plugins and run into if the Cart is dorsum performance.

If the Cart now fills upward with products, well, that'south a wonderful news. One of the plugins is responsible for causing the Empty Cart issue.

Now simply reactivate 1 plugin at a time and test the Cart afterwards each fourth dimension. As soon every bit the Cart stops filling and is empty, well, the plugin y'all only reactivated is the "guilty" one – yay!

Disable that plugin. See if, for some reason, you've missed the latest update. If that'southward not the instance, well, report the issues to the plugin programmer (in case it's not fixed asap, go find an alternative).

Fix 3. Temporarily switch to 2020 theme (or similar)

This is to prove the error is not theme-related. If deactivating plugins did not aid, well, a Cart disharmonize may be created by your current theme.

Y'all won't lose whatever theme settings if you temporarily switch to another theme, so don't worry – you volition get all your widgets, menus, customizer settings and options back once you reactivate your current theme.

Outset of all, if you're using a child theme, temporarily switch to the parent theme and exam the Add to Cart / Cart functionality. This is to exclude bug in your child theme.

If that doesn't exercise the trick, switch to 2020 theme, Storefront theme or whatever default WordPress theme you find in the nigh pop themes tab.

If the fault goes away, kickoff check if yous missed out on a contempo update (mostly premium themes may not evidence WP Admin notices when an update is available). And then, contact your theme developer and written report the bug.

If the mistake doesn't go away when switching the theme, and so you have some other things to check if you wish to fix the Empty Cart mistake.

Fix 4. Brand sure Theme, WooCommerce & WordPress are using "compatible" versions

When y'all update a WordPress plugin, you lot will run into a little notation inside the upgrade box – "Compatibility with WordPress X.Y.Z: 100% (co-ordinate to its author)":

Version Compatibility

There is no betoken to update WooCommerce (or another plugin), if it hasn't been tested with the latest WordPress version yet.

The same applies to updating plugins that depend on WooCommerce. In that location is no point in updating a premium WooCommerce extension if it hasn't been tested for the WooCommerce plugin version your website is on. In fact, before whatsoever major WooCommerce plugin update, y'all should meet this:

Major WooCommerce Plugin Updates

In the example above, there is no indicate to update WooCommerce, because "WooCommerce Give Products" and "WooCommerce Product Add-ons" plugins have been tested only upwards to WooCommerce 2.half dozen.0. In this example, you'd need to await until those two plugins updates are released. But then you go and update WooCommerce.

You should consider the same exact thinking when updating your WordPress theme. Sometimes theme developers require a few days before they can adapt to the new WooCommerce changes (if major) and become 100% compatible. Then, one time again, make sure WordPress, WooCommerce, WooCommerce Extensions and Theme versions are in sync.

Prepare five. Make sure in that location is no "red font alert" nether WooCommerce > Status

The most important things to cheque in the System Status page are making sure all your "WC Pages" are correctly set, that the Cart page contains the right shortcode and is publicly available, and that your theme has no out of date WooCommerce template overrides.

WooCommerce System Status OK
WooCommerce Arrangement Condition OK

Fix 6. Try clicking these buttons under WooCommerce > Status > Tools

By and large the "Articulate customer sessions" i tin usually help y'all troubleshoot Cart problems (too as shipping calculations issues, merely and then you know).

WooCommerce: fix the cart is empty issue
Clear Customer Session @ WooCommerce Status

Fix 7. Salvage (flush) your permalinks

Go to WordPress > Settings > Permalinks and click on the "update" button without changing anything. This should flush the permalinks and requite you lot a gamble to exam the cart again.

Gear up eight. Check yous have no spaces in your checkout endpoints

Get to WooCommerce > Settings > Advanced > Checkout Endpoints and make certain yous have no spaces in your endpoint URLs. This happened to a client of mine a while ago and information technology took me ages to find out information technology was causing the empty cart upshot.

WooCommerce Checkout Endpoints
WooCommerce Checkout Endpoints

Fix 9. Properly set up your cache (plugin or server-side)

Cart, Checkout and My Account pages should never exist cached because they display dynamic content.

If your WordPress cache plugin is for some reason caching these WooCommerce pages, your cart will probably show every bit empty. Make sure to select a WooCommerce-uniform cache plugin or one that allows you lot to add together "enshroud exclusion URLs".

If that doesn't do the pull a fast one on, exist aware yous may also have server-side enshroud! So, yes, ask your hosting provider to disable or properly ready server-side enshroud by excluding the Cart. Checkout and My-Business relationship URLs.

Some hosts rely on their own cache systems such as Varnish and this is sometimes applied to your website by default. Create a ticket or give them a quick telephone call to find out if they take annihilation like that and if they can disable that as soon as possible.

For example: WPEngine uses its ain cache. This might affect your WooCommerce Cart. Please contact support and so they can create a caching exception list for WooCommerce and/or Ajax files

moodyfark1973.blogspot.com

Source: https://www.businessbloomer.com/woocommerce-solving-cart-empty-issue/

0 Response to "Not Added There Was a Problem Adding This Item to Cart. Please Try Again Later."

Enregistrer un commentaire

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel