Public Ticket #3418091

Subaccounts deletion

Closed
Comments
6 Tickets 6
Min Tran started the conversation 3 years ago on July 19, 2023 at 7:18am

How to prevent an account manager to delete a sub account? Because deletion of subaccounts will lead to delete related data like sales orders.

How do we hide the button "Delete subaccount" on the front page? Any custom CSS?

Or, in steads of Delete, can it be a kind of Disable/Suspend a subaccount?

Thanks.

2,762
KingsPlugins replied 3 years ago on July 19, 2023 at 2:55pm

Hi Min,

Thank you for purchasing our plugin!


If a subaccount is deleted, the plugin should automatically move all orders of the subaccount to the parent account (so they would then appear to be the main account's own orders).


If you prefer to hide that button, you can do it by adding this CSS to your site:

button.b2bking_subaccounts_edit_account_container_content_bottom_button_delete {
    visibility: hidden;
}

Let me know if I can help with anything, or if you have any questions,

Kind regards,

Stefan


Sign In