Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Sep 2009
    Location
    Liverpool
    Posts
    96
    Plugin Contributions
    0

    Default "Add Customers From Admin" mod

    I have recently installed this mod and when I did a test creating a new account, I did not receive the welcome email even tho I checked the box when I was creating my account. What steps can I take to fix this?

  2. #2
    Join Date
    Oct 2009
    Location
    Southwest Florida
    Posts
    19
    Plugin Contributions
    0

    Default Re: "Add Customers From Admin" mod

    hello blackwolf

    I also recently installed this mod and have the same result. Did you get an answer to your question?

  3. #3
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: "Add Customers From Admin" mod

    If you wanna add new customers, you should create a customer account as you would be a customer of your wesbite. If it is "too slow" for you to sign up this way, most customers probably think the same way and dont want to sign up to buy from you.

  4. #4
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: "Add Customers From Admin" mod

    What version of the mod did you install?
    I just installed the mod that bunyip updated (which corrected previous deficiencies) today and uploaded three separate CSV files and added customers one at a time with no errors.

    Emails (with password) were sent to the customers.

    Tina

  5. #5
    Join Date
    Oct 2009
    Location
    Southwest Florida
    Posts
    19
    Plugin Contributions
    0

    Default Re: "Add Customers From Admin" mod

    Tina

    I installed version 1.6 from bunyip also.
    When I add the customer, the customer is added to the list of customers however I get the following error:

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

    I have the email archiver installed also. When a customer is created the email is never generated. It never shows up in the email datbase.

  6. #6
    Join Date
    Mar 2009
    Location
    Fremont, Wisconsin, United States
    Posts
    50
    Plugin Contributions
    1

    Default Re: "Add Customers From Admin" mod

    I just installed this mod and had the same problem. The customers that I add with this mod are calling in and want to get a catalog of what I carry. I am using my email address. I have tried using several different options and it is still giving this error. I just installed this mod this morning and the emails never sent.

    I am using 1.3.8a, Bluehost hosting.

  7. #7
    Join Date
    Nov 2005
    Location
    New Zealand
    Posts
    16
    Plugin Contributions
    0

    Default Re: "Add Customers From Admin" mod

    I also found that the Welcome email is not sent when adding customers one at a time i.e. not through bulk upload. I looked at the code and found the error.
    Change line 320 in add_customers_backend.php from:
    PHP Code:
    $send_welcome zen_db_prepare_input($_POST['send_welcome']); 
    to
    PHP Code:
    $send_welcome = (isset($_POST['send_welcome']) && (strtolower($_POST['send_welcome']) == 'on')) ? 0
    and change line 406 in add_customers.php from:
    HTML Code:
    <input type="checkbox" id="send_welcome" value="send" name="send_welcome" />
    to
    HTML Code:
    <input type="checkbox" id="send_welcome" name="send_welcome" />
    This fixes the email not sent problem.
    Last edited by bh_scripts; 25 Nov 2009 at 10:36 PM. Reason: fixed typo

  8. #8
    Join Date
    Jan 2009
    Posts
    20
    Plugin Contributions
    0

    Default Re: "Add Customers From Admin" mod

    Thank you for the fix! I had the same problem and now it works

    Dale

  9. #9

    Default Re: "Add Customers From Admin" mod

    Quote Originally Posted by bh_scripts View Post
    I also found that the Welcome email is not sent when adding customers one at a time i.e. not through bulk upload. I looked at the code and found the error.
    Change line 320 in add_customers_backend.php from:
    PHP Code:
    $send_welcome zen_db_prepare_input($_POST['send_welcome']); 
    to
    PHP Code:
    $send_welcome = (isset($_POST['send_welcome']) && (strtolower($_POST['send_welcome']) == 'on')) ? 0
    and change line 406 in add_customers.php from:
    HTML Code:
    <input type="checkbox" id="send_welcome" value="send" name="send_welcome" />
    to
    HTML Code:
    <input type="checkbox" id="send_welcome" name="send_welcome" />
    This fixes the email not sent problem.
    I have an odd problem.

    Without the above modification, the CSV import sends email but adding a customer via the web form does not.

    However after doing the above, now adding a customer via the web form sends email but the CSV import does not.

    What am I doing wrong?

    Cheers,

    Drew

  10. #10
    Join Date
    Nov 2005
    Location
    New Zealand
    Posts
    16
    Plugin Contributions
    0

    Default Re: "Add Customers From Admin" mod

    Had a more detailed look and found the web form and the bulk upload send two different values for "send_welcome" setting. Hence a slight change to original instructions.

    Change line 320 in add_customers_backend.php to:
    PHP Code:
    $send_welcome = (isset($_POST['send_welcome']) && (strtolower($_POST['send_welcome']) == 'on' || $_POST['send_welcome'] == 1)) ? 0
    Haven't tested it so please advise if works OK.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. "Add Customers from Admin" Mod help
    By Didee in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 24 Nov 2009, 03:20 PM
  2. Remove "Add: [ ]" and "Add selected products to cart" from product pages? possible?
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Sep 2008, 03:13 AM
  3. Install "Add customers from admin"
    By Astarkley in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 29 Aug 2008, 08:33 PM
  4. Replies: 3
    Last Post: 3 Jun 2008, 11:41 AM
  5. Add Customers from Admin Mod - Nickname
    By thomasw98 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Nov 2007, 04:04 AM

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