B2B storefront questions

Hi everyone :wave:

I am new to B2B space and was wonder if you guys could help/confirm the following for me. I’ve been to discussions for solutions and just wanted to get view from the experts.

  1. Is there a way to redirect B2B customers to B2B storefronts after logging in instead of them being taken to orders screen
  2. Is there a way to disable app embeds just for B2B i.e. JS that are not directly added to theme.liquid and coming from APP embed on theme customization. The case is that I’m building a minimal storefront for B2B customers on the same theme (as we can’t use different themes for retails and B2B customer?). So I want apps (e.g. subscription, reviews) to load on normal retail storefront but not on B2b storefront.
  3. Can we render normal retail price on B2B storefront so that we can show it like compared price to show the savings for B2B customers?
  4. Can we get product property in liquid for the minimum order quantity and increments of the product so that we can enforce this for the quantity selectors?

Thank you in advance, much appreciated. :pray:

I’ve been in a similar spot, so here are a few insights that might be helpful for developers like you diving into B2B:

  1. There is a way using Headless Ecommerce, it’s doable in Liquid as well, but that can get complicated and potentially unstable.
  2. It sounds like you’re working with a Hybrid store (DTC | B2B), which can add a lot of complexity and customization requirements. Have you considered setting up two separate stores, one for DTC and one for B2B? This approach can simplify things significantly. If you stick with a Hybrid setup, you might also want to consider creating two catalogs (one for DTC, one for B2B) to manage your offerings more effectively.
  3. Custom logic and metafields are likely needed to display B2B-specific prices (like a ‘compare at’ price) and manage other unique B2B requirements.

I’d also recommend diving into the core B2B concepts – things like B2B Catalogs, quantity rules, and volume pricing. It sounds like these might still be new to you, so this guide from Shopify could be a great starting point: Shopify B2B Manual.

B2B is a big feature area that requires careful planning and an understanding of Shopify’s limitations, so take your time and build from small to big.

Hope this helps!

Cheers,
Enrique

Hi @enrique_ya,

Thank you for your detailed reply. Yes, I’m working with a hybrid store which has a DTC storefront and a B2B storefront, on the same theme with conditionals applied to it to check whether the current customer is a b2b customer.

There is already a catalog for wholesale where min qty and increments are set. So I was wondering whether this is accessible via liquid so that I can drive the quantity selector on the front-end utilising these values.

Also, when you say use metafields to B2B-specif prices, it’s going to be a manual process for the merchants to re-enter the retails price as metafields right? That seems a bit redundant.

I’d really appreciate any further insights on this.

Many thanks,
S

Yes, you can access quantity rules and quantity price breaks in the Variant object:

Unfortunately, it’s a manual process because the Retail price gets overridden by the Price Rules of the B2B Catalog. That’s why a metafield is required if you want to display the strikethrough price.

Enrique

Hey @enrique_ya ,

Thank you so much for your prompt reply. I understand that B2B is new to Shopify and hope it’ll be easier to integrate with liquid without need to venture into headless in the near future. :slight_smile:

Many thanks,
S