Skip to content
LoginWP
  • Features
  • Pricing
  • Blog
  • Support
    • Contact Us
    • Documentation
  • Account
    • Login
  • Buy Now
LoginWP
  • Features
  • Pricing
  • Blog
  • Support
    • Contact Us
    • Documentation
  • Account
    • Login

Redirect Users After Login Based on WooCommerce Product Purchase

Redirect Users After Login Based on WooCommerce Product Purchase

Do you have multiple WooCommerce products and want to redirect your customers after they log in to your WordPress site to a particular page/course/material based on the product they’ve purchased? LoginWP’s integration with Woocommerce allows you to do just that and more.

In this article, you will learn how to redirect customers after login that purchase a particular product or a product from a specific category on your WooCommerce shop to a specific post/page on your site based on their purchase.

Enabling WooCommerce Integration

Make sure you have a Woocommerce plugin activated.

Go to LoginWP>>Redirections>>Integrations and scroll down to Woocommerce and enable it.

Creating Redirection Rule Based on Purchased Product

Go to LoginWP>>Redirections>> and click on “Add New”

Under rule conditions, select “Purchased Product” as the rule and the specific product as the value.

Enter the login and logout URLs for WooCommerce customers that purchase the selected product.

Click on Save Rule and that’s it.

Redirection Rule Based on Product Category Purchased From

Go to LoginWP>>Redirections>>Add New

Under rule condition, select “Purchased Product Category”

Enter the login and logout URLs for WooCommerce customers that purchase from the selected product category.

Click on Save Rule and that’s it.

When a buyer or customer purchases a product in the selected WooCommerce product category, they get redirected to the URL specified every time they log in and log out.

If you want to use any of the placeholders or merge tags in the login/logout field please visit Login Redirect Placeholders & Use Cases

That’s it

Related

Redirect Users After Login Based on WooCommerce Membership Plan

How to Redirect WooCommerce Customers After Login in WordPress

Redirect WP Users After Login Based on WooCommerce Subscription

Knowledge Base Categories

  • Code Snippet / Developer (3)
  • Getting Started (3)
  • User Redirections (10)

Knowledge Base Articles

  • Add Login Redirect Support to Other Login Form Plugins
  • Adding Custom Login Redirect Placeholders
  • Adding Previous Page Redirection Support to Custom Login Forms
  • Creating a Login Redirect Rule
  • How to Redirect WordPress Users After First Time Login
  • Installation and Activation
  • Login Redirect Placeholders & Use Cases
  • Login Redirection Pro Conditions
  • Login Redirection Pro Integrations
  • Other Redirection Settings
LoginWP Logo white

Your Account

Become an Affiliate
Customer Account
Request Support

Quick Links

Blog
Documentation
Features
Pricing

Get Our Updates

Wordpress Github
Copyright © 2023 Marketing Fire, LLC. All Rights Reserved.
Terms & Conditions · Privacy Policy