An WooCommerce plugin to redirect order success page to a custom URL based on the Product.
WooCommerce Product based Order Success Page is a lightweight woocommerce plugin to redirect order success page to a custom URL. You can add custom order success page URL to any product with priority. The custom order success page URL can be WordPress page or any custom URL..
1. Success page URL:
When a product with "Success page URL" added to cart, then the order success page will redirect to this success page url.
2. Success page priority:
When cart contains more than one product with custom Success page URLs, this priority based execution will take into action and redirect the order success page based on the priority.(priority is working like ranking system - ascending order )
How it works:
1. When there is no "Success page URL" set for the products:
Order success page will not redirect to any other page.
2. If there is only one product in checkout and it has "Success page URL":
Order success page will redirect to the Success page URL.
3. If checkout contains more than one product with Success page URL:
Order success page will redirect, based on the priority.
4. If checkout contains more than one product with Success page URLs and with same priority:
In this case, order success page will redirect to the Success page URL, based on the cart product order.
When a product with "Success page URL" added to cart, then the order success page will redirect to this success page url.
2. Success page priority:
When cart contains more than one product with custom Success page URLs, this priority based execution will take into action and redirect the order success page based on the priority.(priority is working like ranking system - ascending order )
How it works:
1. When there is no "Success page URL" set for the products:
Order success page will not redirect to any other page.
2. If there is only one product in checkout and it has "Success page URL":
Order success page will redirect to the Success page URL.
3. If checkout contains more than one product with Success page URL:
Order success page will redirect, based on the priority.
4. If checkout contains more than one product with Success page URLs and with same priority:
In this case, order success page will redirect to the Success page URL, based on the cart product order.
How to check the demo:
Product-1:
Product URL: http://preview.ivane.work/wp/product/long-sleeve-wine-red-color-slim-dress-shirt-for-men/
Success Page URL: https://www.google.com
Success page priority: 1
Product-2:
Product URL: http://preview.ivane.work/wp/product/long-sleeve-purple-color-slim-dress-shirt-for-men/
Success Page URL: https://www.facebook.com
Success page priority: 1
Product-3:
Product URL: http://preview.ivane.work/wp/product/long-sleeve-khaki-color-slim-dress-shirt-for-men/
Success Page URL: https://www.twitter.com
Success page priority: 2
If you add Product-1 or Product-2 or Product-3 to cart and checkout, the order success page will redirect to their Success Page URL respectively.
If you add Product-1 and Product-3 to cart and checkout, the order success page will redirect to the Product-1 Success Page URL - https://www.google.com (based on priority).
If you add Product-2 and Product-3 to cart and checkout, the order success page will redirect to the Product-2 Success Page URL - https://www.facebook.com (based on priority).
If you add Product-1 and Product-2 to cart and checkout, the order success page will redirect based on the cart product order(Because both product has same priority values).
If you add Product-3 to cart and checkout, the order success page will redirect to the Product-3 Success Page URL - https://www.twitter.com
You can check the plugin with the following products in our demo site.
Product-1:
Product URL: http://preview.ivane.work/wp/product/long-sleeve-wine-red-color-slim-dress-shirt-for-men/
Success Page URL: https://www.google.com
Success page priority: 1
Product-2:
Product URL: http://preview.ivane.work/wp/product/long-sleeve-purple-color-slim-dress-shirt-for-men/
Success Page URL: https://www.facebook.com
Success page priority: 1
Product-3:
Product URL: http://preview.ivane.work/wp/product/long-sleeve-khaki-color-slim-dress-shirt-for-men/
Success Page URL: https://www.twitter.com
Success page priority: 2
If you add Product-1 or Product-2 or Product-3 to cart and checkout, the order success page will redirect to their Success Page URL respectively.
If you add Product-1 and Product-3 to cart and checkout, the order success page will redirect to the Product-1 Success Page URL - https://www.google.com (based on priority).
If you add Product-2 and Product-3 to cart and checkout, the order success page will redirect to the Product-2 Success Page URL - https://www.facebook.com (based on priority).
If you add Product-1 and Product-2 to cart and checkout, the order success page will redirect based on the cart product order(Because both product has same priority values).
If you add Product-3 to cart and checkout, the order success page will redirect to the Product-3 Success Page URL - https://www.twitter.com
Plugin Features:
1. Lightweight woocommerce plugin.
2. WooCommerce product based order success page.
3. Can set "Success page URL" in product add/edit page.
4. Can set priority ( "Success page priority" ) for the "Success page URL".
5. Success page redirection based on URL and its priority.
6. Redirect order success page based on cart product order( if many cart products have "Success page URL" with same priority ).
7. Compatible with WordPress 4.x and WordPress 5.x
8. Compatible with WooCommerce 2.x and WooCommerce 3.x
9. Zero coding skills required to install and use.
1. Lightweight woocommerce plugin.
2. WooCommerce product based order success page.
3. Can set "Success page URL" in product add/edit page.
4. Can set priority ( "Success page priority" ) for the "Success page URL".
5. Success page redirection based on URL and its priority.
6. Redirect order success page based on cart product order( if many cart products have "Success page URL" with same priority ).
7. Compatible with WordPress 4.x and WordPress 5.x
8. Compatible with WooCommerce 2.x and WooCommerce 3.x
9. Zero coding skills required to install and use.
Documentation:
https://docs.ivane.work/wordpress/woocommerce-product-based-order-success-page/index.html