Page 11 of 14 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 138
  1. #101
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Add a field into create account

    okie dokie! module has been approved and is now available in the downloads section.

    http://www.zen-cart.com/index.php?ma...oducts_id=1694

  2. #102
    Join Date
    Feb 2009
    Posts
    186
    Plugin Contributions
    1

    Default Re: Add a field into create account

    how would i change it to a radio button?

    i need 2 radio buttons, yes or no

  3. #103
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Add a field into create account

    the module doesn't currently support changing to a radio button or dropdown. It is a simple text box (hope to add this feature in a future release maybe?)

    But try this... open up this file:
    /includes/templates/YOURTEMPLATE/templates/tpl_module_createaccount.php

    And search for "extrafield", you should see where the text field is put on the page. Change that code to radio HTML, and i think that would work...

  4. #104
    Join Date
    Feb 2009
    Posts
    186
    Plugin Contributions
    1

    Default Re: Add a field into create account

    ok, i will try that, thank you ( i will post back to let you know if it works.)

  5. #105
    Join Date
    Jun 2010
    Posts
    19
    Plugin Contributions
    0

    Default Re: Add a field into create account

    [In reply to message #47 from WilpackPackaging in this thread. A quote here would be too long]

    Ok, this helped tremendously. When I followed kdtaylor's instructions (all about adding the error to a required field, message #18 in this thread), I wasn't clear on the use of ENTRY_FIRST_NAME_MIN_LENGTH, so I created a custom field which was not defined anywhere, and naturally it didn't work. When I plugged in ENTRY_FIRST_NAME_MIN_LENGTH, it worked. Yay! So, if I do want my own custom field there, like ENTRY_WHATEVER_MIN_LENGTH, how do I go about creating that, and giving it its own parameters?

    I would love to have used jackie.taferner's module on this, but having started a month ago it was easier to continue with the file modifications I had already made.
    Last edited by platte; 6 Aug 2010 at 02:41 AM.

  6. #106
    Join Date
    Jul 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Add a field into create account

    thx for the mod, jackie.taferner
    I have a question though:
    I added a few fields and everything is ok. Now I am trying to display the information from them in order confirmation email sent to customer. Any ideas, hints?

  7. #107
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Add a field into create account

    hmm, that sure is a feature i'd like to add to the module at some point!

    For now, try this:

    Go to the Tools > Developers Tool Kit and copy/paste some of the text from your customer email. This should give you the location of the file that contains this content.

    Open that file and take a look at how the other information is relayed into the message. You should be able to copy/paste one of the fields and then use the variable from your new field.

  8. #108
    Join Date
    Jul 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Add a field into create account

    Quote Originally Posted by jackie.taferner View Post

    For now, try this:

    Go to the Tools > Developers Tool Kit and copy/paste some of the text from your customer email. This should give you the location of the file that contains this content.
    Worth a try! But unfortunately no result.

    I searched within all zencart files and even within the database for variables for the email templates system:
    Order-Confirmation
    $EMAIL_TEXT_HEADER ("Order Confirmation")
    $INTRO_STORE_NAME
    $INTRO_ORDER_NUM_TITLE ("Order Number:")
    $INTRO_ORDER_NUMBER (actual order number)
    $INTRO_DATE_TITLE ("Ordered on:")
    $INTRO_DATE_ORDERED (Date ordered)
    $INTRO_URL_TITLE (Description in A HREF to My Account)
    $INTRO_URL_VALUE (A HREF to My Account)
    $ORDER_COMMENTS (Customer's comments entered at order time)
    $PRODUCTS_TITLE ("Product Details:")
    $PRODUCTS_LIST (Detailed list of products and attributes and prices)
    $ORDER_TOTALS (Order totals)
    $HEADING_ADDRESS_INFORMATION ("Address Info:")
    $ADDRESS_DELIVERY_TITLE ("Delivery address:")
    $ADDRESS_DELIVERY_ADDRESS (Actual delivery address on order)
    $SHIPPING_METHOD_TEXT ("Shipping Method")
    $SHIPPING_METHOD_TITLE (Shipping method selected)
    $ADDRESS_BILLING_TITLE ("Billing address:")
    $ADDRESS_BILLING_DETAIL (Billing address on order)
    $PAYMENT_METHOD_TEXT ("Payment Method:")
    $PAYMENT_METHOD_TITLE (Payment method selected)
    $PAYMENT_METHOD_FOOTER (Payment method footer, if any)

    that I took from here
    https://www.zen-cart.com/tutorials/i...hp?article=113
    and I found only the help files, which contain basically the same info as the link above.
    That's a whole mystery how and where are these "keywords" aka variables created? If I find out, I'll be able to do the same for the additional registration fields.

    Thanks anyway!

  9. #109
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Add a field into create account

    Go to the email you receive as a new customer and paste exactly what you find there (one sentence or so should be sufficient).

    Use the actual text found in the email, not the variables shown in the article.

  10. #110
    Join Date
    Jul 2010
    Location
    Italy
    Posts
    5
    Plugin Contributions
    0

    Default Re: Add a field into create account

    Quote Originally Posted by jackie.taferner View Post
    okie dokie! module has been approved and is now available in the downloads section.

    http://www.zen-cart.com/index.php?ma...oducts_id=1694

    Many thanks!
    I've downloaded and installed new module without getting errors.
    The new extra field appears in registration page.
    BUT....
    I have exactly the same problem as before...
    That is, on the admin customers page, the field "extrafield" is empty, even if the customer has filled it.
    I can see that database contains that field.

    What's the problem?
    Thank you for your help!

    Sabrina

 

 
Page 11 of 14 FirstFirst ... 910111213 ... LastLast

Similar Threads

  1. How do I add a custom pulldown field to create account page?
    By margarita in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 May 2008, 07:48 PM
  2. add a field to "create account"
    By bobio in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Jan 2008, 07:35 AM
  3. Create account Form field allign
    By manfer72 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Jan 2008, 12:01 AM
  4. Create a requested field in registration account
    By rosponina in forum Managing Customers and Orders
    Replies: 6
    Last Post: 31 Jul 2006, 09:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg