Overview
The Global Redirect by Customer Purchase History feature allows store owners to create targeted post-checkout experiences based on customers’ previous purchase patterns. This powerful functionality enables you to:
- Create different checkout experiences for repeat buyers
- Redirect customers who have purchased specific products in the past
- Provide customized thank you pages based on purchase history
How to Set Up Purchase History-Based Redirects
1. Accessing the Purchase History Settings
- Navigate to WooCommerce > WRAC Redirect
- Go to the Global Redirects tab
- Click on the Purchase History option in the left sidebar menu
2. Enabling Purchase History Redirects
- Find the “Enable or Disable” toggle
- Turn it On to activate purchase history-based redirects
- This enables the “Turn On to create redirect based on selected products purchase history” feature
3. Selecting Products for History Tracking
You have two methods to specify which previous purchases should trigger the redirect:
Method A: Manual ID Entry
- In the “Add products IDs separated by commas” field:
- Enter comma-separated product IDs (e.g., “199,82,39”)
- To find product IDs:
- Go to Products in WordPress
- Hover over a product and check the URL for “post=XX” (the number is the ID)

Method B: Visual Product Selector
- Click the Select Purchase History Products button
- A popup will appear showing all your products
- Check the boxes for products you want to include in the purchase history criteria
- Click “Done” to confirm your selection
4. Setting the Redirect Destination
Choose where customers with matching purchase history will be redirected:
Internal Page Redirect
- From the “Select Redirect Page” dropdown:
- Choose an existing page (e.g., “/returning-customer-thanks”)
- This page will display if the purchase history matches the products selected above
External URL Redirect
- In the “Use External URL” field:
- Enter a full URL (e.g., “https://example.com/loyalty-rewards“)
- Use external URL to redirect customers after successful purchase
5. Failed Order Handling
Configure where customers go if payment fails:
- “Failed Order Redirect Page” – Select an internal page from the dropdown
- “Failed Order External URL” – Enter an external URL for failed orders
6. Save Your Configuration
- Click the Save Settings button at the bottom of the page
- Your purchase history redirect rules are now active
How It Works
When a customer completes checkout:
- The plugin checks if they have previously purchased any of the products you specified
- If there’s a match, they are redirected to your custom thank you page or external URL
- If there’s no match, they follow the standard checkout completion flow
- If the order fails, they are directed to your specified failed order page
Practical Examples
- VIP Customer Experience
- Purchase History Products: IDs of your premium products
- Redirect to: “/vip-customer-thanks” with exclusive offers for repeat high-value customers
- Product-Specific Follow-up
- Purchase History Products: IDs of products that typically need accessories
- Redirect to: A page with relevant accessories and add-ons
- Loyalty Program Integration
- Purchase History Products: Any product IDs (to identify returning customers)
- Redirect to: External loyalty program URL with points balance
Advanced Use Cases
- Combine with other WRAC conditions: Create sophisticated redirect logic using purchase history alongside other factors
- Customer segmentation: Create different experiences for first-time vs. returning customers
- Product education: Direct repeat buyers to advanced usage tips for products they’ve purchased before
Troubleshooting
- If redirects aren’t working, ensure the toggle is set to “On”
- Verify that product IDs are correctly entered
- Check that your selected redirect page exists
- For external URLs, ensure they include “https://” prefix
- Remember that the customer must have completed previous orders with the specified products

Leave A Comment?
You must be logged in to post a comment.