I’m trying to redirect users to the same page that they clicked to login button. I used to achieve this with “return_to” parameter in the legacy system. But with the new Customer Accounts system it’s not working and redirecting all users to the profile page which causing 2-3 extra steps for customers to find the product page where they left.
Is there anyway to achieve this with the new Customer Accounts system?