Page 7 of 20 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 198
  1. #61
    Join Date
    Jul 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    I'd like it so that when the customer signs up they can choose a size and I'll have a record of it. It's to help segment out specific products for specific sizes.

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

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    It sounds like you could benefit from a more custom solution. Typically, attributes are used to select size of a product. So it sounds like you would like to store attribute sizes and auto-select for the customer's future orders. That will make their shopping experience easier, and your store management easier. Of course, that would require totally custom code. Just an idea for consideration :)

    For now, if you want to manually look at their size from the Customers page, and match it up to the order each time, then you can use a simple dropdown.

    The How Did You Hear About Us module has a built-in dropdown and you can edit the fields from the admin. This way, you can easily manage sizes without having to modify code each time: http://www.zen-cart.com/index.php?ma...roducts_id=186

  3. #63
    Join Date
    Jul 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    I managed to get it to display the dropdown using an array, but it's not showing the data in the array for the dropdown.

    What I have is this:

    $extrafieldArray = array();
    $extrafieldArray[] = array('id' => '1', 'text' => '1');
    $extrafieldArray[] = array('id' => '2', 'text' => '2');
    $extrafieldArray[] = array('id' => '3', 'text' => '3');
    $extrafieldArray[] = array('id' => '4', 'text' => '4');
    $extrafieldArray[] = array('id' => '5', 'text' => '5');

    for the array

    and then for the dropdown on the registration page:

    <?php echo zen_draw_pull_down_menu('extrafield',$extrafieldArray) . (zen_not_null(ENTRY_EXTRAFIELD_TEXT) ? '<span class="alert">' . ENTRY_EXTRAFIELD_TEXT . '</span>': ''); ?>

    Any ideas perhaps?

    Thank you!

  4. #64
    Join Date
    Aug 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    @jackie - thanks for this mod - it is so close to what I need. I've just set up a florist shop for my wife and she wants clients to be able to enter specific information when they register (eg wifes/partners birthday, specific instructions (eg preferred colours). She can then target them with specific bouquets.

    @jahmar - I think what you have done, is what I need - I have added an one additional field (added sql to sql and .php files) but I still only see one extrafield box. jahmar is there any way you could share the files you updated so I can see what you changed?

    I can send across my email if there is any chance -

    Rabbs

  5. #65
    Join Date
    Aug 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    Sorry @jackie - you posted earlier:

    @ntestinfo11, yes you can add more fields by following the instructions in readme.txt file

    I only have instructions.txt (I know this is readme) - but it doesn't say how to add more fields. Is there another readme.txt or...

    Thanks in advance

    Rabbs

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

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    Hmm, perhaps the instructions aren't in there... I will check into that. Basically, the way you would make new fields is by duplicating the "extrafield" throughout the files.

    For example, in this file:
    includes/templates/YOUR_TEMPLATE/tpl_account_edit_default.php

    You would find this code and duplicate it, then add your new variable instead of "extrafield". Let's say, "extrafield2".

    Code:
    <!-- start extrafield -->
    <label class="inputLabel" for="extrafield"><?php echo ENTRY_EXTRAFIELD; ?></label>
    <?php echo zen_draw_input_field('extrafield', $account->fields['customers_extrafield'], 'id="extrafield"') . (zen_not_null(ENTRY_EXTRAFIELD_TEXT) ? '<span class="alert">' . ENTRY_EXTRAFIELD_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />
    <!-- end extrafield -->
    Do the same for all the remaining files... find the variable "extrafield" and copy then modify the code.

    Then, you'll want to run the Install script for your new field. Swap out "extrafield" for your new variable in the install.txt script, then run in SQL patches.

  7. #67
    Join Date
    Aug 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    Thanks Jackie

    Really appreciate your quick response - found my errors after some digging and it's now working - I missed changing the extrafield_defines.php - had a brain freeze...

    Many thanks!

  8. #68
    Join Date
    Nov 2009
    Location
    Aurora, IN
    Posts
    37
    Plugin Contributions
    0

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    I did step 3, checked all the files and they seem to be correct, and all I get on my create account page is the following:

    ENTRY_EXTRAFIELD [Text box] ENTRY_EXTRAFIELD_TEXT

    Any ideas? I'm running 1.3.8a.

    I want the label for the entry to be "Wholesale Group", and I'd love to have a dropdown box where they can select one of many options. Can you help me with that?

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

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    Looks like you are missing the language definitions files. Try re-uploading the file in \includes\languages

  10. #70
    Join Date
    Sep 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    The add-on worked fine. My question is how to add drop down list in this extra field. For example, the extra filed is for the Souce of Information:

    option 1: Goggle Search
    option 2: yahoo search
    option 3: Magizine ads

    etc.

    Thanks!

 

 
Page 7 of 20 FirstFirst ... 5678917 ... LastLast

Similar Threads

  1. v150 additional create account fields for wholesale customer
    By newbieOK in forum General Questions
    Replies: 2
    Last Post: 23 Aug 2012, 04:17 AM
  2. Extra Fields for Customer Sign Up
    By divagal in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 31 Jan 2012, 11:51 PM
  3. Create Account - modify existing fields or add extra fields?
    By sopretty in forum General Questions
    Replies: 4
    Last Post: 30 Jul 2010, 08:26 PM
  4. Extra Box on Account Sign-up Page
    By paulssports in forum General Questions
    Replies: 6
    Last Post: 1 Dec 2006, 05:50 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR