Trade accounts and B2B
Faber is built for stores that sell to trade buyers as well as, or instead of, the public. The trade prices themselves come from Shopify: you set up companies, catalogs, price lists, quantity rules and volume pricing in your admin with Shopify B2B . The theme decides what the storefront shows around them: who sees prices, which company a buyer is ordering for, and which content each kind of customer sees.
B2B companies and catalogs need a Shopify plan that includes B2B. Everything on this page that mentions “B2B buyers” only applies to customers who log in as a contact of a company. Without B2B, you can still hide prices from visitors who aren’t logged in.
Theme settings › Trade (B2B)
| Setting | Default | What it does |
|---|---|---|
| Show prices to | Everyone | Everyone, Logged-in customers or B2B buyers only. Everyone else sees a log-in link where the price and Add to bag would be. |
| Trade account application page | — | A page with your application form, for example a page using the Shopify Forms app block or the theme’s Form section. Linked next to hidden prices and in the header for visitors who aren’t logged in. |
| Show company and location in the header | On | B2B buyers see the company location they are ordering for, and can switch when they have more than one. |
Hiding prices
With Show prices to set to Logged-in customers or B2B buyers only, visitors who don’t qualify see no prices anywhere in the theme. In their place they see:
- Log in for prices (or Log in for trade prices when only B2B buyers see prices), linking to the customer login.
- Apply for a trade account, next to it, when prices are for B2B buyers only, a Trade account application page is set and the visitor isn’t logged in.
Prices are replaced in product cards and list rows, on the product page (price, buy buttons, volume pricing, the variant order list and the variant matrix), in quick view, quick add, the mega menu and predictive search, in compare, product bundles, Shop the look, the volume calculator and the product bar. The Quick order section shows only its heading and the log-in link.
Hiding prices is a storefront choice only. It doesn’t stop anyone from buying through other channels or links, and it doesn’t set what a company pays. Use B2B catalogs to control prices and who can buy.
The company picker
When a B2B buyer is logged in and Show company and location in the header is on, the header shows Ordering for with the company location they are buying for.
- With one location, the cell shows the company name and the location.
- With more than one, the cell opens a list of the company’s locations. Choosing one switches location through Shopify, so prices and catalogs reload for it. The list closes on Escape or a click outside.
Visitors who aren’t logged in see a Trade account link in the same place when a Trade account application page is set.
The picker is shown on large screens. On phones and tablets, buyers see their company and location in the bag instead (below).
Content for trade or retail buyers
The Content section and the Group block both have a Show to setting:
| Option | Who sees it |
|---|---|
| Everyone | Every visitor (the default). |
| B2B buyers | Customers logged in as a contact of a B2B company. |
| Retail (not B2B) | Everyone who is not a B2B buyer, logged in or not. |
| Visitors not logged in | Only guests. |
| Logged-in customers | Any customer who is logged in. |
Use it to show payment terms only to trade buyers, or a “Open a trade account” offer to everyone else. Build both versions on the same page; each visitor sees the one meant for them.
The theme editor always shows every version, whoever you are logged in as, so you can edit them all. To check what a buyer sees, open the storefront and log in as a customer of that kind.
Quantity rules and price breaks
Quantity rules (minimum, maximum and increment) and volume pricing (price breaks) are set per catalog in Shopify B2B. Faber reads them wherever a buyer chooses a quantity:
- Product page: the quantity selector starts at the minimum and goes up in the increment, with a note such as “Minimum of 6.” or “Sold in increments of 6.” The Volume pricing block shows the price breaks as a ruled table, and the row for the quantity in the quantity field is highlighted. See Wholesale product page and variant matrix.
- Collection list view: a row shows “Min 6” when the variant has a minimum.
- Cart: each line notes its rule (“Minimum 6.”, “Sold in multiples of 6.”), and with Theme settings › Cart › Show the next volume price on lines on, a line shows the next break (“Add 6 more to pay $42.00 each”) with a button that adds them.
- Quick order and order pad: pasted quantities snap to the rule. See Quick order, order pad and saved lists.
Products sold in cases follow the product metafield custom.case_qty (integer) in the same places: quantities go up in whole cases and the product page says “Sold in cases of 12”. See Metafields the theme reads.
B2B buyers in the bag
For a B2B buyer, the cart drawer and cart page show Ordering for with the company and location above the totals, and the note “Payment terms and your PO number are added at checkout.”
The cart’s Ask for a PO number field (Theme settings › Cart › Order details) is hidden for B2B buyers, because Shopify asks them for a PO number at checkout. A Minimum order amount can apply to everyone, only to B2B customers or only to customers without a B2B account (Minimum applies to). See Cart drawer, notification and cart page.
Set it up
- In Shopify admin, set up B2B: companies, locations, catalogs with price lists, quantity rules and volume pricing. See Shopify’s guide to B2B on Shopify .
- Create a page for trade applications (for example “Trade account”, with a form) and choose it in Theme settings › Trade (B2B) › Trade account application page.
- Choose who sees prices in Show prices to.
- Optional: use Show to on Content sections or Group blocks to show trade terms to B2B buyers and a trade offer to everyone else.
- Log in as a B2B contact on the storefront to check prices, the company picker and the bag.