Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Redirect To Second Storefront Rate Topic   - - - - -

 
  • robertparacay
  • Advanced Member
  • Members
  • Join Date: 14-Nov 11
  • 116 posts

Posted 17 August 2017 - 07:36 PM #1

Hello,

 

I am looking for a way to redirect users from a specific user group to a second storefront. Preferably, the redirect would happen after they log in. 

 

I have searched and found way to redirect a user to a page, but not a different storefront/url.

 

Any help is appreciated.

 

Thanks



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20784 posts

Posted 18 August 2017 - 05:27 AM #2

You can use the login_user_post hook in the fn_login_user function (app/functions/fn.users.php) to check customer user group and make redirect


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)