Jump to content

smokemup

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by smokemup

  1. Yes, it worked for me. I setup a fake account and placed an order and all was fine. Then that username/email was in the system, so I logged out, cleared cache, and this time did not log in. I placed the same order again, filled out the billing/shipping info and did not received any error messages that the email was already in use, which is what was happening before I made the changes.

    If I try to create a new account using the existing password I will get the password in use error message. I seems to be working as it should. :newyear:

  2. Tnx havenswift-hosting. That worked.

    cubecart.class.php
    Line 1034

    Replaced:

                                 
    // Check email is not in use
    if ($GLOBALS['db']->select('CubeCart_customer', array('email'), array('email' => $_POST['user']['email'], 'type' => 1))) {
    // Email in use
    $errors['email'] = true;
    $error_messages[] = $GLOBALS['language']->account['error_email_in_use'];
    }

    With:

    // Check email is not in use
    if ($GLOBALS['db']->select('CubeCart_customer', array('email'), array('email' => $_POST['user']['email'], 'type' => 1))) {
    if ($GLOBALS['config']->get('config', 'disable_guest_checkout_if_previously_registred')) {        
    // Email in use
    $errors['email'] = true;
    $error_messages[] = $GLOBALS['language']->account['error_email_in_use'];
    }
    }

  3. An order is placed and a guest checkout used (didn't request to create an account). They return in a month to buy again as a guest checkout and get the message "That email address is already being used."

    I read that this was resolved in version 6, but I have the latest 6.1.13 and the problems persists. Is there a fix? Tnx.

×
×
  • Create New...