Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default [Done 2.0.0] Delete Customer Bug

    Ok, I think I've found a bug with Zen Cart 1.3.7.1.

    If a customer is signed in to their account you are still able to delete that customer (via the admin), which is fine. However, after deleting that customer they are still signed in (to the catalog side of the website) and they can still edit their account information (as normal).

    While these edits are not actually written to the database the website still informs the customer that these changes have been made.

    I did some further testing and created a user account, proceed to step 1 of the checkout process, deleted the user account and tried to continue to checkout. The following message was displayed to me.

    Customer information cannot be validated!
    Please login or recreate your account ...
    Shouldn't this message also be displayed to customers who have been deleted (while signed in) and are trying to edit their account information.

    Maybe customers should be forced to log off in this case?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Delete Customer Bug

    Sure - a minor bug.

    The real question is ... Why are you deleting customers while they're shopping?
    .

    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.

  3. #3
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Delete Customer Bug

    I was working on a test site on my local machine. At the time I was logged on to the website as a customer and viewing the 'My Account' page.

    From the admin section I went to delete a test order (that I just placed), but by mistake I deleted my customer record!

    Then I wanted to know how Zen Cart would react to this, so I performed my tests (as outlined in my previous post).

    I agree it's a minor bug, I just wanted to make you aware in case it could be exploited in some way.

 

 

Similar Threads

  1. [Done v1.5] 1.5.0BETA - can't delete customers
    By stevenheintz in forum Bug Reports
    Replies: 1
    Last Post: 13 Aug 2011, 12:05 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