Hello, Does anyone know if it is possible to chang...
# suitecommerce
g
Hello, Does anyone know if it is possible to change the re-direct when logging into SCA? If so, how easy is it to change? By default a user re-directs to My Account upon a successful login. I would like to change this to an alternative page on our webstore. Any help would be much appreciated
s
With code, yes; with configuration, no
b
There's 2 parameters that control it. "origin" which is the touchpoint you want to go to, and then "origin_hash" which is the route
☝🏻 1
👍 1
s
There’s typically two places where use this: 1. LoginRegister.Login.View.redirect() 2. ProductViews.Price.View.getUrlLogin() You can refer to the modules to see how we do it. But as Bryce says, you’re essentially creating a login link that has both those parameters on them (with appropriate values for the touchpoints and paths) and then putting that link in the place.
g
Thanks - I will take a look at your documentation