How To Redirect Customers To The Previous Page After Login In Magento 2
In this post, I will guide you on How To Redirect Customers To The Previous Page After Login In Magento 2.
Magento provides you with a lot of default features to help you increase the user experience. One of them is the redirect customers to the previous page after login.
By default, Magento will redirect you to your account dashboard after you log in. This may cause the customer to forget or take steps to get back to the previous function. Turn it off for a great store experience with these following steps:
Steps To Redirect Customers To The Previous Page After Login In Magento 2
Step 1: Log in to Admin Panel.
Step 2: On the Admin Panel sidebar, go to Stores > Settings > Configuration.
Step 3: In the left panel, choose CUSTOMERS > Customer Configuration.
Step 4: Expand the Login Options section.
Step 5: Set Redirect Customer to Account Dashboard after Logging in to No.
Step 6: When complete, click Save Config button.
This is the end of the post.
Follow us for the more helpful posts!
We hope this is a useful post for you.
You can read more useful posts like How To Change Theme In Magento 2.
Thank you for reading!