This plugin adds a field to the Edit Product page (under the General product info) that accepts a URL from the administrator or shop manager. When this field is set, the front-end user (customer) will be redirected to the URL when that product is added to the cart. This can be useful if you want to automatically prompt your customers to purchase other products.
Upgrade to Custom Redirects for WooCommerce
With the premium version of Custom Redirects for WooCommerce, you get access to:
- Add-to-cart redirects when your customers add products to their cart
- After-purchase redirects when your customers complete checkout
- Open redirects in new tabs
- Redirects for product variations
- Product-specific Redirect URLs
- Product Category/Tag Redirects
- Redirect on AJAX Add-to-Cart
- Support for Product CSV Import/Export (import and export redirects)
- Convenient admin page to see all your redirects
- Seamless upgrade from the Free version to Premium
- One Year of Updates & Premium Support
Learn more about Custom Redirects for WooCommerce
This section describes how to install the plugin and get it working.
- Search for WooCommerce Add to Cart Custom Redirect in the Add New Plugin section of the WordPress admin
- Install & Activate
- Download the zip file and upload
- Activate the plugin through the ‘Plugins’ menu in WordPress
How do I use this plugin?
Install and activate the plugin. Then paste your URL into the Add-to-Cart Redirect URL field under the Redirect product data tab. If you want to utilize the redirect feature on product archive pages, make sure to uncheck the “Enable AJAX add to cart buttons on archives” checkbox under the WooCommerce settings Products tab (read below for AJAX support).
Do you offer support for this plugin?
How can I use this plugin with AJAX support?
Currently, AJAX support is part of the premium upgrade.
How can I open the redirect in a new browser tab?
The premium version offers support for opening redirects in new tabs.
What about redirecting variations of products?
You can add variation redirects with the premium version of this plugin.
Contributors & Developers
“WooCommerce Add to Cart Custom Redirect” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
1.2.12 (12th June 2023)
- Fix: Redirects now working correctly
1.2.11 (22nd January 2023)
- Fix: Redirects no longer happen when the product page isn’t valid, for example when using a Gravity Form which has required fields
- WooCommerce 7.3 compatibility
1.2.10 (30th May 2022)
- Fix: Redirects tab now not blank on some installs
- WooCommerce 6.5 compatibility
- WordPress 6.0 compatibility
- Bump version to show compatibility with WooCommerce 5.0 and WordPress 5.7
- Bump version to show WooCommerce 4.0 compatibility
- Clean up RV_Custom_WooCommerce_Redirects->get_redirect_url() method
- Removed outdated admin notice
- WooCommerce 3.9 compatibility
- Added notice of new features
- Changed use of constants for text domain
- Fixed error in path to
- Some refactoring
- Fixed a bug that caused redirects to persist after they’ve been removed
- Replaced deprecated add_to_cart_redirect filter with woocommerce_add_to_cart_redirect
- Added support for redirects on product archive pages
- Initial version