Skip to content
ShopiAgents

Add the wholesale pieces to your theme

Turn on the Wholesale store app embed and add the price, sign-up and order button blocks in Shopify's theme editor. No theme code is changed.

Your store can serve retail shoppers and wholesale buyers at the same time. The pieces that make that happen are small parts you switch on in Shopify's theme editor, so nothing is written into your theme's code and you can take them out in a click.

Plan: on every plan (the order button needs Growth and up; see Plans, billing and limits). Who can do it: an admin.

The four pieces

In the theme editorWhat it doesWhere it goes
Wholesale store (app embed)Hides prices and Add to cart from guests (when you choose that), shows "Wholesale only" on locked products, and opens the sign-up pop-upTheme settings → App embeds
Wholesale price (block)Shows signed-in buyers their own price, retail, suggested resale and margin, volume prices and minimumsProduct page
Wholesale sign-up (block)An "Apply for wholesale" button with a sign-in linkAny section
Wholesale order button (block)An "Order wholesale" button that opens your order form with the product addedProduct page

The app embed matters most. Without it, guest price hiding, locks and the pop-up don't show on your store.

Turn on the app embed

  1. In the app, go to Wholesale store → Prices on your store.
  2. Under Put it on your store, click Open App embeds. Shopify's theme editor opens on App embeds.
  3. Switch on Wholesale store and click Save in the theme editor.
<!-- screenshot: storefront/add-the-wholesale-store-to-your-theme-1.png — Shopify theme editor, App embeds panel with Wholesale store switched on -->

The embed has three switches of its own: Hide prices and Add to cart from guests, Show "Wholesale only" on locked products and Sign-up pop-up. Leave them on unless you want to turn one part off for this theme. What each part does is still set in the app.

Add the blocks

  1. On the same page, click Add the price block. The theme editor opens on a product page with the Wholesale price block placed. Move it under the product title or price if you like, then save. More in Show buyers their price on product pages.
  2. Click Add the sign-up button to place the Wholesale sign-up block. Change its heading and button text in the theme editor, then save.
  3. For the order button, go to Wholesale store → Buyer portal and click Add the button in your theme under "Order wholesale" button on product pages. See The order form and "Order wholesale" button.
<!-- screenshot: storefront/add-the-wholesale-store-to-your-theme-2.png — Theme editor on a product page with the Wholesale price block selected -->

Check it works on your theme

  1. In Wholesale store → Prices on your store, click Open a product page and look at it while signed out.
  2. Come back to the app. The card shows Your theme was tested with how many price and Add to cart spots were found on a product page.

If you see Some spots were not found, nothing is hidden where nothing was found. Dawn, Horizon and other common themes work as they are. For other themes, add your theme's CSS selectors under Your theme's own spots (advanced), one per line, or ask us to help.

The Access & locks tab also shows App embed seen on your theme once it has been switched on and a page has loaded.

What your buyers see

Nothing that mentions the app. The blocks use your theme's colours and fonts, and every word on them can be changed. A guest sees what you chose in What guests see; a signed-in buyer like Oak & Fern sees their own price.

Good to know

  • Removing them: switch off the app embed and delete the blocks in the theme editor. Uninstalling the app removes them too, and your theme is as it was.
  • A new theme: blocks belong to a theme. If you publish a different theme, turn the embed on and add the blocks again there.
  • Hiding is for display. A guest who digs into the page code could still find a price. Your checkout always charges each buyer the right price, and checkout rules stop orders you don't want.

If something goes wrong

  • Prices still show to guests: check that the app embed is on and saved, that What guests see is set to Hide wholesale prices, then run the test again.
  • The tab isn't there: the feature may be switched off in Settings → Features. See Switch features on or off.
  • More fixes in Prices and checkout problems.
Still stuck? Email support@shopiagents.com and a person will help.