Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Create Account

  1. #1
    nihon is offline Senior Member
    Join Date
    May 2008
    Posts
    150

    Default Create Account

    Can anybody help me, i would like to add 2 new fields to the create account page.
    1) ABN Number
    2) Web Address

    I would also like this information to be displayed in customer account page of admin section.

    What code do i need to edit.. i cant figure it out .. please help
    Thank you
    Version (Code/DB):
    AspDotNetStorefront ML 8.1.2.0/8.1.2.0

  2. #2
    GoodFella is offline Member
    Join Date
    Mar 2009
    Posts
    99

    Default

    I too would be interested in knowing more about this. I would like to have a Date of Birth field for the customer to enter. I noticed there is already a data field for this in the DB.

  3. #3
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Nihon, I see you're on v8012. You'll have to edit the createaccount.aspx(cs) files, then add those fields there (depends on where do you want it exactly to appear).

    e.g.
    Code:
    <asp:TextBox ID="ABN" runat="server" Columns="30" MaxLength="100"></asp:TextBox> 
    <asp:Literal ID="ABNLabel" runat="server" Text="ABN Number"></asp:Literal>
    If those fields are required, then add the corresponding validations, as well as in the update or insert statement from CreateAccount() method.

    If you want to retrieve those fields in the account and display in the customer's account page, edit {root}/admin/cst_account.aspx file, then do the necessary modifications.