www.magepsycho.com(QualityextensionproviderforMagento1&Magento2)
CustomerRedirectProforMagento2
UserGuide
Magento2CustomerGroupSelector/Switcher Page2of10
Contents1.Overview................................................................................................................................................................................................................32.Installation.............................................................................................................................................................................................................43.ManageSettings....................................................................................................................................................................................................53.1. GeneralSettings.........................................................................................................................................................................................53.2. LoginRedirectSettings...............................................................................................................................................................................63.3. LogoutRedirectSettings............................................................................................................................................................................73.4. NewAccountRedirectSettings..................................................................................................................................................................83.5. MiscellaneousSettings...............................................................................................................................................................................9
4.RedirectionURLOptions........................................................................................................................................................................................95.NeedSupport?.....................................................................................................................................................................................................10
UserGuide
Magento2CustomerGroupSelector/Switcher Page3of10
1. OverviewThis extension allows customer group wise redirection to the custom page after login, logout, registration & newslettersubscriptionactionswithmanyextrafeatures.Incaseyouhaveamulti-storewebsite(B2Bstore,wholesale/retailstoreetc.)withmultiplecustomergroups.Andyouwanttoprovideamorepersonalizedshoppingexperiencetoyourcustomers,forexampleby:
• Allowingyourcustomerstoselect their requiredcustomergroupatregistration,eitherbyusinggroupdrop-downorgroupcode.
• Redirecting your retail customer to the retail website after they login from any one of your available multi-storewebsites.
• Redirectingyourcustomertowelcomepagewithcustomizedsuccessmessageandemailtemplateiftheyregisterasawholesalecustomer.
• Redirectingyourcustomertocouponpageafternewslettersubscription.Inanyoneofthesecases(orallofthem),youwillfindthisextensionworthy.
UserGuide
Magento2CustomerGroupSelector/Switcher Page4of10
2. Installation1.Backupyourstorecodebase&database2.DownloadextensioninstallationpackagefromMagentoMarketplace3.Copytheextensionfilestothe</path/to/magento2-root-folder>/app/code/MagePsycho/RedirectPro 4.RunthefollowingseriesofcommandfromSSHconsoleofyourserver:cd</path/to/magento2-root-folder>phpbin/magentomodule:enableMagePsycho_RedirectPro--clear-static-contentphpbin/magentosetup:upgrade 5.Flushthestorecachephpbin/magentocache:flush 6.GotoAdmin>Stores>Configuration>MagePsycho>CustomRedirectPro>Configureyoursettingshere...
UserGuide
Magento2CustomerGroupSelector/Switcher Page5of10
3. ManageSettingsOnceyouinstalltheExtension,gotoStores>Configuration>MagePsycho>CustomRedirectPro.Youwillseeallthesectionsthatneedtobeconfigured.
3.1. GeneralSettingsIngeneralsettings,admincan
• Enable/disabletheextension• EnterDevelopment/Productionlicensekey• Enable/disabletheDebugMode• Viewpopupmanual
UserGuide
Magento2CustomerGroupSelector/Switcher Page6of10
3.2. LoginRedirectSettingsYoucanredirectthecustomertocustompageafterlogin.Inthissectionadmincan
• ConfigurethedefaultredirectionURLafterlogin• ConfigurecustomergroupwisecustomURLafterlogin
UserGuide
Magento2CustomerGroupSelector/Switcher Page7of10
3.3. LogoutRedirectSettingsYoucanredirectthecustomertocustompageafterlogout.Inthissectionadmincan
• ConfigurethedefaultredirectionURLafterlogout• ConfigurecustomergroupwisecustomredirectionURLafterlogout• Removeintermediatelogoutpage
UserGuide
Magento2CustomerGroupSelector/Switcher Page8of10
3.4. NewAccountRedirectSettingsYoucanredirectthecustomertocustompageafterregistration.Inthissectionadmincan
• ConfigurethedefaultredirectionURLafterregistration• ConfigurecustomergroupwisecustomredirectionURLafterregistration• Configuredefaultsuccessmessageafterregistration• Configurecustomergroupwisesuccessmessageafterregistration
UserGuide
Magento2CustomerGroupSelector/Switcher Page9of10
3.5. MiscellaneousSettingsYoucanredirectthecustomertoanycustompageafternewslettersubscription.Inthissectionadmincan
• ConfigurethecustomredirectionURLafternewslettersubscription• Configure‘redirectto’parameter
4. RedirectionURLOptionsAsyousawaboveyoucanusecustomredirectionURLforredirectingcustomerafterlogin,logout,registerandnewslettersubscription.ThiscustomredirectionURLcaneitherbearelativeURLoranabsoluteURL.Also,youcanusecustomvariableslike{{referer}},{{redirect_to}},{{assigned_base_url}}etc.asapartofredirectionURL.ForExample:-/-/welcome-/vendor/{{user_name}}-{{referer}}-{{assigned_base_url}}-{{redirect_to}}-http://my-another-store.com/welcome-http://mystore.com/{{user_name}}Notes:1./denotesthebaseURLofcurrentstore,usedincaseofrelativeURL.2.{{referer}}variableisusedwhenyouwanttoredirectbacktotheprevious/referrerpage.3.{{assigned_base_url}}variableisusedwhenyouwanttoredirectthecustomertotheirassignedwebsite.4.{{redirect_to}}isusedwhenyouwanttoredirecttotheURLmentionedinthequerystring(Ref:MiscSettings>RedirectToParam)5.YoucanalsouseabsoluteURLforURLredirection.Example:http://my-another-store.com/welcome6.Otheravailablevariablesare:
• {{ip}}-IPAddress,• {{country_code}}-CountryCode• {{user_name}}-UserFullName,• {{user_email}}-UserEmailAddress,• {{user_id}}-UserId• {{user_group_id}}-UserGroupId• Oryoucanrequestifyouneedanyothercustomvariables.
7.IfCustomerGroupWiseRedirectionURLisnotdefinedthenDefaultRedirectionURLwillbeused.
UserGuide
Magento2CustomerGroupSelector/Switcher Page10of10
5. NeedSupport?Youcansendanemailtomagepsycho@gmail.comORsubmittherequestformthroughourwebsite:http://www.magepsycho.com/contacts/incaseyouneedanykindofassistance,supportandquotation.
Top Related