How to disable customer when using new customer accounts?

It appears that deactivating a customer is only relevant for the classic customer accounts.

How does one go about preventing a customer from logging in when using new customer accounts and after they’ve already placed orders?

This is particularly relevant for B2B. For example the email address belongs to a person who is no longer with the company and should be removed or disabled.

I realize one workaround would be to remove the customer from the company, but in practice the customer then still exists in Shopify.

1 Like

I believe that you are unable to stop a customer from logging in. However, you can employ certain workarounds. For instance, by using customer tags, you can direct them to different pages and grant them access to different scopes pages.

Hmm that’s really odd. Especially in B2B context, where it’s quite important to be able to control access. I am surprised there’s no built in solution for this.

Yeah this seems like more of a B2B use case than D2C. It’s funny Evaldas I was just looking into this myself this morning. :rofl:

1 Like

Yeah metafield and custom storefront code/redirect seems the only way.

If the storefront requires B2B login, then removing customer from the company is also an option.

1 Like