I want to change the the login redirect function like this below
1. If customer is trying to login from cart page which they proceed to checkout at that time after login it should arrive on Checkout page instead of redirecting to my account page
2. If customer is login from any other page like product page or home page then they should land on my account page.
I'm using Magento 2.3.5-p1
Hi @gkarthick87 ,
Please check the below link:
I hope this will help you.