Hi, In the sub account creation screen, I need to hide the 'password' field as this password will be created by the subaccount owner. Your documentation noticed that this field is not there if we change options in woocommerce account settings. My settings are ok but this field is always there. When I look to the B2BKing code, it seems there is no condition to display it. public/content/plugins/b2bking/public/class-b2bking-public.php line 12708
Please can you tell me how to hide this field on subaccount creation screen. ? Thank you
In the sub account creation screen, I need to hide the 'password' field as this
password will be created by the subaccount owner.
Your documentation noticed that this field is not there if we change options in woocommerce account settings.
My settings are ok but this field is always there. When I look to the B2BKing code, it seems there is no condition to display it.
public/content/plugins/b2bking/public/class-b2bking-public.php line 12708
Please can you tell me how to hide this field on subaccount creation screen. ?
Thank you
Hi Florent,
I checked and it seems you are correct, it looks like that's a mistake in the documentation.
I've added a filter now to make this possible.
Please follow these steps:
(1) Update B2BKing Pro to the attached.
To update:
1. First deactivate your existing version of B2BKing Pro
2. Upload and activate the attached version
(2) Add this code snippet to functions.php or a snippets plugin:
It should then work like this, with a 'set up password' link in the email sent to the subaccout: https://www.loom.com/share/cd28fd726cc14e7f8791f12a58779a86?sid=32f17ca5-92fe-4960-98f8-bc656f276dbd
Kind regards,
Stefan