Redirect shopper to cart after adding item in WooCommerce

Published by John Jago

Summary

In WooCommerce, you can take the shopper to the cart page after they add an item to their cart. This short tutorial shows you how to enable this feature in WooCommerce.


This is a setting that is part of WooCommerce, so no custom code or plugins are required. Follow the steps below to enable this feature in WooCommerce.

  1. From the WordPress dashboard, navigate to WooCommerce → Settings in the left sidebar.
  2. Click on the “Products” tab.
  3. Near the top, next to “Add to cart behaviour”, you’ll see a checkbox labeled “Redirect to the cart page after successful addition”. Check the box to enable the feature.
  4. Scroll to the bottom and click “Save changes”.

Screenshot of the WooCommerce settings, showing the Products tab where there is a checkbox to redirect the shopper to the cart after they add an item, with arrows pointing to the side navigation and tab to show how to navigate there, and one arrow pointing to the checkbox.

After turning this on, when a shopper adds an item to the cart from either the shop page or the product page, they’ll be taken to the cart page after the item is added.

👋 Hey there! We’re the creators of Dashify, a free plugin that transforms the WordPress admin into an ecommerce-focused dashboard, helping you manage your store faster and more effectively.