あなたは直面していますか WooCommerce カートは空です 問題?
WooCommerce turns online shopping into a smooth ride. But unfortunately, you may sometimes face technical issues like “the cart is empty" または "your WooCommerce cart is currently empty“. Such issues can cause you to lose customers, and as a result, you may end up losing money in your online business.
If you are facing the empty cart issue, then no worries. You have come to the right place. In this blog, I have put together all the possible issues that may be causing WooCommerce empty cart errors and ways to solve them.
始めましょう…
Why is the WooCommerce cart showing empty after adding products?
The WooCommerce “cart is empty” issue occurs when products are added but not stored properly in the session, often due to caching conflicts, outdated plugins, misconfigured settings, or theme/plugin incompatibility. This results in lost cart data and directly impacts conversions.
How to fix WooCommerce empty cart issue
✅ Set up right cache settings for WordPress and the server side.
✅ Check WooCommerce System Status and WooCommerce Page Set up.
✅ Clear Session and Transients Under WooCommerce tools.
✅ Make sure to remove space in the Checkout endpoints.
✅ Update WordPress and WooCommerce plugin.
✅ Update theme and plugins.
✅ Reset the permalinks.
✅ Disable plugins one-by-one for a possible plugin conflict.
✅ Switch to WP default theme temporarily.
例
If a site uses aggressive caching (for example, a cache plugin) without excluding cart pages, users may add products but the cart stays empty. Disabling cache for those pages typically resolves the issue instantly.
まとめ
The WooCommerce empty cart issue is usually caused by caching, session handling problems, or conflicts in themes/plugins. Systematic troubleshooting like clearing sessions, fixing cache rules, and checking compatibility can resolve it quickly and prevent revenue loss.
WooCommerce の空のカート問題とは何ですか?
Empty cart issue arises when you add products to your online WooCommerce shopping cart, but somehow find your cart saying “your cart is currently empty”. This is not the normal “your cart is empty” message this is a technical issue that’s stopping your cart to update when you add products.
How to Diagnose The WooCommerce Empty Cart Issue Before You Start Fixing
Before jumping into solutions, you need to ask the right diagnostic questions, otherwise you could spend hours applying the wrong fix. Use these quick checks to pinpoint the likely cause in under 5 minutes.
Step 1: Ask, does the cart empty immediately after adding a product, or after a page refresh/navigation?
- Empties immediately → The “Add to Cart” AJAX request is likely failing. Open your browser’s developer tools (press F12), go to the Console tab, and look for red JavaScript errors. Also check the Network tab for failed POST requests to
?wc-ajax=add_to_cart. - Empties after refresh or navigating to the cart page → A session or cookie problem is most likely the cause. This is often a caching issue or a cookie being blocked.
Step 2: Ask does the cart work for logged-in users but not for guests?
- もし はい → WooCommerce is failing to save guest sessions to the
wp_woocommerce_sessionsdatabase table. This is a specific session-handling bug (see Solution #2 and the Cookie section below). - もし no (broken for everyone) → The problem is more likely caching, a plugin conflict, or a site-wide configuration error.
Step 3: Ask, when did the problem start?
Think back: Did you recently install or update a plugin, theme, or WordPress itself? The timing of the break almost always points to the culprit. If you have a changelog, compare it against the date the cart issue began and undo that change first before trying anything else.
Step 4: Ask, does the cart work in a private/incognito browser window with no extensions?
- If it works in incognito → A browser extension (ad blocker, privacy tool) is blocking WooCommerce’s session cookies. The fix is on the visitor’s end, but you can make your site more robust (see Cookie section below).
- If it still fails in incognito → The problem is server-side (caching, session configuration, SSL).
Step 5: Check the WooCommerce logs
に行く WordPress Dashboard → WooCommerce → Status → Logs and look at wc-session-handler.log. Any entries there will point directly to where WooCommerce is failing to read or write session data.
Also read, how to add WooCommerce Mini Cart button in Elementor
WooCommerce カートが空のエラーを解決する方法
With customer feedback and my own experiences, I have found there are about 10 reasons that can cause the cart to show empty despite adding products. Let’s check the problems and how you can solve those one by one to get rid of “your cart is empty” error or WooCommerce add to cart page not working:
解決策 #1: WooCommerce システム ステータスと WooCommerce ページ設定を確認する
WooCommerce システム ステータスには、WooCommerce 機能と競合する可能性のある Web サイト環境のすべての問題を示す赤いサインが表示されます。したがって、最初の仕事は、wooCommerce が危険信号を出しているかどうかを確認することです。
に行く WordPress ダッシュボード => WooCommerce => ステータス そして、赤色の警告が表示されるすべての問題を修正します (警告が表示された場合)。


また、すべての wooCommerce ページが適切に設定されており、テーマがデフォルトのカート ページをオーバーライドしていないか、オーバーライドしても問題が発生していないことを必ず確認してください。


🤷 Elementor Web サイトにカスタム CSS を追加したいですか?
Elementor にカスタム CSS を追加するさまざまな方法をブログで確認してください
👉👉 Elementor にカスタム CSS を追加する方法: 4 つの簡単な方法
解決策 #2: WooCommerce ツールでセッションとトランジェントをクリアする
WooCommerce トランジェント、期限切れのトランジェントをクリアし、期間カウントをリセットし、顧客セッションをクリアすると、カートが空になる問題も解決できます。に行く WordPress ダッシュボード => WooCommerce => ステータス => ツール and follow the screenshot below to reset and clear all the mentioned options.


解決策 #3: チェックアウト エンドポイントにスペースがないことを確認します。
に行く WordPress ダッシュボード => WooCommerce => 設定 => 詳細タブ チェックアウト エンドポイントにスペースがないことを確認します。


私たちのブログもチェックしてください WooCommerceに通貨スイッチャーを追加する方法


解決策 #4: ウェブサイトの WordPress と WooCommerce を更新する
古くて古いバージョンを持っている ワードプレス または WooCommerce がこの問題を引き起こす可能性があります。したがって、サイトに WordPress と WooCommerce の最新バージョンがインストールされていることを確認する必要があります。
WordPress または WooCommerce を更新する必要があるかどうかをダッシュボードから確認し、必要に応じて更新できます。


解決策 #5: テーマとプラグインを更新する
WordPress や WooCommerce だけでなく、テーマやプラグインも定期的に更新する必要があります。したがって、使用しているテーマとプラグインを更新する必要があるかどうかを確認し、必要に応じて更新してください。これにより、WooCommerce の空のカートの問題も解決できます。
注記: すべて(WordPress、WooCommerce、テーマ、プラグイン)をやみくもに更新するのも良い考えではありません。すべての更新バージョンが相互に互換性があることを確認する必要があります。
解決策 #6: パーマリンクをリセットする
WordPress パーマリンクをリセットすると、カートが空になる問題を解決できます。リセットするには、次の場所に移動します WordPress ダッシュボード => 設定 => パーマリンクを選択 => 変更を保存 をクリックします。


解決策 #7: WooCommerce を受け入れるすべてのプラグインを一時的に無効にする
これは非常に基本的なトラブルシューティング手法ですが、WooCommerce カートが空のエラーを解決するのにも役立ちます。他のプラグインを無効にすることで WooCommerce のカートが空になる問題が解決する場合は、Web サイト上の WooCommerce に問題がないことを確認し、問題の原因となっているプラグインを修正できます。
🤷 Elementorでサーバーエラー400 Bad Requestに遭遇したことがありますか?このサーバーエラーを解決するさまざまな方法を確認してください
👉👉 Elementor でサーバー エラー 400 Bad Request を修正する方法
解決策 #8: WP のデフォルトのテーマに一時的に切り替える
プラグインと同様に、テーマが WooCommerce と競合している可能性があります。そのため、一時的にデフォルトの WordPress に切り替えて、問題が解決するかどうかを確認できます。問題が解決した場合は、問題がわかっているので、テーマ プロバイダーに相談して競合を解決できます。
解決策 #9: WordPress プラグインとサーバー側の両方で適切なキャッシュ設定をセットアップする
カートには動的なコンテンツが表示されるため、キャッシュしないでください。したがって、キャッシュ除外 URL を持つ WordPress キャッシュ プラグインを常に使用してください。 WordPress プラグインだけでなく、一部のホスティングプロバイダーは、Web サイトにも適用される Varnish などの独自のキャッシュ システムも使用します。
したがって、空のカートの問題を解決するには、ホスティング会社に相談して適切なサーバー側キャッシュ設定をセットアップする必要があります。
解決策 #10: デフォルトの .htaccess ルールに従う必要がある
.htaccess file is usually used to put instructions on how user requests are handled. Check if you are using the standard .htaccess rule that WordPress provides. If not, fix the file to get the default .htaccess configuration. This can also solve the WooCommerce カートページ is empty problem.
ボーナスヒント
Apart from the empty cart issue, having a boring-looking cart page can also lead to customers leaving your website without completing the order. However, now you can reduce the cart page’s abundant rate by customizing your WooCommerce cart page to make it more attractive.
ショップエンジン は WooCommerce の世界における革命的なプラグインです。カート ページのカスタマイズだけでなく、ShopEngine を使用すると、次のようなすべての WooCommerce ページをカスタム構築できます。 商品ページ, カテゴリーページ, 複数ステップのチェックアウトページ, サンキューページなど。
さらに、60 個以上のウィジェットと 10 個以上の非常に便利なモジュールが提供されます。 予約注文, 取り寄せ, 一部支払い, 販売のお知らせ, フラッシュセールカウントダウン, 通貨スイッチャー, 製品比較, などなど。


✨✨ ShopEngine の柔軟なカスタマイズ オプションを使用して追加する方法を確認してください WooCommerce チェックアウト ページの高度なカスタム フィールド.
✨✨ WooCommerce ストアを強化するためにショッピング カート プラグインが必要ですか?私たちのブログをチェックしてください
WooCommerce で最も便利なショッピング カート プラグイン
よくある質問
How to know when your cart is empty?
Is it possible to save add to cart products for later purchase?
What to do when your shopping cart is empty?
How do I know if a plugin is causing my WooCommerce cart to empty?
Why does my WooCommerce cart empty after I apply a coupon code?
Why does my cart page show empty but the cart icon still shows items?
To fix it, exclude
/cart/ from your caching plugin’s settings. In WP Rocket, go to Settings → Advanced Rules → Never Cache URL(s) そして追加します /cart/. In Cloudflare, set a Page Rule to “Bypass” cache for yourdomain.com/cart/*. Once done, flush all cache layers and test again.WooCommerce での「カート上の最後の言葉が空です」エラー
So, you have found out all the measures to fix WooCommerce empty cart error. Hope this blog helped you to solve your WooCommerce empty cart page issue in no time. If you have any questions or confusion about any of the steps, leave a message in the comment box.


コメントを残す