Redirect customer to product page from where customer logged in to website Magento 2
In Magento 2, I have a custom login form in Header. If a customer is on the product page for eg : http://www.testwebsite.com/catalog/product/view/id/10 and login from header form then customer should redirect to the same product page instead of Customer…