Page 13 of 27 FirstFirst ... 3111213141523 ... LastLast
Results 121 to 130 of 263
  1. #121
    Join Date
    Jan 2009
    Location
    Queensland, Australia
    Posts
    117
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    just in reply to my previous message. I have followed 'danilyn22' and installed a previous mod and it works perfect now. So not sure about the latest download. thanks again for the mod.

  2. #122
    Join Date
    Jan 2009
    Location
    Queensland, Australia
    Posts
    117
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Another problem has reared it head. Cant find an answer to this one either. I have installed 1.05 sussessfully, but it sends an email without the bit about the incentive code etc. hat do I have to do to enable this. I have tried putting in a legitimate code, but that doesnt work. thanks. :

  3. #123
    Join Date
    Jan 2009
    Location
    Queensland, Australia
    Posts
    117
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Quote Originally Posted by Didee View Post
    Another problem has reared it head. Cant find an answer to this one either. I have installed 1.05 sussessfully, but it sends an email without the bit about the incentive code etc. what do I have to do to enable this. I have tried putting in a legitimate code, but that doesnt work. thanks. :
    Can anyone help with this little problem, it is probably only a simple fix,,,,,, thanks. I had a look in the php and the wording is in there, but it doesnt show up in the actual email .

  4. #124
    Join Date
    Jan 2009
    Location
    Queensland, Australia
    Posts
    117
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Quote Originally Posted by Didee View Post
    Can anyone help with this little problem, it is probably only a simple fix,,,,,, thanks. I had a look in the php and the wording is in there, but it doesnt show up in the actual email .
    It was a simple fix. thanks anyways.

  5. #125
    Join Date
    May 2008
    Posts
    20
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    For version 1.06 it wasn't sending a welcome email when checked. I changed line # 420 in add_customers_backend.php in the admin folder from:

    if($send_welcome == 1)

    to

    if($send_welcome == 'send')

    And now it sends the welcome email successfully.

    It did not cause the foreach error to go away though. Looking into it still. If I figure it out I will post an update.

  6. #126
    Join Date
    May 2008
    Posts
    20
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Okay, I think I got it. In the add_customers_backend.php file in the admin folder at line #695 comment out the "$errors = false". So change this:

    if (count($errors)) {
    $cInfo = new objectInfo($_POST);
    $processed = true;
    } else {
    $errors = false;
    }

    to this:

    if (count($errors)) {
    $cInfo = new objectInfo($_POST);
    $processed = true;
    } else {
    //$errors = false;
    }

    ALSO in the add_customers.php file in the admin change line # 21 to: 'if (count($errors) < 1) {'

    So From this:

    if (count($errors) <= 1) {
    insert_customer();
    $feedback[] = 'Customer inserted successfully';
    }

    To This:

    if (count($errors) < 1) {
    insert_customer();
    $feedback[] = 'Customer inserted successfully';
    }

    This will get rid of the foreach error and it will also prevent the customer from being added even when there was one error.
    Last edited by christamcc; 4 Aug 2009 at 05:50 PM.

  7. #127
    Join Date
    Jan 2006
    Location
    Toronto, Ontario, Canada
    Posts
    183
    Plugin Contributions
    3

    Default Re: Add Customers from admin addon

    Quote Originally Posted by christamcc View Post
    Okay, I think I got it.
    Yes you did :) Thank you. I had already caught that line 21 issue, but the other one is what i was missing. Thanks again.
    Ahmad Rahman
    TRUST IT | web site design and development
    mobile: 416.828.0224 | email: [email protected]
    www.trustit.ca

    For IT solutions how you want IT, when you want IT, TRUST IT.

  8. #128
    Join Date
    Jun 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Hello fellow zenners

    Is this addon complete and functioning ? My products are due for a firm ware update and it would be handy if I could add my customers from outside Zencart to manage upgrades and product updates more effectively.

    Cheers

    Rian Herrick
    www.buygopro.co.nz

  9. #129
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: Add Customers from admin addon

    I am also having trouble with the CSV import. I can select the file for import, but the page refreshes without any errors. Have tried both options (part and file) for importing. I was getting the "cannot move" file error, so I changed the file location as recommended a few posts back, but still no go.

    I also did the above mentioned fixes to get the single customer entry working with welcome e-mail.

    Any idea? I also use easypopulate on this server without any problems like this.

    Thanks

  10. #130
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: Add Customers from admin addon

    Okay... well. I made some progress... I have been able to verify that the upload file does properly upload and get copied over the the correct temp folder.

    NOW the problem seems to be with the CSV file. I was able to upload the included sample file correctly. BUT!

    I am on Mac, using excel for mac and openoffice.org. When I edit this file, I start getting problems with no input. Also, the script doesn't like data to be enclose by quotes (the standard for export from openoffice).

    Wouldn't this script work better using fgetcsv() ???

    Any suggesting on what's up with mac/csv and this script?

    -Thanks!

 

 
Page 13 of 27 FirstFirst ... 3111213141523 ... 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