Page 9 of 27 FirstFirst ... 789101119 ... LastLast
Results 81 to 90 of 263
  1. #81
    Join Date
    Nov 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Quote Originally Posted by SalonRoyalty View Post
    No, I mean I've already switched to 5 before you did. If you had looked at my earlier post you would have seen that I already said that!
    No, I didn't see that because you added it as an edit to your original post. The email I got for your post didn't have that, and I had no reason to go back and reread your message, so I didn't know that you'd added something to it. It is for this reason that I never add things to a message after it's been posted since people who read the messages via the email notices are not going to see the addition.

  2. #82
    Join Date
    Feb 2009
    Posts
    49
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Fair point...didn't know that. Sorry if I came of snippy...just getting frustrated with this thing.

  3. #83
    Join Date
    Nov 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Oh, trust me. I know exactly how you feel.

    If you can't find a way to get the bulk upload working, an alternative is to use one of the CSV to SQL conversion programs that are out there. That's what I was considering. It will take more work to do it that way since you have to split the customer data into two SQL files, one that you install into the Customers table and the other into the Address_book table because the info for each customer doesn't all go into one place in the database. You also need to do some sequential numbering for one of the fields. If you have any experience with working with databases in MySQL, you should be able to figure it out by taking a look at the structure and contents of those two tables, seeing what records go where.

  4. #84
    Join Date
    Nov 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Presently, the email format preference is defaulting to HTML on the form. I need to change it to TEXT. I tried changing line 74 in add_customers_backend.php from 'customers_email_format'=>'HTML' to 'customers_email_format'=>'TEXT' , but that didn't work. The default for the store is set to TEXT.

  5. #85
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,023
    Plugin Contributions
    61

    Default Re: Add Customers from admin addon

    Do you have "Mime HTML" enabled in the email configuration of ZC?


    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  6. #86
    Join Date
    Nov 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    No. I want to completely eliminate the option of HTML emails. I suppose that if I don't have that enabled, it wouldn't send them out as HTML regardless of what was selected.

  7. #87
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,023
    Plugin Contributions
    61

    Default Re: Add Customers from admin addon

    Hi Maureen,

    Try changing this
    Code:
    , 'customers_email_format'=>'HTML'
    to

    Code:
    , 'customers_email_format'=>$customers_email_format
    Then add column customers_email_format to your CSV using TEXT as the option.

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  8. #88
    Join Date
    Nov 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    I think you misunderstood what I was trying to do. I wanted to change the default selection on the form itself that so that when a customer is being added in manually, something that will happen on occasion, the person entering in the info doesn't have to remember to change HTML to TEXT for the email format.

    I managed to figure it out for myself this morning. I made the following change to add_customers.php.

    Code:
    $email_pref_text = ($cInfo->customers_email_format == 'TEXT') ? true : false;
    changed to

    Code:
    $email_pref_text = ($cInfo->customers_email_format == 'TEXT') ? true : true;
    By the way, since the default setting in the database is to put TEXT into the email preference field, if there is nothing in the CSV file to override that, any customer entered via CSV is going to automatically be set to TEXT, so what you suggested wouldn't be necessary for my situation. Adding that column, however, would be useful for store owners who want to preserve customer email preference settings from an old store. In that situation, I don't think it would be necessary to make that change to add_customers_backend.php, though.

    Thanks anyway for your attempt to help.

  9. #89
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,023
    Plugin Contributions
    61

    Default Re: Add Customers from admin addon

    Hi Maureen,

    Glad you got it figured out...

    I did misunderstand as when you referenced add_customers_backend.php I automatically assumed your were referring to the bulk feature which we added to the module.

    add_customers.php is part of the original mod and we have made just a couple of tweaks to it.

    The change I posted would be handy to keep current email preferences and would be necessary to make the accounts a mix of html and text using the bulk import.

    I would like to add some other stuff to this mod and we have been working on it, but time is short ....

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  10. #90
    Join Date
    Feb 2009
    Posts
    31
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Hope this thread is still going...I added successfully the contrib but I wa having this error message: Warning: move_uploaded_file(/usr/www/users/amellis/practitioners/import.csv) [function.move-uploaded-file]: failed to open stream: Permission denied in /usr/www/users/amellis/practitioners/admin/add_customers_backend.php on line 28

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/usr/tmp/php1WwSF0' to '/usr/www/users/amellis/practitioners/import.csv' in /usr/www/users/amellis/practitioners/admin/add_customers_backend.php on line 28

    I talked to my hosting company and they helped me to use cgiwrap to run PHP files as cgi (if I am correct). Now the error messages are gone but nothing happens. PHP 5.2.9 is used on the hosting server. What else can it be? MAny, many thanks

 

 
Page 9 of 27 FirstFirst ... 789101119 ... 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

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