Shopify B2B & D2C: How to Prevent Accidental Company Creation in Your D2C Store

Hey fellow store owners!

One of the beauties of Shopify is its flexibility, letting many of us run different business models, sometimes even under the same roof. But with that flexibility comes the need for careful management, especially when you're juggling something like a B2B store alongside a D2C operation. I recently saw a really insightful discussion pop up in the Shopify Community that perfectly illustrates this, and I wanted to share the solution with you all.

A store owner, @ksech, found themselves in a common predicament: they had a dedicated B2B store but also set up a D2C store because their subscription model wasn't playing nice with the B2B setup. A smart move to keep things running smoothly! However, a new concern arose:

"If I understand correctly, a CSR adding a company in this new D2C store will convert it to B2B and possibly break my subscriptions. How can I hide or disable the COMPANIES link/button in a D2C store admin?"

This is a fantastic question that highlights a critical point for anyone managing hybrid store setups. The last thing you want is a well-meaning customer service representative (CSR) accidentally flipping a switch that could disrupt your D2C flow or, worse, break your subscription services.

The Community's Expert Take: Permissions are Your Best Friend

Thankfully, another community expert, DiegoCosta2428, jumped in with a clear and actionable solution. While you might be looking to literally "hide" the "Companies" link from the admin menu, the core problem of preventing accidental B2B conversions can be solved much more elegantly and robustly through staff permissions.

Here's the key insight Diego shared: the "Companies" functionality in Shopify has its own set of permissions (view, create, edit, delete) that are separate from standard "Customers" permissions. What's more, staff roles that had "Customers" permissions before January 31, 2024, were automatically granted "Companies" permissions. This means if you have older staff roles, they might have access to something you don't intend for them to use in a D2C-only context.

Step-by-Step: Securing Your D2C Store with Staff Permissions

The good news is that securing your D2C store from accidental B2B changes is straightforward once you know where to look. Here's how you can implement Diego's recommended solution:

  1. Navigate to Users and Permissions: From your Shopify admin, go to Settings, then click on Users and permissions.

  2. Identify or Create the Relevant Role: Find the specific staff role you want to restrict (e.g., your CSRs' role). If you don't have a dedicated role for them, consider creating a custom role for your CSRs. This ensures you're only adjusting permissions for the right group.

  3. Adjust "Companies" Permissions: Within that staff role's settings, scroll down to the Companies section. Here's what you'll want to do:

    • Untick "Create and edit companies": This is crucial to prevent staff from adding new companies or modifying existing company profiles.
    • Untick "Delete companies": Equally important to prevent accidental removal of any company data.
    • Consider "View companies": If your CSRs have absolutely no need to even see company information in your D2C store, you can untick "View companies" completely. This effectively makes the "Companies" section inaccessible to them, achieving a similar outcome to "hiding the link."
  4. Maintain Essential Permissions: Make sure to keep your CSRs' necessary permissions for their day-to-day tasks, such as Customers and Orders. This ensures they can continue to assist your D2C customers and manage orders without interruption.

  5. Save and Confirm: After making your adjustments, click Save. Then, ask one of your CSRs to log into the admin and confirm that the "Companies" section is either restricted or completely gone from their view, according to your settings.

Important Caveats to Keep in Mind

Diego also brought up a couple of important points that are worth reiterating:

  • Custom Roles and Your Shopify Plan: The ability to create custom roles depends on your current Shopify plan. If you're on a basic plan, you might have fewer options for granular permission control. It's always a good idea to check your plan's features.

  • Subscription App Compatibility: The big concern for @ksech was whether adding a company could break subscriptions. Diego couldn't confirm this definitively, and neither can I without knowing your specific subscription app. If you have any doubts, it's always best practice to:

    • Test with a dummy customer: If possible, set up a test scenario with a non-critical customer account.
    • Contact your subscription app's support: They are the experts on their app's behavior and can give you the most accurate answer regarding B2B company integration.

By carefully managing your staff permissions, you can effectively prevent unintended B2B functionality from creeping into your D2C store. It's a proactive step that protects your operations, maintains data integrity, and ensures your team can work efficiently without accidental missteps. This community discussion really highlighted how crucial these detailed permission settings are for complex store setups, and it's a great reminder for all of us to regularly review who has access to what within our Shopify admin.

Share:

Use cases

Explore use cases

Agencies, store owners, enterprise — find the migration path that fits.

Explore use cases