Results 1 to 10 of 263

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Add Customers from admin addon

    What issue does this fix????
    Quote Originally Posted by boozubay View Post
    FIXED not working for 1.5!

    add customers.php change line 172

    <form method="POST" enctype="multipart/form-data" action="' . $_SERVER['PHP_SELF'] . '">
    <td class="formAreaTitle">' . CATEGORY_PERSONAL . '</td><input name="action2" type="hidden" value="add_complete" />

    Also change line 8

    $action = (isset($_GET['action2']) ? $_GET['action2']:false);
    $error = false;
    $processed = false;
    $cInfo = array();

    require_once('add_customers_backend.php');

    //for single customer insert
    if ($action2) {
    $array = validate_customer();
    $errors = $array['errors'];
    $cInfo = $array['cInfo'];

    if (count($errors) < 1) {
    insert_customer();
    $feedback[] = 'Customer inserted successfully';
    }
    }
    //end of single customer insert


    Works perfectly now!
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  2. #2

    Default Re: Add Customers from admin addon

    This makes the mod work in ZC150. But as we know...making it work is only half the equation.

    Is it also secure and PCI compliant?


    Quote Originally Posted by DivaVocals View Post
    What issue does this fix????
    Originally Posted by boozubay
    FIXED not working for 1.5!

    add customers.php change line 172

    <form method="POST" enctype="multipart/form-data" action="' . $_SERVER['PHP_SELF'] . '">
    <td class="formAreaTitle">' . CATEGORY_PERSONAL . '</td><input name="action2" type="hidden" value="add_complete" />

    Also change line 8

    $action = (isset($_GET['action2']) ? $_GET['action2']:false);
    $error = false;
    $processed = false;
    $cInfo = array();

    require_once('add_customers_backend.php');

    //for single customer insert
    if ($action2) {
    $array = validate_customer();
    $errors = $array['errors'];
    $cInfo = $array['cInfo'];

    if (count($errors) < 1) {
    insert_customer();
    $feedback[] = 'Customer inserted successfully';
    }
    }
    //end of single customer insert


    Works perfectly now!
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  3. #3
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Add Customers from admin addon

    Quote Originally Posted by ScriptJunkie View Post
    This makes the mod work in ZC150.
    Not according to his post..

    Quote Originally Posted by boozubay View Post
    FIXED not working for 1.5!

    add customers.php change line 172
    So my original question still stands.. what exactly does this posted fix FIX, and where is this change to be made.. there's just not enough information to know what boozubay's post does..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #4

    Default Re: Add Customers from admin addon

    Quote Originally Posted by DivaVocals View Post
    Not according to his post..

    Originally Posted by boozubay
    FIXED not working for 1.5!

    add customers.php change line 172
    So my original question still stands.. what exactly does this posted fix FIX, and where is this change to be made.. there's just not enough information to know what boozubay's post does..
    I'm interpreting that he has fixed the "not working for 1.5" issue. I agree with you the statement is ambiguous and open to various interpretations though. I also agree that a LOT more information is needed, as I indicated in my response to his post.

    My concern, in addition to the ambiguity of his statement, is the way in which this issues was "fixed". There are other files in the fileset that need to be cleaned up and/or removed altogether, the readme should be updated, and it should be tested for functionality, security, and compliance.

    Finally, if it passes all of the above, the updated fileset should be submitted to the downloads area, rather than a code tweak posted in the support thread.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Add Customers from admin addon

    Honestly I don't think the comment meant that he fixed/updated this add-on for Zen Cart v1.5.. I think he was addressing a specific problem, but there are no details on what problem is being addressed/fixed and I cannot tell from the snippet he posted..

    Quote Originally Posted by ScriptJunkie View Post
    I'm interpreting that he has fixed the "not working for 1.5" issue. I agree with you the statement is ambiguous and open to various interpretations though. I also agree that a LOT more information is needed, as I indicated in my response to his post.

    My concern, in addition to the ambiguity of his statement, is the way in which this issues was "fixed". There are other files in the fileset that need to be cleaned up and/or removed altogether, the readme should be updated, and it should be tested for functionality, security, and compliance.

    Finally, if it passes all of the above, the updated fileset should be submitted to the downloads area, rather than a code tweak posted in the support thread.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #6

    Default Re: Add Customers from admin addon

    Quote Originally Posted by DivaVocals View Post
    Honestly I don't think the comment meant that he fixed/updated this add-on for Zen Cart v1.5.. I think he was addressing a specific problem, but there are no details on what problem is being addressed/fixed and I cannot tell from the snippet he posted..
    Hopefully he will return to post more information.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  7. #7
    Join Date
    Apr 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    I have V1.5 installed this add on and it does not even show the add customer button, also tried a few of the changes discussed here but it still does not work, does anyone have this working or is there another add on that does work?

 

 

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