Part of the Commerce ecosystem · 487 projects
This module redirects users to the cart, checkout, or a custom URL immediately after adding a product to their cart. It can also be configured to clear the cart before adding the new item, and these actions can be filtered by product type.
Redirect users to checkout, cart, or an arbitrary location immediately after they add a product to their cart. This action is filterable by product variation type.
You can select to remove all items currently in the cart when a new product is added. This option does not limit the quantity of the new item in the cart - it removes all items from the cart and then adds the product variation and quantity of the item in the current add to cart request.
If you need to limit the quantity of an item please see Commerce Product Limits.
Notes
- The module MUST be configured to have any effect. After install navigate to /admin/commerce/config/commerce_cart_redirection ( Commerce > Configuration > Orders > Commerce Cart Redirection ) and select the product variation bundles you want to redirect and any other options.
- There is a Commerce Core issue, with patches, relevant to the use case of this module https://www.drupal.org/node/2810723
Ask your assistant about Commerce Cart Redirection
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- commerce Drupal core
- commerce_cart Drupal core
- commerce_product Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Commerce ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 4.0.0 | Stable | 10–11 | PHP >=8.1 | Sep 21, 2026 | |
| 4.0.0-rc1 | Pre-release | 10–11 | Aug 23, 2026 | ||
| 4.0.0-alpha3 | Pre-release | 10–11 | Aug 13, 2026 | ||
| 4.0.0-alpha2 | Pre-release | 10–11 | Jul 29, 2026 | ||
| 4.0.0-alpha1 | Pre-release | 10–11 | Jul 17, 2026 | ||
| 4.0.x-dev | Dev | 10–11 | Jul 17, 2026 | ||
| 3.3.x-dev | Dev | 10–11 | Dec 27, 2024 | ||
| 3.3.0 | Stable | 10–11 | Aug 30, 2024 | ||
| 3.2.1 | Stable | 9–10 | May 22, 2024 | ||
| 3.2.x-dev | Dev | 9–10 | May 22, 2024 |