how to create login and create account page in same page in magento 2Register account 3 column pageMagento Customer create and login not working in 1.9.2.2How to add simple account|login links where login changes to logout when signed in?My Account display only after loginAdding customer account layout to custom pagehow to disable Auto login on registration in magento2?How to send create account emailCustom login/accountHow to override customer login.phtml and customer_account_login.xml file in custom module Magento 2?Magento 2 How to remove personal information fields(first name, last name) from customer account create page?

What is the most 'environmentally friendly' way to learn to fly?

Why do we need a voltage divider when we get the same voltage at the output as the input?

Why are prop blades not shaped like household fan blades?

Reasons for using monsters as bioweapons

Gold Battle KoTH

How can flights operated by the same company have such different prices when marketed by another?

Is there a general term for the items in a directory?

Skipping same old introductions

Not taking Bereavement Leave

How do I respond appropriately to an overseas company that obtained a visa for me without hiring me?

How to structure presentation to avoid getting questions that will be answered later in the presentation?

Should students have access to past exams or an exam bank?

When did J.K. Rowling decide to make Ron and Hermione a couple?

Is Norway in the Single Market?

Is this mechanically safe?

Word for giving preference to the oldest child

Does the problem of P vs NP come under the category of Operational Research?

Error with uppercase in titlesec's label field

What is the significance of $(logname)?

Can machine learning learn a function like finding maximum from a list?

Being told my "network" isn't PCI Complaint. I don't even have a server! Do I have to comply?

Can living where magnetic ore is abundant provide any protection from cosmic radiation?

Why should I use a big powerstone instead of smaller ones?

If I buy and download a game through second Nintendo account do I own it on my main account too?



how to create login and create account page in same page in magento 2


Register account 3 column pageMagento Customer create and login not working in 1.9.2.2How to add simple account|login links where login changes to logout when signed in?My Account display only after loginAdding customer account layout to custom pagehow to disable Auto login on registration in magento2?How to send create account emailCustom login/accountHow to override customer login.phtml and customer_account_login.xml file in custom module Magento 2?Magento 2 How to remove personal information fields(first name, last name) from customer account create page?






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








1















How to create login and register page on the same page and below-attached screen short.



enter image description here










share|improve this question


























  • Please specify the magento version. Also, please share what you have tried so far?

    – Amit Bera
    Jul 23 at 10:48











  • magento version 2.3.1

    – KANZARIYA ANIL
    Jul 23 at 11:00











  • In the past, I have done it for Magento1 - blog.magepsycho.com/… Maybe this can be used as a reference.

    – MagePsycho
    Jul 23 at 12:40

















1















How to create login and register page on the same page and below-attached screen short.



enter image description here










share|improve this question


























  • Please specify the magento version. Also, please share what you have tried so far?

    – Amit Bera
    Jul 23 at 10:48











  • magento version 2.3.1

    – KANZARIYA ANIL
    Jul 23 at 11:00











  • In the past, I have done it for Magento1 - blog.magepsycho.com/… Maybe this can be used as a reference.

    – MagePsycho
    Jul 23 at 12:40













1












1








1








How to create login and register page on the same page and below-attached screen short.



enter image description here










share|improve this question
















How to create login and register page on the same page and below-attached screen short.



enter image description here







customer-account magento2.3.1 customer-registration






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 23 at 11:15









Amit Bera

62.7k16 gold badges84 silver badges183 bronze badges




62.7k16 gold badges84 silver badges183 bronze badges










asked Jul 23 at 10:43









KANZARIYA ANILKANZARIYA ANIL

113 bronze badges




113 bronze badges















  • Please specify the magento version. Also, please share what you have tried so far?

    – Amit Bera
    Jul 23 at 10:48











  • magento version 2.3.1

    – KANZARIYA ANIL
    Jul 23 at 11:00











  • In the past, I have done it for Magento1 - blog.magepsycho.com/… Maybe this can be used as a reference.

    – MagePsycho
    Jul 23 at 12:40

















  • Please specify the magento version. Also, please share what you have tried so far?

    – Amit Bera
    Jul 23 at 10:48











  • magento version 2.3.1

    – KANZARIYA ANIL
    Jul 23 at 11:00











  • In the past, I have done it for Magento1 - blog.magepsycho.com/… Maybe this can be used as a reference.

    – MagePsycho
    Jul 23 at 12:40
















Please specify the magento version. Also, please share what you have tried so far?

– Amit Bera
Jul 23 at 10:48





Please specify the magento version. Also, please share what you have tried so far?

– Amit Bera
Jul 23 at 10:48













magento version 2.3.1

– KANZARIYA ANIL
Jul 23 at 11:00





magento version 2.3.1

– KANZARIYA ANIL
Jul 23 at 11:00













In the past, I have done it for Magento1 - blog.magepsycho.com/… Maybe this can be used as a reference.

– MagePsycho
Jul 23 at 12:40





In the past, I have done it for Magento1 - blog.magepsycho.com/… Maybe this can be used as a reference.

– MagePsycho
Jul 23 at 12:40










1 Answer
1






active

oldest

votes


















0














Override customer_account_login.xml page in your theme



app/design/frontend/vendore/theme/Magento_Customer/layout folder



Update below code in your file.



 <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<!-- customer.form.login.extra -->
<container name="customer.login.container" label="Customer Login Container" htmlTag="div" htmlClass="login-container">
<block class="MagentoCustomerBlockFormLogin" name="customer_form_login" template="Magento_Customer::form/login.phtml">
<container name="form.additional.info1" as="form_additional_info1"/>
</block>
<block class="MagentoCustomerBlockFormRegister" name="customer_form_register" template="Magento_Customer::form/register.phtml">
<arguments>
<argument name="attribute_data" xsi:type="object">MagentoCustomerBlockDataProvidersAddressAttributeData</argument>
</arguments>
<container name="form.additional.info" as="form_additional_info"/>
<container name="customer.form.register.fields.before" as="form_fields_before" label="Form Fields Before" htmlTag="div" htmlClass="customer-form-before"/>
</block>
</container>

<block class="MagentoCookieBlockRequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
<arguments>
<argument name="triggers" xsi:type="array">
<item name="loginButton" xsi:type="string">.action.login</item>
</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="form.additional.info">
<block class="MagentoFrameworkViewElementTemplate" name="form_additional_info_customer" template="Magento_Customer::additionalinfocustomer.phtml"/>
</referenceContainer>
</body>
</page>


Set css based on your requirements.






share|improve this answer



























    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%2f282994%2fhow-to-create-login-and-create-account-page-in-same-page-in-magento-2%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Override customer_account_login.xml page in your theme



    app/design/frontend/vendore/theme/Magento_Customer/layout folder



    Update below code in your file.



     <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceContainer name="content">
    <!-- customer.form.login.extra -->
    <container name="customer.login.container" label="Customer Login Container" htmlTag="div" htmlClass="login-container">
    <block class="MagentoCustomerBlockFormLogin" name="customer_form_login" template="Magento_Customer::form/login.phtml">
    <container name="form.additional.info1" as="form_additional_info1"/>
    </block>
    <block class="MagentoCustomerBlockFormRegister" name="customer_form_register" template="Magento_Customer::form/register.phtml">
    <arguments>
    <argument name="attribute_data" xsi:type="object">MagentoCustomerBlockDataProvidersAddressAttributeData</argument>
    </arguments>
    <container name="form.additional.info" as="form_additional_info"/>
    <container name="customer.form.register.fields.before" as="form_fields_before" label="Form Fields Before" htmlTag="div" htmlClass="customer-form-before"/>
    </block>
    </container>

    <block class="MagentoCookieBlockRequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
    <arguments>
    <argument name="triggers" xsi:type="array">
    <item name="loginButton" xsi:type="string">.action.login</item>
    </argument>
    </arguments>
    </block>
    </referenceContainer>
    <referenceContainer name="form.additional.info">
    <block class="MagentoFrameworkViewElementTemplate" name="form_additional_info_customer" template="Magento_Customer::additionalinfocustomer.phtml"/>
    </referenceContainer>
    </body>
    </page>


    Set css based on your requirements.






    share|improve this answer





























      0














      Override customer_account_login.xml page in your theme



      app/design/frontend/vendore/theme/Magento_Customer/layout folder



      Update below code in your file.



       <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
      <body>
      <referenceContainer name="content">
      <!-- customer.form.login.extra -->
      <container name="customer.login.container" label="Customer Login Container" htmlTag="div" htmlClass="login-container">
      <block class="MagentoCustomerBlockFormLogin" name="customer_form_login" template="Magento_Customer::form/login.phtml">
      <container name="form.additional.info1" as="form_additional_info1"/>
      </block>
      <block class="MagentoCustomerBlockFormRegister" name="customer_form_register" template="Magento_Customer::form/register.phtml">
      <arguments>
      <argument name="attribute_data" xsi:type="object">MagentoCustomerBlockDataProvidersAddressAttributeData</argument>
      </arguments>
      <container name="form.additional.info" as="form_additional_info"/>
      <container name="customer.form.register.fields.before" as="form_fields_before" label="Form Fields Before" htmlTag="div" htmlClass="customer-form-before"/>
      </block>
      </container>

      <block class="MagentoCookieBlockRequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
      <arguments>
      <argument name="triggers" xsi:type="array">
      <item name="loginButton" xsi:type="string">.action.login</item>
      </argument>
      </arguments>
      </block>
      </referenceContainer>
      <referenceContainer name="form.additional.info">
      <block class="MagentoFrameworkViewElementTemplate" name="form_additional_info_customer" template="Magento_Customer::additionalinfocustomer.phtml"/>
      </referenceContainer>
      </body>
      </page>


      Set css based on your requirements.






      share|improve this answer



























        0












        0








        0







        Override customer_account_login.xml page in your theme



        app/design/frontend/vendore/theme/Magento_Customer/layout folder



        Update below code in your file.



         <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <body>
        <referenceContainer name="content">
        <!-- customer.form.login.extra -->
        <container name="customer.login.container" label="Customer Login Container" htmlTag="div" htmlClass="login-container">
        <block class="MagentoCustomerBlockFormLogin" name="customer_form_login" template="Magento_Customer::form/login.phtml">
        <container name="form.additional.info1" as="form_additional_info1"/>
        </block>
        <block class="MagentoCustomerBlockFormRegister" name="customer_form_register" template="Magento_Customer::form/register.phtml">
        <arguments>
        <argument name="attribute_data" xsi:type="object">MagentoCustomerBlockDataProvidersAddressAttributeData</argument>
        </arguments>
        <container name="form.additional.info" as="form_additional_info"/>
        <container name="customer.form.register.fields.before" as="form_fields_before" label="Form Fields Before" htmlTag="div" htmlClass="customer-form-before"/>
        </block>
        </container>

        <block class="MagentoCookieBlockRequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
        <arguments>
        <argument name="triggers" xsi:type="array">
        <item name="loginButton" xsi:type="string">.action.login</item>
        </argument>
        </arguments>
        </block>
        </referenceContainer>
        <referenceContainer name="form.additional.info">
        <block class="MagentoFrameworkViewElementTemplate" name="form_additional_info_customer" template="Magento_Customer::additionalinfocustomer.phtml"/>
        </referenceContainer>
        </body>
        </page>


        Set css based on your requirements.






        share|improve this answer













        Override customer_account_login.xml page in your theme



        app/design/frontend/vendore/theme/Magento_Customer/layout folder



        Update below code in your file.



         <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <body>
        <referenceContainer name="content">
        <!-- customer.form.login.extra -->
        <container name="customer.login.container" label="Customer Login Container" htmlTag="div" htmlClass="login-container">
        <block class="MagentoCustomerBlockFormLogin" name="customer_form_login" template="Magento_Customer::form/login.phtml">
        <container name="form.additional.info1" as="form_additional_info1"/>
        </block>
        <block class="MagentoCustomerBlockFormRegister" name="customer_form_register" template="Magento_Customer::form/register.phtml">
        <arguments>
        <argument name="attribute_data" xsi:type="object">MagentoCustomerBlockDataProvidersAddressAttributeData</argument>
        </arguments>
        <container name="form.additional.info" as="form_additional_info"/>
        <container name="customer.form.register.fields.before" as="form_fields_before" label="Form Fields Before" htmlTag="div" htmlClass="customer-form-before"/>
        </block>
        </container>

        <block class="MagentoCookieBlockRequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
        <arguments>
        <argument name="triggers" xsi:type="array">
        <item name="loginButton" xsi:type="string">.action.login</item>
        </argument>
        </arguments>
        </block>
        </referenceContainer>
        <referenceContainer name="form.additional.info">
        <block class="MagentoFrameworkViewElementTemplate" name="form_additional_info_customer" template="Magento_Customer::additionalinfocustomer.phtml"/>
        </referenceContainer>
        </body>
        </page>


        Set css based on your requirements.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 23 at 12:36









        Sweety MasmiyaSweety Masmiya

        4672 silver badges12 bronze badges




        4672 silver badges12 bronze badges






























            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%2f282994%2fhow-to-create-login-and-create-account-page-in-same-page-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

            Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form