1

When customer login on checkout page then redirect to cart page in magento2?
if they are login from others pages then redirect customer dashboard page.

7
  • Hie Jugal is there any update because i need same thing – Akshay Thakkar Jul 23 '19 at 10:01
  • yes! I created a module for this. it tested and working fine – Jugal Kishor Jul 24 '19 at 3:43
  • great can you please share it. – Akshay Thakkar Jul 24 '19 at 8:01
  • No thanks dear no problem i will create :) – Akshay Thakkar Jul 24 '19 at 12:23
  • No problem i will provide free – Jugal Kishor Jul 24 '19 at 12:25
1

https://community.magento.com/t5/Magento-2-x-Programming/Redirect-to-Account-Dashboard-During-Checkout-Funnel-Login/td-p/74271

set
$response['redirectUrl'] = $this->url->getUrl('checkout/cart');

4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.