Support » Plugin: Allow Multiple Accounts » Not working after WP update

  • AlexRad

    (@alexrad)


    We cannot create multiple user accounts after update. We have Woocommerce and WordPress.

    Does it work for anybody still?

Viewing 7 replies - 1 through 7 (of 7 total)
  • AlexRad

    (@alexrad)

    Hello Scott!

    We really need this plugin to work on our sites, and would suggest to pay you for your involvement in its upgrading.

    I would really appreciate if you answer.

    Thank you in advance!

    Alexander.

    AlexRad

    (@alexrad)

    Hello Scott!

    Could you reply please? We really need your support.

    Alexander.

    opicron

    (@opicron)

    Same here, would make a healthy donation for support.

    Plugin still works with WordPress 4.9.6 for its intended purpose of allowing multiple author accounts with same email for posting page/post content in WordPress.

    So

    author - Joe Smith > myemail@myemail.ooo
    editor - Customer Support > myemail@myemail.ooo

    It’s not intended to allow WooCommerce users to have multiple accounts with same email, as that is not allowed (by design) by the WooCommerce system for tracking “orders” and “customers.” This stops, for example, same customer creating multiple accounts and getting/re-using coupons, or issues with ‘recover password’ (which password?).

    So, you would need entirely different solution to allow that behavior in WooCommerce as those are custom post types outside the ‘normal’ user/author functions of WordPress.

    If plugin not working while WooCommerce is active, but works with WC ‘off’ — check for plugin/extension conflicts. If WC breaks the plugin for use on main part of site, put in support/ticket for WC. Or check error log/debug in WP for possible issues.

    Hope that helps somebody. (I am not plugin author.)

    To make it work with Woocommerce do the following:

    Instructions
    1. You’ll first need to go to /wp-content/plugins/woocommerce/includes
    2. Open file wc-user-functions.php in that directory
    3. Change the following

    FROM:

    if ( email_exists( $email ) ) {
    return new WP_Error( ‘registration-error-email-exists’, __( ‘An account is already registered with your email address. Please login.’, ‘woocommerce’ ) );
    }

    TO:

    if ( email_exists( $email ) ) {

    }

    If you don’t do this users will be given an error message after they’ve entered all of their information and credit card to check out. Then when it doesn’t work they are confused. Woocommerce should have the OPTION of allowing multiple accounts. There aren’t any issues with coupons. I would love customers to keep ordering again and again if it means using the same coupon. Also the recover password works as well which allows for a username OR email to recover password. When an email is entered it will recover the last account I believe. If a username is entered then it still recovers the account. So it always works.

    Now everytime you update woocommerce you’ll need to update wc-user-functions.php again and also make sure permissions are set correctly if using SSH to edit it. Also a good idea to backup site.

    • This reply was modified 10 months, 3 weeks ago by  kimsf.
    • This reply was modified 10 months, 3 weeks ago by  kimsf. Reason: tags not working
    • This reply was modified 10 months, 3 weeks ago by  kimsf.

    I have the same problem. It is allowing existing multiple accounts, but it won’t let me create new ones.

    Seems like something that should be allowed in WooCommerce core.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.