Last updated
Was this helpful?
The B2Bsellers Suite adds dynamic CSS body classes to identify the current user type and role. These classes enable conditional styling and JavaScript functionality based on the B2B context.
is-b2b-sales-representative
is-b2b-sales-representative-logged-in-as-customer
is-b2b-employee
is-b2b-employee-admin
is-b2b-employee-{role} (e.g. is-b2b-employee-purchaser )
If the user is not authenticated or is logged in as a private customer, no additional class will be applied.
Last updated
Was this helpful?
Was this helpful?