How to redirect customer on custom page after registration in Magento 2 Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Magento Custom Register Page - Redirect IssueAfter login it redirect to previous page but it's not logged inCustomer login redirect to homepageRedirect Registered Customer issueMagento 2 after customer login redirect to my orders failed to set login_redirect sessionRedirect to login page after registration in Magento 2Magento 2- Redirect customer to home page after customer session expires instead login page?Magento 2 : Redirect on cart page after loginHow to redirect the url to custom path from magento2 customer confirm emailMagento 1: after login need to redirect to previous page (before login) instead of dashboard page

What loss function to use when labels are probabilities?

How do we build a confidence interval for the parameter of the exponential distribution?

Why use gamma over alpha radiation?

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

What do I do if technical issues prevent me from filing my return on time?

Single author papers against my advisor's will?

What do you call the holes in a flute?

How do I keep my slimes from escaping their pens?

How can you insert a "times/divide" symbol similar to the "plus/minus" (±) one?

Active filter with series inductor and resistor - do these exist?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

How can I make names more distinctive without making them longer?

What did Darwin mean by 'squib' here?

What are the performance impacts of 'functional' Rust?

Antler Helmet: Can it work?

Fishing simulator

Why is there no army of Iron-Mans in the MCU?

Do working physicists consider Newtonian mechanics to be "falsified"?

Statistical model of ligand substitution

Is drag coefficient lowest at zero angle of attack?

Unexpected result with right shift after bitwise negation

How to set letter above or below the symbol?

Area of a 2D convex hull

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time



How to redirect customer on custom page after registration in Magento 2



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Magento Custom Register Page - Redirect IssueAfter login it redirect to previous page but it's not logged inCustomer login redirect to homepageRedirect Registered Customer issueMagento 2 after customer login redirect to my orders failed to set login_redirect sessionRedirect to login page after registration in Magento 2Magento 2- Redirect customer to home page after customer session expires instead login page?Magento 2 : Redirect on cart page after loginHow to redirect the url to custom path from magento2 customer confirm emailMagento 1: after login need to redirect to previous page (before login) instead of dashboard page



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Here is my code




customerregistersuceessobserver.php




$loginUrl = $this->_objectManager->create(
'MagentoFrameworkUrlInterface'
)->getUrl("marketplace/account/login");
$this->_objectManager->create(
'MagentoCustomerModelSession'
)->setBeforeAuthUrl($loginUrl);
$this->_objectManager->create(
'MagentoCustomerModelSession'
)->setAfterAuthUrl($loginUrl);



here I need to redirect the customer after register in magento 2
how i can set redirect (note: email verfication enabled)




how i can do this




now it redirects to the customer login page











share|improve this question






























    0















    Here is my code




    customerregistersuceessobserver.php




    $loginUrl = $this->_objectManager->create(
    'MagentoFrameworkUrlInterface'
    )->getUrl("marketplace/account/login");
    $this->_objectManager->create(
    'MagentoCustomerModelSession'
    )->setBeforeAuthUrl($loginUrl);
    $this->_objectManager->create(
    'MagentoCustomerModelSession'
    )->setAfterAuthUrl($loginUrl);



    here I need to redirect the customer after register in magento 2
    how i can set redirect (note: email verfication enabled)




    how i can do this




    now it redirects to the customer login page











    share|improve this question


























      0












      0








      0








      Here is my code




      customerregistersuceessobserver.php




      $loginUrl = $this->_objectManager->create(
      'MagentoFrameworkUrlInterface'
      )->getUrl("marketplace/account/login");
      $this->_objectManager->create(
      'MagentoCustomerModelSession'
      )->setBeforeAuthUrl($loginUrl);
      $this->_objectManager->create(
      'MagentoCustomerModelSession'
      )->setAfterAuthUrl($loginUrl);



      here I need to redirect the customer after register in magento 2
      how i can set redirect (note: email verfication enabled)




      how i can do this




      now it redirects to the customer login page











      share|improve this question
















      Here is my code




      customerregistersuceessobserver.php




      $loginUrl = $this->_objectManager->create(
      'MagentoFrameworkUrlInterface'
      )->getUrl("marketplace/account/login");
      $this->_objectManager->create(
      'MagentoCustomerModelSession'
      )->setBeforeAuthUrl($loginUrl);
      $this->_objectManager->create(
      'MagentoCustomerModelSession'
      )->setAfterAuthUrl($loginUrl);



      here I need to redirect the customer after register in magento 2
      how i can set redirect (note: email verfication enabled)




      how i can do this




      now it redirects to the customer login page








      magento2 customer event-observer redirect






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 3 mins ago









      Sanjay Gohil

      498215




      498215










      asked 17 mins ago









      prabhakaran7prabhakaran7

      28812




      28812




















          2 Answers
          2






          active

          oldest

          votes


















          0














          try this way..



          di.xml :



          <?xml version="1.0"?>

          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

          <type name="MagentoCustomerModelAccountRedirect">
          <plugin name="NewAcctRedirectPlug" type="VendorModulePluginRedirect" disabled="false" sortOrder="1"/>
          </type>

          </config>


          events.xml:



          <?xml version="1.0"?>

          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
          <event name="customer_register_success">
          <observer name="custom_redirect_register_success" instance="VendorModuleObserverRegister" disabled="false"/>
          </event>
          </config>


          Register.php:



          <?php

          namespace VendorModuleObserver;


          use MagentoFrameworkEventObserverInterface;
          use MagentoFrameworkRegistry;

          class Register implements ObserverInterface

          protected $coreRegistry;

          public function __construct(Registry $registry)

          $this->coreRegistry = $registry;


          public function execute(MagentoFrameworkEventObserver $observer)

          $this->coreRegistry->register('is_new_account', true);




          VendorModulePluginRedirect.php:



          <?php

          namespace VendorModulePlugin;

          use MagentoFrameworkControllerResultFactory;
          use MagentoFrameworkRegistry;
          use MagentoFrameworkUrlInterface;

          class Redirect

          protected $coreRegistry;

          protected $url;

          protected $resultFactory;

          public function __construct(Registry $registry, UrlInterface $url, ResultFactory $resultFactory)

          $this->coreRegistry = $registry;
          $this->url = $url;
          $this->resultFactory = $resultFactory;


          public function aroundGetRedirect ($subject, Closure $proceed)

          if ($this->coreRegistry->registry('is_new_account'))
          /** @var MagentoFrameworkControllerResultRedirect $result */
          $result = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
          $result->setUrl($this->url->getUrl('custom/path'));
          return $result;


          return $proceed();






          share






























            0














            Try this,



            Add the below code to observer, and event must be



            customer_register_success



            <?php
            namespace VendorModuleNameObserver;
            use MagentoFrameworkEventObserverInterface;
            use MagentoFrameworkExceptionInputException;
            class LoginSuccess implements ObserverInterface

            protected $_urlInterface;
            protected $_response;
            public function __construct(
            MagentoCustomerModelSession $customerSession,
            MagentoFrameworkUrlInterface $urlInterface,
            MagentoFrameworkAppResponseFactory $response
            )
            $this->_urlInterface = $urlInterface;
            $this->_response = $response;
            $this->customerSession = $customerSession;


            public function execute(MagentoFrameworkEventObserver $observer)

            if ($this->customerSession->isLoggedIn())
            $redirectUrl = $this->_urlInterface->getUrl('custom_routename/controller');
            $this->_response->create()
            ->setRedirect($redirectUrl)
            ->sendResponse();
            exit(0);
            return $this;





            Hope this helps.






            share|improve this answer

























            • it will work for after customer registration

              – prabhakaran7
              8 mins ago











            • Try it and let me know and add the below code in customer_register_success observer

              – Prathap Gunasekaran
              6 mins ago











            • _objectManager->create( 'MagentoFrameworkUrlInterface' )->getUrl("marketplace/account/login"); // can i change the path here'

              – prabhakaran7
              1 min ago











            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270058%2fhow-to-redirect-customer-on-custom-page-after-registration-in-magento-2%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            try this way..



            di.xml :



            <?xml version="1.0"?>

            <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

            <type name="MagentoCustomerModelAccountRedirect">
            <plugin name="NewAcctRedirectPlug" type="VendorModulePluginRedirect" disabled="false" sortOrder="1"/>
            </type>

            </config>


            events.xml:



            <?xml version="1.0"?>

            <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
            <event name="customer_register_success">
            <observer name="custom_redirect_register_success" instance="VendorModuleObserverRegister" disabled="false"/>
            </event>
            </config>


            Register.php:



            <?php

            namespace VendorModuleObserver;


            use MagentoFrameworkEventObserverInterface;
            use MagentoFrameworkRegistry;

            class Register implements ObserverInterface

            protected $coreRegistry;

            public function __construct(Registry $registry)

            $this->coreRegistry = $registry;


            public function execute(MagentoFrameworkEventObserver $observer)

            $this->coreRegistry->register('is_new_account', true);




            VendorModulePluginRedirect.php:



            <?php

            namespace VendorModulePlugin;

            use MagentoFrameworkControllerResultFactory;
            use MagentoFrameworkRegistry;
            use MagentoFrameworkUrlInterface;

            class Redirect

            protected $coreRegistry;

            protected $url;

            protected $resultFactory;

            public function __construct(Registry $registry, UrlInterface $url, ResultFactory $resultFactory)

            $this->coreRegistry = $registry;
            $this->url = $url;
            $this->resultFactory = $resultFactory;


            public function aroundGetRedirect ($subject, Closure $proceed)

            if ($this->coreRegistry->registry('is_new_account'))
            /** @var MagentoFrameworkControllerResultRedirect $result */
            $result = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
            $result->setUrl($this->url->getUrl('custom/path'));
            return $result;


            return $proceed();






            share



























              0














              try this way..



              di.xml :



              <?xml version="1.0"?>

              <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

              <type name="MagentoCustomerModelAccountRedirect">
              <plugin name="NewAcctRedirectPlug" type="VendorModulePluginRedirect" disabled="false" sortOrder="1"/>
              </type>

              </config>


              events.xml:



              <?xml version="1.0"?>

              <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
              <event name="customer_register_success">
              <observer name="custom_redirect_register_success" instance="VendorModuleObserverRegister" disabled="false"/>
              </event>
              </config>


              Register.php:



              <?php

              namespace VendorModuleObserver;


              use MagentoFrameworkEventObserverInterface;
              use MagentoFrameworkRegistry;

              class Register implements ObserverInterface

              protected $coreRegistry;

              public function __construct(Registry $registry)

              $this->coreRegistry = $registry;


              public function execute(MagentoFrameworkEventObserver $observer)

              $this->coreRegistry->register('is_new_account', true);




              VendorModulePluginRedirect.php:



              <?php

              namespace VendorModulePlugin;

              use MagentoFrameworkControllerResultFactory;
              use MagentoFrameworkRegistry;
              use MagentoFrameworkUrlInterface;

              class Redirect

              protected $coreRegistry;

              protected $url;

              protected $resultFactory;

              public function __construct(Registry $registry, UrlInterface $url, ResultFactory $resultFactory)

              $this->coreRegistry = $registry;
              $this->url = $url;
              $this->resultFactory = $resultFactory;


              public function aroundGetRedirect ($subject, Closure $proceed)

              if ($this->coreRegistry->registry('is_new_account'))
              /** @var MagentoFrameworkControllerResultRedirect $result */
              $result = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
              $result->setUrl($this->url->getUrl('custom/path'));
              return $result;


              return $proceed();






              share

























                0












                0








                0







                try this way..



                di.xml :



                <?xml version="1.0"?>

                <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

                <type name="MagentoCustomerModelAccountRedirect">
                <plugin name="NewAcctRedirectPlug" type="VendorModulePluginRedirect" disabled="false" sortOrder="1"/>
                </type>

                </config>


                events.xml:



                <?xml version="1.0"?>

                <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
                <event name="customer_register_success">
                <observer name="custom_redirect_register_success" instance="VendorModuleObserverRegister" disabled="false"/>
                </event>
                </config>


                Register.php:



                <?php

                namespace VendorModuleObserver;


                use MagentoFrameworkEventObserverInterface;
                use MagentoFrameworkRegistry;

                class Register implements ObserverInterface

                protected $coreRegistry;

                public function __construct(Registry $registry)

                $this->coreRegistry = $registry;


                public function execute(MagentoFrameworkEventObserver $observer)

                $this->coreRegistry->register('is_new_account', true);




                VendorModulePluginRedirect.php:



                <?php

                namespace VendorModulePlugin;

                use MagentoFrameworkControllerResultFactory;
                use MagentoFrameworkRegistry;
                use MagentoFrameworkUrlInterface;

                class Redirect

                protected $coreRegistry;

                protected $url;

                protected $resultFactory;

                public function __construct(Registry $registry, UrlInterface $url, ResultFactory $resultFactory)

                $this->coreRegistry = $registry;
                $this->url = $url;
                $this->resultFactory = $resultFactory;


                public function aroundGetRedirect ($subject, Closure $proceed)

                if ($this->coreRegistry->registry('is_new_account'))
                /** @var MagentoFrameworkControllerResultRedirect $result */
                $result = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
                $result->setUrl($this->url->getUrl('custom/path'));
                return $result;


                return $proceed();






                share













                try this way..



                di.xml :



                <?xml version="1.0"?>

                <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

                <type name="MagentoCustomerModelAccountRedirect">
                <plugin name="NewAcctRedirectPlug" type="VendorModulePluginRedirect" disabled="false" sortOrder="1"/>
                </type>

                </config>


                events.xml:



                <?xml version="1.0"?>

                <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
                <event name="customer_register_success">
                <observer name="custom_redirect_register_success" instance="VendorModuleObserverRegister" disabled="false"/>
                </event>
                </config>


                Register.php:



                <?php

                namespace VendorModuleObserver;


                use MagentoFrameworkEventObserverInterface;
                use MagentoFrameworkRegistry;

                class Register implements ObserverInterface

                protected $coreRegistry;

                public function __construct(Registry $registry)

                $this->coreRegistry = $registry;


                public function execute(MagentoFrameworkEventObserver $observer)

                $this->coreRegistry->register('is_new_account', true);




                VendorModulePluginRedirect.php:



                <?php

                namespace VendorModulePlugin;

                use MagentoFrameworkControllerResultFactory;
                use MagentoFrameworkRegistry;
                use MagentoFrameworkUrlInterface;

                class Redirect

                protected $coreRegistry;

                protected $url;

                protected $resultFactory;

                public function __construct(Registry $registry, UrlInterface $url, ResultFactory $resultFactory)

                $this->coreRegistry = $registry;
                $this->url = $url;
                $this->resultFactory = $resultFactory;


                public function aroundGetRedirect ($subject, Closure $proceed)

                if ($this->coreRegistry->registry('is_new_account'))
                /** @var MagentoFrameworkControllerResultRedirect $result */
                $result = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
                $result->setUrl($this->url->getUrl('custom/path'));
                return $result;


                return $proceed();







                share











                share


                share










                answered 7 mins ago









                Rakesh DongaRakesh Donga

                2,491316




                2,491316























                    0














                    Try this,



                    Add the below code to observer, and event must be



                    customer_register_success



                    <?php
                    namespace VendorModuleNameObserver;
                    use MagentoFrameworkEventObserverInterface;
                    use MagentoFrameworkExceptionInputException;
                    class LoginSuccess implements ObserverInterface

                    protected $_urlInterface;
                    protected $_response;
                    public function __construct(
                    MagentoCustomerModelSession $customerSession,
                    MagentoFrameworkUrlInterface $urlInterface,
                    MagentoFrameworkAppResponseFactory $response
                    )
                    $this->_urlInterface = $urlInterface;
                    $this->_response = $response;
                    $this->customerSession = $customerSession;


                    public function execute(MagentoFrameworkEventObserver $observer)

                    if ($this->customerSession->isLoggedIn())
                    $redirectUrl = $this->_urlInterface->getUrl('custom_routename/controller');
                    $this->_response->create()
                    ->setRedirect($redirectUrl)
                    ->sendResponse();
                    exit(0);
                    return $this;





                    Hope this helps.






                    share|improve this answer

























                    • it will work for after customer registration

                      – prabhakaran7
                      8 mins ago











                    • Try it and let me know and add the below code in customer_register_success observer

                      – Prathap Gunasekaran
                      6 mins ago











                    • _objectManager->create( 'MagentoFrameworkUrlInterface' )->getUrl("marketplace/account/login"); // can i change the path here'

                      – prabhakaran7
                      1 min ago















                    0














                    Try this,



                    Add the below code to observer, and event must be



                    customer_register_success



                    <?php
                    namespace VendorModuleNameObserver;
                    use MagentoFrameworkEventObserverInterface;
                    use MagentoFrameworkExceptionInputException;
                    class LoginSuccess implements ObserverInterface

                    protected $_urlInterface;
                    protected $_response;
                    public function __construct(
                    MagentoCustomerModelSession $customerSession,
                    MagentoFrameworkUrlInterface $urlInterface,
                    MagentoFrameworkAppResponseFactory $response
                    )
                    $this->_urlInterface = $urlInterface;
                    $this->_response = $response;
                    $this->customerSession = $customerSession;


                    public function execute(MagentoFrameworkEventObserver $observer)

                    if ($this->customerSession->isLoggedIn())
                    $redirectUrl = $this->_urlInterface->getUrl('custom_routename/controller');
                    $this->_response->create()
                    ->setRedirect($redirectUrl)
                    ->sendResponse();
                    exit(0);
                    return $this;





                    Hope this helps.






                    share|improve this answer

























                    • it will work for after customer registration

                      – prabhakaran7
                      8 mins ago











                    • Try it and let me know and add the below code in customer_register_success observer

                      – Prathap Gunasekaran
                      6 mins ago











                    • _objectManager->create( 'MagentoFrameworkUrlInterface' )->getUrl("marketplace/account/login"); // can i change the path here'

                      – prabhakaran7
                      1 min ago













                    0












                    0








                    0







                    Try this,



                    Add the below code to observer, and event must be



                    customer_register_success



                    <?php
                    namespace VendorModuleNameObserver;
                    use MagentoFrameworkEventObserverInterface;
                    use MagentoFrameworkExceptionInputException;
                    class LoginSuccess implements ObserverInterface

                    protected $_urlInterface;
                    protected $_response;
                    public function __construct(
                    MagentoCustomerModelSession $customerSession,
                    MagentoFrameworkUrlInterface $urlInterface,
                    MagentoFrameworkAppResponseFactory $response
                    )
                    $this->_urlInterface = $urlInterface;
                    $this->_response = $response;
                    $this->customerSession = $customerSession;


                    public function execute(MagentoFrameworkEventObserver $observer)

                    if ($this->customerSession->isLoggedIn())
                    $redirectUrl = $this->_urlInterface->getUrl('custom_routename/controller');
                    $this->_response->create()
                    ->setRedirect($redirectUrl)
                    ->sendResponse();
                    exit(0);
                    return $this;





                    Hope this helps.






                    share|improve this answer















                    Try this,



                    Add the below code to observer, and event must be



                    customer_register_success



                    <?php
                    namespace VendorModuleNameObserver;
                    use MagentoFrameworkEventObserverInterface;
                    use MagentoFrameworkExceptionInputException;
                    class LoginSuccess implements ObserverInterface

                    protected $_urlInterface;
                    protected $_response;
                    public function __construct(
                    MagentoCustomerModelSession $customerSession,
                    MagentoFrameworkUrlInterface $urlInterface,
                    MagentoFrameworkAppResponseFactory $response
                    )
                    $this->_urlInterface = $urlInterface;
                    $this->_response = $response;
                    $this->customerSession = $customerSession;


                    public function execute(MagentoFrameworkEventObserver $observer)

                    if ($this->customerSession->isLoggedIn())
                    $redirectUrl = $this->_urlInterface->getUrl('custom_routename/controller');
                    $this->_response->create()
                    ->setRedirect($redirectUrl)
                    ->sendResponse();
                    exit(0);
                    return $this;





                    Hope this helps.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited 6 mins ago

























                    answered 11 mins ago









                    Prathap GunasekaranPrathap Gunasekaran

                    1,8251618




                    1,8251618












                    • it will work for after customer registration

                      – prabhakaran7
                      8 mins ago











                    • Try it and let me know and add the below code in customer_register_success observer

                      – Prathap Gunasekaran
                      6 mins ago











                    • _objectManager->create( 'MagentoFrameworkUrlInterface' )->getUrl("marketplace/account/login"); // can i change the path here'

                      – prabhakaran7
                      1 min ago

















                    • it will work for after customer registration

                      – prabhakaran7
                      8 mins ago











                    • Try it and let me know and add the below code in customer_register_success observer

                      – Prathap Gunasekaran
                      6 mins ago











                    • _objectManager->create( 'MagentoFrameworkUrlInterface' )->getUrl("marketplace/account/login"); // can i change the path here'

                      – prabhakaran7
                      1 min ago
















                    it will work for after customer registration

                    – prabhakaran7
                    8 mins ago





                    it will work for after customer registration

                    – prabhakaran7
                    8 mins ago













                    Try it and let me know and add the below code in customer_register_success observer

                    – Prathap Gunasekaran
                    6 mins ago





                    Try it and let me know and add the below code in customer_register_success observer

                    – Prathap Gunasekaran
                    6 mins ago













                    _objectManager->create( 'MagentoFrameworkUrlInterface' )->getUrl("marketplace/account/login"); // can i change the path here'

                    – prabhakaran7
                    1 min ago





                    _objectManager->create( 'MagentoFrameworkUrlInterface' )->getUrl("marketplace/account/login"); // can i change the path here'

                    – prabhakaran7
                    1 min ago

















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270058%2fhow-to-redirect-customer-on-custom-page-after-registration-in-magento-2%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                    Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

                    Aasi (pallopeli) Navigointivalikko