Page 1 of 14 12311 ... LastLast
Results 1 to 10 of 132
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,216
    Plugin Contributions
    80

    Default Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

    This is the support thread for the Add Customers from Admin v2.0 plugin, created for v1.5.0 and later and is based on v1.08 of the plugin created for v1.3.x (http://www.zen-cart.com/downloads.php?do=file&id=454).

    The plugin has not yet been submitted to the Plugins area for distribution as I am still "gathering" requirements. Here is my initial list:
    • Moved all language-specific text to the language file. Note: Additional defines appear as English within the Czech language files.
    • Added auto-install script for v1.5.0+ admin
    • If the currently-selected Country has zones, a drop-down menu of associated zones is presented; otherwise, the admin user must enter a "State" value.
    • Updated the CSV help text to be more 'robust'
    • Added basic validation for world telephone numbers
    • Added preg_match validation for US, CA and GB postcodes
    • User-selectable formatting for the Date of Birth fields
    • BUGFIX: Missing check for required Company field
    • BUGFIX: Incorrect check for minimum first-name length
    • BUGFIX: Unspecified (i.e. empty) DOB accepted when the DOB is required
    • BUGFIX: Non-zero "New Signup Gift Voucher Amount" resulted in a white-screen
    • BUGFIX: Address records for countries that have zones were incorrectly created


    I'm investigating the request to add a "Resend Welcome Message", but require guidance as to how current users envision this feature to work.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,216
    Plugin Contributions
    80

    Default Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

    This updated version is now available within the Plugins area: http://www.zen-cart.com/downloads.php?do=file&id=1477.

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

    Default Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

    Quote Originally Posted by lat9 View Post
    This updated version is now available within the Plugins area: http://www.zen-cart.com/downloads.php?do=file&id=1477.
    Rockin'!!!!!
    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
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

    Quote Originally Posted by lat9 View Post
    This updated version is now available within the Plugins area: http://www.zen-cart.com/downloads.php?do=file&id=1477.
    Very Cool!

    Quote Originally Posted by lat9 View Post
    I'm investigating the request to add a "Resend Welcome Message", but require guidance as to how current users envision this feature to work.
    If I was coding this, I would start with a check to see if the customer has logged into the store before. I personally think it would be best to NOT show any "Resend Welcome Message" if the customer has already visited the site and logged in.

    If the customer has not logged into the site, I see two possible ways to let an admin "Resend Welcome Message". Both are from the customer's Admin Page.
    1. A button inside the box to the right of a selected customer.
    2. A image link in the "actions" column next to the customer name (My preference).

    You can then either make a new email template combining the "Welcome Email" and "Password Reset" email... or just mimic the body of these and use the generic email template. You will probably want to update the customer fields similar to how the password reset link and template work - so when the customer logs in the first time they are required to change their password.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,216
    Plugin Contributions
    80

    Default Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

    @lhungril: Thanks for the input. I especially like the "don't resend the welcome email if the customer's already logged in" ... that's intuitive!

    Regarding the placement of the "Resend Email" function, I've currently got that imbedded as a "sub-task" of the Add Customers tool, with an option to reset their password. Let me know if this works for you. There's a screenshot that's part of the plugin's zip-file (I would include it here, but I think it will wind up too small to see).
    Attached Images Attached Images  

  6. #6
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

    Automatic Image optimizers are annoying, no?

    I'd say place the feature where ever you feel current users will expect to find the feature :)

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,216
    Plugin Contributions
    80

    Default Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

    Since this plugin has no core-file overwrites and includes no calls to either htmlentities or htmlspecialchars, it's Zen Cart v1.5.1-ready!

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,216
    Plugin Contributions
    80

    Default Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

    Well, I spoke too soon ... lhungil pointed out the new zen_create_PADSS_password function for v1.5.1 and, implementing that, I ran across a couple of bug fixes too:

    * Updated for v1.5.1 to use zen_create_PADSS_password (if present) to create the added customer's password. If the function is not present, continues to use zen_create_random_value.
    * BUGFIX: Admin copy of email contained EMAIL_TEXT instead of the text.
    * BUGFIX: If the Postcode mininum value was set to 0 and the value was not supplied, the insert failed due to invalid postcode format.
    * BUGFIX: If a customer has already logged into the store, don't include them in the list to "Resend Welcome Email". Thanks to lhungil for pointing this out, too!

    v2.0.1 has been submitted to the Plugins area. The only file changed in this version is /YOUR_ADMIN/add_customers_backend.php.

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

    Default Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

    Quote Originally Posted by lat9 View Post
    Well, I spoke too soon ... lhungil pointed out the new zen_create_PADSS_password function for v1.5.1 and, implementing that, I ran across a couple of bug fixes too:

    * Updated for v1.5.1 to use zen_create_PADSS_password (if present) to create the added customer's password. If the function is not present, continues to use zen_create_random_value.
    * BUGFIX: Admin copy of email contained EMAIL_TEXT instead of the text.
    * BUGFIX: If the Postcode mininum value was set to 0 and the value was not supplied, the insert failed due to invalid postcode format.
    * BUGFIX: If a customer has already logged into the store, don't include them in the list to "Resend Welcome Email". Thanks to lhungil for pointing this out, too!

    v2.0.1 has been submitted to the Plugins area. The only file changed in this version is /YOUR_ADMIN/add_customers_backend.php.
    You and lhungil rock!!!
    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.

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,216
    Plugin Contributions
    80

    Default Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

    v2.0.1 is now available from the Plugins area.

    Note: Post #3 in this thread points to a necessary v1.5.1 core-file BUGFIX if your cart is not installed in a file-system root.

 

 
Page 1 of 14 12311 ... LastLast

Similar Threads

  1. Save For Later Support Thread
    By swguy in forum All Other Contributions/Addons
    Replies: 190
    Last Post: 27 Feb 2022, 04:11 PM
  2. v155 Default Attribute - Add from product list [Support Thread]
    By swguy in forum Addon Admin Tools
    Replies: 9
    Last Post: 6 Jul 2020, 01:13 PM
  3. v151 Black and White Admin [Support Thread]
    By vvomble in forum Addon Templates
    Replies: 1
    Last Post: 1 Jun 2013, 04:04 PM
  4. add customers from admin
    By stevebrett in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 15 May 2009, 02:24 AM
  5. Add Customers from Admin
    By bigbadboy in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 13 Apr 2008, 02:42 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