Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2009
    Location
    USA
    Posts
    14
    Plugin Contributions
    0

    Idea or Suggestion Add customers from Admin addon error

    what could be causing this error

    Invalid argument supplied for foreach() in D:\Hosting\4031635\html\mysite\admin\add_customers.php on line 71

    any support would be great thanks.

    JP21

    I add a customer for the first time just now and this error popped up
    Last edited by 21zerogo; 29 Jul 2009 at 05:16 PM. Reason: add def.

  2. #2
    Join Date
    Apr 2006
    Location
    Midland TX
    Posts
    428
    Plugin Contributions
    0

    Default Re: Add customers from Admin addon error

    Have i miss something, why is there not a drop down box for states? There is for country's.

    I also get the error on line 71, just ignore it.

    This is a much needed mod for people that are wanting to switch from another shopping cart to ZenCart and need to upload thousand of customers. If it was not for this mod I would still be with my other shopping cart but it is a pain in the but to rig this mod to work good enough to get customers in DB. As is will give errors on the import if no gender, will accept only US, zip code (leading 0 is dropped on some states), telephone numbers, won't import international, and maybe more.

    To prevent adding "female (f) or male (m)" for each customer, to get around this just add code to accept (n) which will allow the customer to be imported. Most shopping carts don't deal with gender and on thousands + or - customers to import it will take many hours to set gender correct. What will happen is when customer opens their customer file, zencart will make customer select a gender before saving.

    Many thanks to one's that got this mod to this point but needs a lot of polish and a little intelligences in variables like accept US, or USA, United States, or United States of America.

    This would make a great project for one of you code gurus.

 

 

Similar Threads

  1. Add Customers from admin addon
    By jordan8201 in forum All Other Contributions/Addons
    Replies: 262
    Last Post: 26 Nov 2014, 02:11 PM
  2. 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
  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. in_array error displays after add customers from admin mod added
    By ellentracymac2 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 27 Jan 2009, 10:28 PM
  5. 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

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