Hi @italialiving
No worries — this is a common issue when setting up WooCommerce for the first time, especially with digital products like eBooks. Let’s walk through why this is happening and how to fix it.
Common Causes
- Cart Page Is Not Set Properly
WooCommerce needs to know which page is your Cart.
- Cart Page Doesn’t Contain the Correct Shortcode
The Cart page should include [woocommerce_cart].
- Theme Conflict or Redirect Issue
Some themes (especially non-WooCommerce themes) may redirect unknown pages to the homepage.
- Caching Plugins Interfering
Caching or optimization plugins may break the cart behavior.
Step-by-Step Fix 1. Assign the Correct Cart Page
Go to:
WooCommerce → Settings → Advanced → Page Setup
- Make sure the Cart page is selected properly (should be a page titled “Cart”)
- If not, select it or create a new page called “Cart” and assign it
2. Add the WooCommerce Cart Shortcode
Edit your Cart page in the editor and make sure it contains:
[woocommerce_cart]
Same for the Checkout page:
[woocommerce_checkout]
3. Check for Theme Conflicts
- Temporarily switch to the Storefront theme (official WooCommerce theme)
- Add a product to cart and see if it redirects correctly
- If yes, the issue is with your current theme’s WooCommerce compatibility
4. Clear Caches
- Clear browser cache
- Clear any caching plugins (like WP Rocket, LiteSpeed, etc.)
- If using a CDN (e.g., Cloudflare), purge cache there too
5. Enable Cart Notices
You can also enable AJAX add-to-cart or notices to show users something was added:
Go to:
WooCommerce → Settings → Products
- Enable “Enable AJAX add to cart buttons on archives
- Enable “Redirect to the cart page after successful addition” if you want the redirect
https://italialiving.com/cart — showing 404 so pages is not created properly
Let me know how it goes
Thanks
Ahir Hemant
-
This reply was modified 10 months, 4 weeks ago by
Ahir Hemant.
Hi Ahir @hemant-ahir ,
Thank you for your prompt reply and assistance. It appears I have some problem right in your first step. When I go to Page Setup and try to select Cart, there isn’t any. Appears to be missing. How would I resolve this?
Thank you,
Richard
-
This reply was modified 10 months, 4 weeks ago by
richardnj.
-
This reply was modified 10 months, 4 weeks ago by
richardnj.
Hi @italialiving
How to Regenerate WooCommerce Pages
Option 1: Via WooCommerce Setup Tool (Safe & Recommended)
- Go to your WordPress admin panel.
- Navigate to:
WooCommerce → Status → Tools
- Scroll down to the tool:
“Create default WooCommerce pages”
- Click the “Create pages” button.
⚠️ Note: This will not duplicate pages. It will only create missing ones (e.g., if your Cart page was deleted).
Thanks
Ahir Hemant
Thank you Ahir! @hemant-ahir That worked… much appreciated!
Hi @italialiving
If you’re happy with WooCommerce and the support you’ve received, please consider leaving a review to show your appreciation. It really helps the team and the community grow! 💙
and Please make this thread as resolved !
👉 Leave your review here
Thank you for supporting open-source! 🙌
Will do, and thank you again!