• Resolved menzeler

    (@menzeler)


    Hy everyone. Today i tested your plugin on wordpress version 6.7.2 DE and plugin versions 1.6.5 of your plugin and 9.6.1 Woocommerce

    Unfortunately there are some negative points i need help with or want to mention so you could improve your plugin for all users:

    • No error message if username is already existing on “Add Subaccount” page is displayed
    • No error message if email is already existing on “Add Subaccount” page is displayed
    • Newly created users get only the link to login page in theyr first email, not the link for setting a password (“/mein-konto/” or english “/my-account” page i think). This way newly created users need to use the forgot password feature as first to get a password which is a bit confusing because wordpress offers a password setting feature. Why is this not used in the email?
    • Newly created user is not linked to parent automatically and does not show up under the “manage subaccounts” list. (“There is no subaccount yet.” is displayed but i created a new subaccount minutes ago with this test user)
    • measse “Subaccount successfully added.
      You can now switch to the newly added subaccount by selecting it from the drop-down menu.” is showing even if this is not possible because this is not the premium plugin. This is confusing for the users

    Also i have some feature requests i would like to have:

    • Newly crated user should get a special role wich e.g. could be defined as default in plugin settings for every new child account
    • Possibility to apply for the membership of a parent account for users with already existing accounts

    Thank you very much for your help and best regards
    Eric from Airsoftdrop.de

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mediaticus

    (@mediaticus)

    Hi @menzeler,

    Thank you for reaching out!

    Unfortunately there are some negative points i need help with or want to mention so you could improve your plugin for all users:

    • No error message if username is already existing on “Add Subaccount” page is displayed
    • No error message if email is already existing on “Add Subaccount” page is displayed
    • Newly created users get only the link to login page in theyr first email, not the link for setting a password (“/mein-konto/” or english “/my-account” page i think). This way newly created users need to use the forgot password feature as first to get a password which is a bit confusing because wordpress offers a password setting feature. Why is this not used in the email?
    • Newly created user is not linked to parent automatically and does not show up under the “manage subaccounts” list. (“There is no subaccount yet.” is displayed but i created a new subaccount minutes ago with this test user)
    • measse “Subaccount successfully added.
      You can now switch to the newly added subaccount by selecting it from the drop-down menu.” is showing even if this is not possible because this is not the premium plugin. This is confusing for the users

    All of the above should not happen. Could you please try to:

    • Deactivate all plugins excluding: WooCommerce and Subaccounts for WooCommerce
    • Install/activate the Storefront theme: https://www.ads-software.com/themes/storefront/
    • Make sure you are using default shortcode based WooCommerce pages for the My Account area

    We recommend performing all the above tasks on a staging/clone site.

    Also i have some feature requests i would like to have:

    • Newly crated user should get a special role wich e.g. could be defined as default in plugin settings for every new child account

    The ability to assign a specific role to subaccounts is already on our roadmap and will be implemented soon.

    For now, you can add the following snippet of code into your child theme’s functions.php file (remember to replace ‘subscriber’ with the default role you want to assign to subaccounts)

    // Assign specific role to subaccounts created on frontend.
    function m3di4ticus_sfwc_assign_specific_role_to_subaccounts_created_on_frontend( $parent_user_id, $user_id ) {
    if ( is_user_logged_in() ) {

    // Get subaccount data.
    $subaccount = get_userdata( $user_id );

    // Assign specific role.
    // Remember to replace 'subscriber' with the role you want to assign to subaccounts.
    $subaccount->add_role( 'subscriber' );
    }
    }
    add_action( 'sfwc_frontend_after_add_subaccount_validation', 'm3di4ticus_sfwc_assign_specific_role_to_subaccounts_created_on_frontend', 10, 2);

    Important note: The above functionality will soon be included in the plugin. To avoid any conflicts or race conditions, remember to remove the above code from your functions.php file or from any code snippet plugin (you can take a look at our plugin’s changelog to see if the above functionality is present).

    Possibility to apply for the membership of a parent account for users with already existing accounts

    This would require some customization. To implement this, we need to know which membership plugin you are using. If you need this to be implemented, feel free to contact us via: Dashboard → WooCommerce → Subaccounts → Contact Us.

    Hope this helps.

    Thread Starter menzeler

    (@menzeler)

    Thank you very much for your feedback. I installed a staging site via WP Stanging plugin to test this.
    There i deactivated all plugins (not woocommerce or childs)

    Unfortunately your plugin did not work on the staging site. I was not able to open the tab for creating a new user account – even in the mentioned custom theme. I think the staging could be the cause for this behaviour.

    Do you have the possibility to have a look et this together with me in a short online call?

    Thank you and best regards.

    Plugin Support Daniel

    (@sfwc)

    Communication continued via email.

    I’m going to go ahead and mark this thread as resolved for now.

    If you have any other questions about the plugin, please start a new thread.

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