Page 12 of 27 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 263
  1. #111
    Join Date
    Dec 2007
    Location
    San Diego
    Posts
    2
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    I have installed everything and it works, with the exception of the csv upload. I get the following message "There were errors * Could not move file", any ideas. Please help

  2. #112
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Add Customers from admin addon

    Quote Originally Posted by epickz View Post
    I have installed everything and it works, with the exception of the csv upload. I get the following message "There were errors * Could not move file", any ideas. Please help
    It's possible that your server is configured to not allow or include the server variable $_SERVER['DOCUMENT_ROOT']

    try replacing this line of code at line 26 of admin/add_customers_backend.php:
    PHP Code:
    $path $_SERVER['DOCUMENT_ROOT'] . '/' $files['name']; 
    with this:
    PHP Code:
    $path DIR_FS_ADMIN '/backups/' $files['name']; 
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  3. #113
    Join Date
    Dec 2007
    Location
    San Diego
    Posts
    2
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Worked like a charm. Thanks a lot. Great add-on.

  4. #114
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Hey all,

    Somone else asked this very question in this thread and didnt get an answer so i just want to the echo the question to get a response.

    I want to set a default country when i use the add customer via admin.

    Personally i want UK, but for others they may want wherever, so a generic response would be great.

    regards

    Andy.

  5. #115
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Add Customers from admin addon

    Edit admin/add_customers.php
    Find this section of code:
    PHP Code:
    zen_draw_pull_down_menu('entry_country_id'zen_get_countries(), $cInfo->entry_country_id
    and change it to this:
    PHP Code:
    zen_draw_pull_down_menu('entry_country_id'zen_get_countries(), (zen_not_null($cInfo->entry_country_id) ? $cInfo->entry_country_id 222)) 
    where the '222' at the end is the country_id of your desired default country (222 = United Kingdom, 223 = United States)
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  6. #116
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Add Customers from admin addon

    Alternatively, you could replace the 222 in the code suggested above to be SHOW_CREATE_ACCOUNT_DEFAULT_COUNTRY - that will set the default to whatever you have selected for the default account creation country at Admin > Configuration > Customer Details
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  7. #117
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Thanks Buny,

    i used:

    zen_draw_pull_down_menu('entry_country_id', zen_get_countries(), (zen_not_null($cInfo->entry_country_id) ? $cInfo->entry_country_id : SHOW_CREATE_ACCOUNT_DEFAULT_COUNTRY ))

    at first it didnt work but then i realised the code is on lines 793 and 798

    thanks anyway for the quick reply :)

    Andy.

  8. #118
    Join Date
    Apr 2008
    Location
    London
    Posts
    25
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Hello.

    Is it possible to add nickname field to Add customer from admin.

    Thank you.

  9. #119
    Join Date
    Jan 2009
    Location
    Queensland, Australia
    Posts
    117
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Quote Originally Posted by bunyip View Post
    danilyn,

    in the file admin/add_customers.php (the latest version),
    find this line of code at about line 406:
    Code:
    <input type="checkbox" id="send_welcome" value="send" name="send_welcome" />
    and modify it to read:
    Code:
    <input type="checkbox" id="send_welcome" value="1" name="send_welcome" />
    I have the exact same prolem as danilyn22. I followed your suggestion above, but then I couldnt get to my admin to log in. So had to reverse it. Not sure on what to do now, as I have read all thru the threads. I have the latest mod.

  10. #120
    Join Date
    Jan 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Hello,
    I installed the mod, and am able to add the customer almost completely successfully. The new customer shows up in the customer list and I am able to send an email afterwards in the customer list. But, on adding the customer and selecting "send welcome email", no email is sent, and an error

    "Warning: Invalid argument supplied for foreach() in /home/storename/public_html/store/admin/add_customers.php on line 71

    (my italics added for obfuscation)

    Any ideas?

    With thanks
    Eastern

 

 
Page 12 of 27 FirstFirst ... 2101112131422 ... LastLast

Similar Threads

  1. how do i install the add customers through admin addon
    By Matt Smith in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 12 Oct 2009, 11:46 AM
  2. Add customers from Admin addon error
    By 21zerogo in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 30 Jul 2009, 02:12 AM
  3. How do I set default country when using Add Customers via Admin addon?
    By Andy_GS in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Apr 2009, 09:40 AM
  4. Adding customers from admin side, without an addon?
    By dcb37ga in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Dec 2008, 05:22 AM
  5. Add customer from Admin addon
    By wireyourworld in forum Managing Customers and Orders
    Replies: 3
    Last Post: 4 Apr 2008, 05:45 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