Developer forum

Forum » Swift » Going back to the specific product detail page after login

Going back to the specific product detail page after login

Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Hi,

For a customer where logging in to add the product to basket is required, I'm trying to get the login page to go back to the product detail page the login request has originated from.

I saw there is a GoBackToPage variable and field defined in in Login.cshtml but It seems the redirect is not implemented?

Or maybe I misunderstand the purpose of this :-)

Thanks,

Justin

 


Replies

 
Merethe Vrå Andersen Dynamicweb Employee
Merethe Vrå Andersen
Reply

Hi, 

I have forwarded your question to our Swift developers and hope that they can find an answer for you.

Kind regards,
Merethe

 
Karsten Thuen Dynamicweb Employee
Karsten Thuen
Reply

Hi Justin

I think you are messing the things up a bit here. The "goBackToPage" is a specific parameter in the customer center, that helps us to go back to checkout, by a parameter in the url.

What happens after login, is a setting on the App: https://doc.dynamicweb.com/documentation-9/users/user-management/extranet/login-mode 

 

Best regards
Karsten Thuen 

 

You must be logged in to post in the forum