for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once...

10
www.magepsycho.com (Quality extension provider for Magento 1 & Magento 2) Customer Redirect Pro for Magento 2

Transcript of for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once...

Page 1: for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once you install the Extension, go to Stores > Configuration > MagePsycho > Custom Redirect

www.magepsycho.com(QualityextensionproviderforMagento1&Magento2)

CustomerRedirectProforMagento2

Page 2: for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once you install the Extension, go to Stores > Configuration > MagePsycho > Custom Redirect

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

Page 3: for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once you install the Extension, go to Stores > Configuration > MagePsycho > Custom Redirect

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.

Page 4: for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once you install the Extension, go to Stores > Configuration > MagePsycho > Custom Redirect

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...

Page 5: for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once you install the Extension, go to Stores > Configuration > MagePsycho > Custom Redirect

UserGuide

Magento2CustomerGroupSelector/Switcher Page5of10

3. ManageSettingsOnceyouinstalltheExtension,gotoStores>Configuration>MagePsycho>CustomRedirectPro.Youwillseeallthesectionsthatneedtobeconfigured.

3.1. GeneralSettingsIngeneralsettings,admincan

• Enable/disabletheextension• EnterDevelopment/Productionlicensekey• Enable/disabletheDebugMode• Viewpopupmanual

Page 6: for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once you install the Extension, go to Stores > Configuration > MagePsycho > Custom Redirect

UserGuide

Magento2CustomerGroupSelector/Switcher Page6of10

3.2. LoginRedirectSettingsYoucanredirectthecustomertocustompageafterlogin.Inthissectionadmincan

• ConfigurethedefaultredirectionURLafterlogin• ConfigurecustomergroupwisecustomURLafterlogin

Page 7: for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once you install the Extension, go to Stores > Configuration > MagePsycho > Custom Redirect

UserGuide

Magento2CustomerGroupSelector/Switcher Page7of10

3.3. LogoutRedirectSettingsYoucanredirectthecustomertocustompageafterlogout.Inthissectionadmincan

• ConfigurethedefaultredirectionURLafterlogout• ConfigurecustomergroupwisecustomredirectionURLafterlogout• Removeintermediatelogoutpage

Page 8: for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once you install the Extension, go to Stores > Configuration > MagePsycho > Custom Redirect

UserGuide

Magento2CustomerGroupSelector/Switcher Page8of10

3.4. NewAccountRedirectSettingsYoucanredirectthecustomertocustompageafterregistration.Inthissectionadmincan

• ConfigurethedefaultredirectionURLafterregistration• ConfigurecustomergroupwisecustomredirectionURLafterregistration• Configuredefaultsuccessmessageafterregistration• Configurecustomergroupwisesuccessmessageafterregistration

Page 9: for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once you install the Extension, go to Stores > Configuration > MagePsycho > Custom Redirect

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.

Page 10: for Magento 2 · Magento 2 Customer Group Selector / Switcher Page 5 of 10 3. Manage Settings Once you install the Extension, go to Stores > Configuration > MagePsycho > Custom Redirect

UserGuide

Magento2CustomerGroupSelector/Switcher Page10of10

5. NeedSupport?Youcansendanemailtomagepsycho@gmail.comORsubmittherequestformthroughourwebsite:http://www.magepsycho.com/contacts/incaseyouneedanykindofassistance,supportandquotation.