• Resolved richardnj

    (@italialiving)


    Hello. My apologies if this is covered somewhere, but my searching can’t find. I wanted to sell some eBooks on my website. I just installed and setup the woocommerce plugin and was trying to do a test. When I add the ebook to the cart, the page refreshes and goes to the homepage. How do I access and view the cart?? I don’t understand what else I need to do since in settings I have checked off: Redirect to the cart page after successful addition

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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

    1. Cart Page Is Not Set Properly
      WooCommerce needs to know which page is your Cart.
    2. Cart Page Doesn’t Contain the Correct Shortcode
      The Cart page should include [woocommerce_cart].
    3. Theme Conflict or Redirect Issue
      Some themes (especially non-WooCommerce themes) may redirect unknown pages to the homepage.
    4. 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.
    Thread Starter richardnj

    (@italialiving)

    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)

    1. Go to your WordPress admin panel.
    2. Navigate to:
      WooCommerce → Status → Tools
    3. Scroll down to the tool:
      “Create default WooCommerce pages”
    4. 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

    Thread Starter richardnj

    (@italialiving)

    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! 🙌

    Thread Starter richardnj

    (@italialiving)

    Will do, and thank you again!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Cart Access Missing’ is closed to new replies.