Magento 2E-CommerceHow To GuideMay 31, 2024Simon Walker

How to Redirect Customers to the Previous Page After Login in Magento 2?

How to Redirect Customers to the Previous Page After Login in Magento 2?

Merchants must do everything they can to provide a pleasant online shopping experience. This means after a customer lands on a website, they should find what they are looking for without any hindrance. An ecommerce website’s objective is to lead customers to click on the crucial ‘Add to Cart’ button and complete a purchase. This process should be as straightforward as possible.

hide-price-add-to-cart

Hide Price & Add To Cart Button

The Magento 2 Hide Price extension lets you control price visibility, replacing the price and 'Add to Cart' button with custom text, links, images, or a quote form.

A minor obstruction in the process can cost valuable sales. Let’s delve into this obstruction in more detail. Suppose after spending much time on finding a product, you wish to complete the purchase. However, before the order can be processed, you need to login or sign up as the store does not offer checkout as a guest. But after logging in or signing up, you are not redirected to the product page.

hide-price-for-guest

Hide Price For Guest

The Magento 2 Hide Price for Guest Extension lets you hide prices from guest users, optimizing your pricing strategy.

Instead, a new page opens, meaning you must find the product page again. Now, the question is, would you still take out time to find the product? 9 times out of 10, users mostly abandon the purchase altogether or go to a competitor website. To avoid this, there is a need to improve the user experience by redirecting the user to the same page after logging in.

Luckily, Magento 2 allows store admins to configure this from the backend. The feature is referred to as Magento 2 redirect to previous page. This can go a long way in improving the user experience, reducing the bounce rate, and increase conversions. Check below step-by-step configurations to redirect customers to the previous page after login in Magento 2.

Steps To Set Up Magento 2 Redirect to Previous Page After Login Feature

  • Log in to Admin Panel
  • Go to Stores > Settings -> Configuration
  • Under Customers, select Customer Configuration
magento 2 redirect customers to previous page after login
  • Expand the Login Options
  • Set “Redirect Customer to Account Dashboard after Logging in” to No
  • Save configuration

Conclusion

This concludes our article on how to set up Magento 2 redirect to the previous page after login feature. Feel free to contact us, if you have any issue regarding enabling this feature or anything related to Magento 2.

Related Posts: