Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2009
    Posts
    9
    Plugin Contributions
    0

    Default Why is the customer email address stored in the orders table???

    If a customer places an order and then changes their email address in the My Account area, they do not receive any email updates since the system sends the email to their old address.

    Shouldn't the mail routine be using the email address from the customers table rather than the orders table?

  2. #2
    Join Date
    Aug 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Why is the customer email address stored in the orders table???

    Hellooooooo???

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Why is the customer email address stored in the orders table???

    All the customer/order data is stored as a snapshot as at the point-in-time when the order was taken. Surely you wouldn't want a customer altering important information such as address details and phone numbers etc and then claiming that they never received their goods ... because you'd sent it to one place and then they changed the details later. The email address is part of that snapshot.

    If you'd like to change that functionality, you're certainly welcome to alter it to suit your needs.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Aug 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Why is the customer email address stored in the orders table???

    ::sigh::

    I guess data redundancy is not frowned upon by everyone afterall.

    Look at the registration process as it has been designed. You have a section for "Personal Details" and a different section for "Login Details" and the email address is captured under "Login Details" (as it should be).

    Then, in the "My Account" section you have the email mixed in with the "Personal Details" which seems rather odd, considering that you have to use your email address to Login.

    Oh well.

    Still, it's a great product for the price. ;)

 

 

Similar Threads

  1. Replies: 1
    Last Post: 18 Mar 2014, 04:04 PM
  2. Email Address Exporter - How can I export the email addresses of every customer?
    By SpencerW in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 14 Oct 2011, 07:35 AM
  3. Why is the cc_expires field NOT stored?
    By tomreitz in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 18 May 2011, 10:11 PM
  4. Change data stored in orders table
    By dev.stefan in forum General Questions
    Replies: 1
    Last Post: 4 Aug 2008, 08:25 AM
  5. Can I remove the need for customer password? and use number instead of email address?
    By xlserret in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Jun 2008, 03:27 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