Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #7581

    Dear Sir/Madam,

    If I create a woocommerce user and login everything is oke but if i change this account to a copy of the woocommerce customer I can’t login again. With this same user.

    How can I solve this? I looks like the customer rol isn’t copied wright.



    Hi Dave,

    This is the WooCommerce code which creates the ‘customer’ role:

    		// Customer role.
    				'read' => true,

    As you see it contains the single ‘read’ user capability. Does your copy contains the same ‘read’ capability?

    A possible problem would be related to other plugin or theme code and/or options which prevents login with role different than the ‘customer’. Try to deactivate all plugins and activate WordPress default 2021 theme. Will it change this? If Yes, then you can isolate a source of the problem activating plugins back one by one with a new login test.

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