How to display only telephone number field in customer registration page Planned maintenance...

Do wooden building fires get hotter than 600°C?

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

Wu formula for manifolds with boundary

If a contract sometimes uses the wrong name, is it still valid?

Can a party unilaterally change candidates in preparation for a General election?

Using et al. for a last / senior author rather than for a first author

What would be the ideal power source for a cybernetic eye?

Why do we bend a book to keep it straight?

How could we fake a moon landing now?

When the Haste spell ends on a creature, do attackers have advantage against that creature?

Significance of Cersei's obsession with elephants?

Does classifying an integer as a discrete log require it be part of a multiplicative group?

Can you use the Shield Master feat to shove someone before you make an attack by using a Readied action?

Is CEO the profession with the most psychopaths?

Generate an RGB colour grid

How do pianists reach extremely loud dynamics?

Do I really need recursive chmod to restrict access to a folder?

Is the Standard Deduction better than Itemized when both are the same amount?

Extracting terms with certain heads in a function

How to deal with a team lead who never gives me credit?

What is homebrew?

Do I really need to have a message in a novel to appeal to readers?

Is there such thing as an Availability Group failover trigger?



How to display only telephone number field in customer registration page



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?Add telephone filed in register pageIs it possible to move customer Telephone number from billing address fields to customer create account sectionRemove 91 in customer telephone number from database tableGet Customer Telephone no after customer registration in magento 1.8.0Magento 1.9: How to display Telephone on registration form?Magento 2 add telephone number in to the customer account creation formLogin by only Mobile numberAdd new Mobile Number field in magento(1.9) customer registration formHow do i display 'Store Contact Telephone'?How to add Custom Field to Billing Customer AddressAdd telephone filed in register page





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







4















how to add only telephone field from address fields in registration page of magento.



I have found way to enable address fields. But i need only telephone number field alone from address fields in registration.



Please suggest a way to do this.










share|improve this question














bumped to the homepage by Community 8 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    4















    how to add only telephone field from address fields in registration page of magento.



    I have found way to enable address fields. But i need only telephone number field alone from address fields in registration.



    Please suggest a way to do this.










    share|improve this question














    bumped to the homepage by Community 8 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      4












      4








      4








      how to add only telephone field from address fields in registration page of magento.



      I have found way to enable address fields. But i need only telephone number field alone from address fields in registration.



      Please suggest a way to do this.










      share|improve this question














      how to add only telephone field from address fields in registration page of magento.



      I have found way to enable address fields. But i need only telephone number field alone from address fields in registration.



      Please suggest a way to do this.







      magento-1.9 customer-account






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 17 '16 at 7:26









      Ann MaryAnn Mary

      185421




      185421





      bumped to the homepage by Community 8 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 8 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          2 Answers
          2






          active

          oldest

          votes


















          0














          Go With the following path :



          appdesignfrontendbasedefaulttemplatepersistentcustomerformregister.phtml


          and comment the if condition from here. :



          <?php if($this->getShowAddressFields()): ?>


          otherwise get the telephone field outside the if condition.



          Happy Codding. :)






          share|improve this answer































            0














            Just add below layout in any layout xml file:



            <customer_account_create>
            <reference name="customer_form_register">
            <action method="setShowAddressFields"><param>true</param></action>
            </reference>
            </customer_account_create>


            Note: Please don't change in core files. Just make a copy of the layout file in theme directory & add above code.






            share|improve this answer
























            • But It's adding all the address fields to my registration page. I want only telephone number field from address section.

              – Ann Mary
              Apr 27 '16 at 17:06












            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%2f111209%2fhow-to-display-only-telephone-number-field-in-customer-registration-page%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














            Go With the following path :



            appdesignfrontendbasedefaulttemplatepersistentcustomerformregister.phtml


            and comment the if condition from here. :



            <?php if($this->getShowAddressFields()): ?>


            otherwise get the telephone field outside the if condition.



            Happy Codding. :)






            share|improve this answer




























              0














              Go With the following path :



              appdesignfrontendbasedefaulttemplatepersistentcustomerformregister.phtml


              and comment the if condition from here. :



              <?php if($this->getShowAddressFields()): ?>


              otherwise get the telephone field outside the if condition.



              Happy Codding. :)






              share|improve this answer


























                0












                0








                0







                Go With the following path :



                appdesignfrontendbasedefaulttemplatepersistentcustomerformregister.phtml


                and comment the if condition from here. :



                <?php if($this->getShowAddressFields()): ?>


                otherwise get the telephone field outside the if condition.



                Happy Codding. :)






                share|improve this answer













                Go With the following path :



                appdesignfrontendbasedefaulttemplatepersistentcustomerformregister.phtml


                and comment the if condition from here. :



                <?php if($this->getShowAddressFields()): ?>


                otherwise get the telephone field outside the if condition.



                Happy Codding. :)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 17 '16 at 7:29









                Ajay PatelAjay Patel

                1,0491628




                1,0491628

























                    0














                    Just add below layout in any layout xml file:



                    <customer_account_create>
                    <reference name="customer_form_register">
                    <action method="setShowAddressFields"><param>true</param></action>
                    </reference>
                    </customer_account_create>


                    Note: Please don't change in core files. Just make a copy of the layout file in theme directory & add above code.






                    share|improve this answer
























                    • But It's adding all the address fields to my registration page. I want only telephone number field from address section.

                      – Ann Mary
                      Apr 27 '16 at 17:06
















                    0














                    Just add below layout in any layout xml file:



                    <customer_account_create>
                    <reference name="customer_form_register">
                    <action method="setShowAddressFields"><param>true</param></action>
                    </reference>
                    </customer_account_create>


                    Note: Please don't change in core files. Just make a copy of the layout file in theme directory & add above code.






                    share|improve this answer
























                    • But It's adding all the address fields to my registration page. I want only telephone number field from address section.

                      – Ann Mary
                      Apr 27 '16 at 17:06














                    0












                    0








                    0







                    Just add below layout in any layout xml file:



                    <customer_account_create>
                    <reference name="customer_form_register">
                    <action method="setShowAddressFields"><param>true</param></action>
                    </reference>
                    </customer_account_create>


                    Note: Please don't change in core files. Just make a copy of the layout file in theme directory & add above code.






                    share|improve this answer













                    Just add below layout in any layout xml file:



                    <customer_account_create>
                    <reference name="customer_form_register">
                    <action method="setShowAddressFields"><param>true</param></action>
                    </reference>
                    </customer_account_create>


                    Note: Please don't change in core files. Just make a copy of the layout file in theme directory & add above code.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Apr 18 '16 at 5:48









                    Akhil GuptaAkhil Gupta

                    1,5861721




                    1,5861721













                    • But It's adding all the address fields to my registration page. I want only telephone number field from address section.

                      – Ann Mary
                      Apr 27 '16 at 17:06



















                    • But It's adding all the address fields to my registration page. I want only telephone number field from address section.

                      – Ann Mary
                      Apr 27 '16 at 17:06

















                    But It's adding all the address fields to my registration page. I want only telephone number field from address section.

                    – Ann Mary
                    Apr 27 '16 at 17:06





                    But It's adding all the address fields to my registration page. I want only telephone number field from address section.

                    – Ann Mary
                    Apr 27 '16 at 17:06


















                    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%2f111209%2fhow-to-display-only-telephone-number-field-in-customer-registration-page%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

                    “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                    How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                    變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...