Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2010
    Posts
    9
    Plugin Contributions
    0

    Default How can I stop requiring address on address book page?

    I am trying to make it so when someone is creating a new address book entry they do NOT have to enter an actual address. All I want them to have to enter is "Company Name", "First Name", "Last Name". Any help would be appreciated.


    Also is there a way to cleanup the page on successful account creation. I already have it set to not require address etc on creating an account, but when someone creates an account I get things that look like this:

    Testtest (Company Name)
    Name Name

    ,
    Country

    Those two spaces and the , between them gets to be very annoying. Thanks for the help!

  2. #2
    Join Date
    Feb 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stop requiring address on address book page

    Scratch all of this. I have decided to just remove the address book completely as I don't need it. What I am trying to do now is add a Company field to the account_edit page so that users can just change their company name through this, as this is the only real reason I would have used the address book.

    Here is the code I am trying to use, can someone please help me with what I am doing wrong?

    Code:
    <label class="inputLabel" for="company"><?php echo ENTRY_COMPANY; ?></label>
    <?php echo zen_draw_input_field('company', $account->fields['entry_company'],  'id="company"') . (zen_not_null(ENTRY_COMPANY_TEXT) ? '<span class="alert">' . ENTRY_COMPANY_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />

 

 

Similar Threads

  1. Replies: 9
    Last Post: 7 May 2016, 06:39 PM
  2. address format different on checkout page vs address book
    By ladyhypnotist in forum General Questions
    Replies: 2
    Last Post: 22 May 2009, 04:13 PM
  3. Move Address Book entries on Shipping Address page
    By giftmeister in forum Basic Configuration
    Replies: 0
    Last Post: 17 May 2009, 07:30 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