Skip to content

MagePsycho/Magento2-Custom-Redirect-Pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Magento 2 Custom Redirect Pro

Overview

Magento 2 Custom Redirect Pro extension allows customer group wise redirection to the custom page after login, logout, registration & newsletter subscription actions with many extra features.

In case you have a multi-store website (B2B store, wholesale/retail store etc.) with multiple customer groups. And you want to provide a more personalized shopping experience to your customers, for example by

  • Allowing your customers to select their required customer group at registration, either by using group drop-down or group code.
  • Redirecting your retail customer to the retail website after they login from any one of your available multi-store websites.
  • Redirecting your customer to welcome page with customized success message and email template if they register as a wholesale customer.
  • Redirecting your customer to coupon page after newsletter subscription. In any one of these cases (or all of them), you can use this extension.

Magento 2 Custom Redirect Pro Backend Demo

Key Features

1. Customer Group Wise Redirection After Login

You can redirect your customer to any custom page(for example: {{referer}}, /, /checkout/cart etc.) configured as per the customer group after login. If group wise redirection URL is empty, default login redirection URL (/customer/account) will be used.

2. Customer Group Wise Redirection After Logout

You can redirect your customer to custom page configured as per the customer group after they logout. Also, you can remove the logout intermediate page that says "You have logged out and will be redirected to our homepage in 5 seconds." and redirect user directly to the configured page with the custom message.

3. Customer Group Wise Redirection After Registration

You can configure customer group wise redirection page for registration (for example: /thank-you-page, /terms-and-conditions etc.). Also, this extension provides extra features like customer group wise success message as bonus. This, of course, will add more personalized shopping experience to your customer.

4. Redirection After Newsletter Subscription

This extension allows to redirect the user to custom page (for example: /subscription-coupon, /subscription-thank-you etc.) after newsletter subscription.

5. Customer Group Selector / Switcher

Magento 2 Customer Group Selector / Switcher extension is bundled at FREE with this extension, Bingo!.

Customer Group Selector / Switcher extension allows user to select their required customer group at registration, either by using group drop-down or group code.

6. Essential Module for B2B E-Commerce

This extension by default includes the Magento 2 Customer Group Selector / Switcher. And if combined with Magento 2 Store Restriction Pro, it will give you the solid base for creating the B2B store.

7. Misc Features

This extension supports both relative and absolute redirection URL, which in itself can contain custom variables.

  • You can redirect to referrer URL (previous page) using {{referer}} variable.
  • You can redirect to any URL mentioned in the query param (?rediect_to=[custom-url]) using {{redirect_to}} variable.
  • Other available variables than can be used in redirection URL are:
    • {{ip}} - IP Address
    • {{country_code}} - Country Code
    • {{user_name}} - User Full Name
    • {{user_email}} - User Email Address
    • {{user_id}} - User Id
    • {{user_group_id}} - User Group Id

Installation

  1. Download the extension .zip file and extract the files.
  2. Copy the extension files from src/ folder to the {magento2-root-dir}/
  3. Run the following series of command from SSH console of your server:
php bin/magento module:enable MagePsycho_RedirectPro MagePsycho_GroupSwitcherPro --clear-static-content
php bin/magento setup:upgrade
  1. Flush the store cache
php bin/magento cache:flush
  1. Go to Admin > Stores > Configuration > MagePsycho > Custom Redirect Pro > Configure your settings here...

Live Demo:

Changelog

Version 1.0.1 (2019-07-15)

  • Refactored the code
  • Checked the compatibility with Magento 2.3.x

Version 1.0.0 (2017-05-29)

  • Initial Release.

People also search:

  • magento 2 redirect
  • magento 2 redirect customer
  • magento 2 advanced redirect
  • magento 2 redirect extension
  • magento 2 redirect module
  • magento 2 redirect extension free
  • magento 2 custom redirect
  • magento 2 custom redirect extension
  • magento 2 custom login redirect
  • magento 2 custom login redirect extension
  • magento 2 account redirect
  • magento 2 custom account redirect
  • magento 2 registration redirect
  • magento 2 logout redirect
  • magento 2 custom logout redirect
  • magento 2 custom registration redirect
  • magento 2 newsletter subscription redirect
  • magento 2 custom newsletter subscription redirect
  • magento 2 custom new account email template
  • magento 2 customer group select
  • magento 2 customer group switch
  • magento 2 redirect to previous page
  • magento 2 redirect to referral
  • magento 2 redirect after login
  • magento 2 redirect after registration
  • magento 2 redirect after new account
  • magento 2 redirect after logout
  • magento 2 redirect after subscription

Other FREE Magento 2 Extensions on GitHub