- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2019
05:25 AM
02-08-2019
05:25 AM
Redirection to checkout code after creating an account.
Hi guys ,
can anyone guide me where to find redirection to checkout code after creating an account. ?
3 REPLIES 3

Not applicable

Not applicable
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2019
05:39 AM
02-08-2019
05:39 AM
Re: Redirection to checkout code after creating an account.
Try plugin.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2019
05:51 AM
02-08-2019
05:51 AM
Re: Redirection to checkout code after creating an account.
Hi @bharath553 ,
You can use the plugin to redirect to checkout page manually. You can use following one of the way to redirect.
This is one of the ways to redirect manually.
public function __construct( \Magento\Framework\Controller\Result\RedirectFactory $redirectFactory ) { ..... $this->resultRedirectFactory = $redirectFactory; ..... } public function yourPluginFunction() { $resultRedirect = $this->resultRedirectFactory->create(); $resultRedirect->setUrl(checkout/cart); return $resultRedirect; }
If this was helpful, please Accept as solution and provide Kudos.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2019
07:12 AM
02-11-2019
07:12 AM
Re: Redirection to checkout code after creating an account.
Hi @bharath553
Do you need to find how to do a redirect to a checkout page or how it is done in Magento 2?
Thanks,