Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

    Default Resend Email Functionality

    I would like to see two features added to ZenCart.

    The first is a button on the admin/customers.php page, that says "Resend Welcome Email". When clicking this button, the website will resend the welcome email that is generated upon account creation, for the currently selected customer.

    The second is a button on the admin/orders.php page, that says "Resend Order Confirmation Email". When clicking the button, the website will resend the order confirmation email that is generated when a customer submits the order for processing, for the currently selected order.

    These are necessary because of customers getting their email address entered incorrectly and the ZenCart package having no process to validate emails before using them.

    When a customer places an order, and doesn't get an email from the website, it isn't the customer's fault. The customer cannot do anything wrong, speaking from the sales perspective. Therefore, the store owner needs a way to gracefully recover from a data entry mistake made by the customer in filling out their email address.

  2. #2
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

    Default Re: Resend Email Functionality

    Of course, these features will be used by the store owner after the email address issue has been corrected.

  3. #3
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

    Default Re: Resend Email Functionality

    Well, being the impatient type, I wrote this feature. I had to modify the order.php class to store the initial email information in a table, and then I modified the admin/orders.php class to show a button on an order and also retrieve the information and resend the email.

    I will see if I can get it wrapped up and uploaded as a module.

  4. #4
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Resend Email Functionality

    Quote Originally Posted by Fjolsvith View Post
    Well, being the impatient type, I wrote this feature. I had to modify the order.php class to store the initial email information in a table, and then I modified the admin/orders.php class to show a button on an order and also retrieve the information and resend the email.

    I will see if I can get it wrapped up and uploaded as a module.
    Have you looked at the Email Archive Manager! https://www.zen-cart.com/downloads.php?do=file&id=101
    Theres no modifying files, just turning on an existing table, has the resend ability.
    Dave
    Always forward thinking... Lost my mind!

  5. #5
    Join Date
    Jul 2012
    Posts
    16,797
    Plugin Contributions
    17

    Default Re: Resend Email Functionality

    Quote Originally Posted by davewest View Post
    Have you looked at the Email Archive Manager! https://www.zen-cart.com/downloads.php?do=file&id=101
    Theres no modifying files, just turning on an existing table, has the resend ability.
    Remember though that the issue is the email address "is wrong" as part of the resend it needs to go to the correct/new address. In the stored data isn't the email address specifically stored not necessarily the customer_id? (of course could also be modified to accomplish that task though).
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Resend Email Functionality

    Quote Originally Posted by mc12345678 View Post
    Remember though that the issue is the email address "is wrong" as part of the resend it needs to go to the correct/new address.
    I've not had any issues with resending having the wrong address!!

    I had to modify the order.php class to store the initial email information in a table,
    Personally, I would just recreate using the customer existing data and send it. Then you wouldn't need to store what was sent to resend.
    Dave
    Always forward thinking... Lost my mind!

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,443
    Plugin Contributions
    11

    Default Re: Resend Email Functionality

    Dave,

    You might want to re-read the part about wrong address. If the customer enters the wrong address (customreATgmail.com vs customerATgmail.com), then the database would contain the wrong address when used to resend the email ($to_address).

    If the mod does not have the feature, it would be nice to have the update of a customer also update the $to_address if the customer's email is changed.

    Not familiar with the mod. Perhaps the DEVELOPER_OVERRIDE_EMAIL_ADDRESS takes care of this?

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,335
    Plugin Contributions
    94

    Default Re: Resend Email Functionality

    Quote Originally Posted by dbltoe View Post
    Dave,

    You might want to re-read the part about wrong address. If the customer enters the wrong address (customreATgmail.com vs customerATgmail.com), then the database would contain the wrong address when used to resend the email ($to_address).

    If the mod does not have the feature, it would be nice to have the update of a customer also update the $to_address if the customer's email is changed.

    Not familiar with the mod. Perhaps the DEVELOPER_OVERRIDE_EMAIL_ADDRESS takes care of this?
    It does not. That constant, if non-blank, identifies that all emails will be sent to the email-address(es) listed ... overriding any/all customer and/or admin-set email addresses.

  9. #9
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Resend Email Functionality

    Quote Originally Posted by dbltoe View Post
    Dave,

    You might want to re-read the part about wrong address. If the customer enters the wrong address (customreATgmail.com vs customerATgmail.com), then the database would contain the wrong address when used to resend the email ($to_address).
    Sorry, missed that part... was looking more at the stored part..

    While back I had written a admin page for testing html email formats and some other code I was working on for my login page that required an active account... Other than a button tagging the user email and id, then posted to a standalone page for review before sending. After I was done designing I trashed the code. I'll see if I can find or recreate the page as another option...
    Dave
    Always forward thinking... Lost my mind!

 

 

Similar Threads

  1. Resend prior email?
    By OrcaSoul in forum Customization from the Admin
    Replies: 2
    Last Post: 14 Jan 2012, 12:39 AM
  2. How to resend order confirmation email?
    By klf in forum Managing Customers and Orders
    Replies: 11
    Last Post: 3 Apr 2010, 01:21 PM
  3. can i resend a welcome email?
    By 1kell in forum General Questions
    Replies: 1
    Last Post: 14 May 2009, 01:22 PM
  4. Email timeout can I resend
    By steveyork136 in forum General Questions
    Replies: 1
    Last Post: 30 Oct 2007, 11:37 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