App guides
Wholesale Desk is a Swell app for selling to business customers. Businesses apply for an account from your storefront, and approved customers get quick order by SKU, quotes, payment terms with credit limits, and their own group prices. Any Wave theme can show its forms and data with Wave's wholesale sections.
Install it from the Swell App Store, or with a theme that requires it: the theme's install dialog installs it in the same step. See Required apps.
| When | What the app does |
| A business applies from your storefront | Saves the application under Customers > Applications and emails your store's administrators. With automatic approval on, approves it right away. |
| You approve an application | Adds the customer's account to your wholesale customer group, creating the account if there is none, gives it your default payment terms, and emails the customer how to sign in. |
| A customer orders by SKU | Adds the lines to their cart at your store's own prices, including group prices and quantity tiers, rounded up to each product's minimum and quantity increment. |
| A customer requests a quote | Turns their cart into a quote request under Orders > Quotes. Their cart doesn't change. |
| You set a quote to Quoted | Emails the customer your prices and the expiry date. |
| A customer accepts a quote | Makes a separate checkout at the quoted prices and shows its link with the quote. When they order, the quote becomes Ordered. |
| A customer checks out | Refuses the order when the gate is on and the customer isn't approved, when the order is under their group's minimum, or when they pay on terms without terms or over their credit limit. Copies their PO number and the quote to the order. |
| You apply a group price list | Writes the group's prices into your products' price rules, 50 products at a time, in the background. |
| Every day at 06:00 UTC | Expires quotes past their expiry date, emails payment terms reminders, and refreshes each account's credit used. |
- A Wave storefront. Wholesale Desk's sections are Account application, Quick order, Your quotes and Payment terms, and a Request a quote block in the cart.
- A customer group for wholesale customers, in Settings > Customer accounts. The app's defaults use the group ID trade.
- For payment terms, a manual payment method such as "Net terms", in Settings > Payments.
Set up Wholesale Desk in your test environment first, and place a test order there before you go live.
Install the app
Install Wholesale Desk from the Swell App Store, or install a theme that requires it.
Create your customer group
In Settings > Customer accounts, create a customer group for wholesale customers and note its ID, such as trade.
Open the app's settings
Open Wholesale Desk from your installed apps and go to its settings.
Set access and approval
On Access and approval, enter your group's ID in Allowed customer groups and Group given on approval. Choose whether Only approved customers can order, and whether to approve applications automatically.
Set up payment terms
In Settings > Payments, add a manual payment method such as "Net terms" with the ID net_terms. Enter its ID in Terms payment method ID on the app's Payment terms settings, with the default net days and credit limit given on approval.
Add an application page
In the Wave editor, add a content page with the address apply (/pages/apply), and add the Account application section to it.
Match the storefront to the app
On the Wave editor's Theme tab, set the theme's store access settings to the same customer groups, so the storefront shows prices and pages to the customers the app lets order. Then publish.
Place a test order
Apply for an account from the storefront, approve the application under Customers > Applications, sign in as that customer and check out on terms.
A business applies with the Account application section's form: company, contact name, email, and optionally phone, tax ID, website, business type, city, country and a message. Guests can apply, and the application page stays open to guests. Your store's administrators get the Wholesale application received email.
Review applications under Customers > Applications, in the New, Approved, Declined and All tabs. On an application, click Approve and confirm the customer group, or Decline with an optional reason, which is included in the email to the applicant. Internal notes are never shown to the applicant.
Approving adds the applicant's account to the group, creating an account with their email if they have none, and gives it the default net days and credit limit. The customer gets the Wholesale application approved email, with a link to sign in or set a password.
With Approve applications automatically set to all applications, or to listed email domains, matching applications are approved as they arrive. An applicant with an application already under review can't send another.
The app's Only approved customers can order setting decides who may order. While it's on, checkout refuses orders from anyone who isn't signed in to an account in an allowed customer group, and quick order, quotes and payment terms are for those customers only. With Allowed customer groups empty, any signed-in customer is allowed. It's off by default.
What shoppers see on the storefront, such as whether the whole storefront or only prices are for approved customers, is the theme's own setting on Wave's Theme tab. It changes only what pages show, so keep the app's gate on to check orders, and set both to the same groups.
Signed-in customers add products by SKU, in up to 10 rows of SKU and quantity, or by pasting a list with one SKU and quantity a line, for example from a spreadsheet. Lines go to the cart at your store's own prices. Quantities are rounded up to each product's minimum and quantity increment.
A signed-in customer turns their cart into a quote request, with optional notes and a PO number. Requests appear under Orders > Quotes.
To price a quote, enter a Quoted price (each) for every line, add a Note to the customer if you like, and set the status to Quoted. The customer gets the Quote ready email with your prices and the expiry date. Without an expiry date, a quote is valid for the days set in the app's Quotes settings, 30 by default.
The customer accepts or declines the quote on your storefront. Accepting makes a separate checkout at your quoted prices, and the customer's own cart isn't changed. When they order, the quote's status becomes Ordered with the order number. Quotes past their expiry date become Expired.
An account's terms are its net days and credit limit, in the Wholesale fields on the customer. Approval gives an account the defaults from the app's settings. At checkout, an approved customer with net days above 0 can choose your terms payment method. Checkout refuses it when the order would go over their credit limit, or when the account has no terms or Pause payment terms is on. An order on terms gets Paid on terms, its net days and its Payment due date.
Customers see their terms, credit used and available, and open invoices on your storefront. The Payment terms reminder email goes out the set number of days before the due date, and again once the order is overdue.
Under Products > Group prices, a price list gives one customer group a percentage off retail, with optional rounding to .99 or to 5 cents (never above retail), optionally only for some categories. Overrides set a SKU's price, and rows with a minimum quantity add quantity tiers. Import CSV replaces the overrides with lines of sku,price[,min_qty], and Export CSV writes the group's current prices.
Click Apply prices to write the list into your products' price rules. It runs in the background, 50 products at a time, and its status shows the progress. Other groups' price rules are never changed. Apply prices again after each change to the list.
Minimum order by customer group, in the app's Payment terms settings, sets the least an order from each group can be, before shipping and tax. The buyer's PO number is kept on every order, in the order's Wholesale fields.
| Where | What it's for |
| Customers > Applications | Review, approve and decline account applications. |
| Orders > Quotes | Price quote requests and follow their status. |
| Products > Group prices | Price lists for customer groups, applied to your products. |
| A customer's Wholesale fields | Company, net days, credit limit, credit used, Pause payment terms and when the account was approved. |
| An order's Wholesale fields | PO number, quote, paid on terms, net days and payment due date. |
Access and approval:
| Setting | Description |
| Only approved customers can order | While it's on, only signed-in customers in the allowed groups can check out and use quick order, quotes and payment terms. Defaults to off. |
| Allowed customer groups | Customer group IDs, separated by commas. Empty: any signed-in customer. Defaults to trade. |
| Group given on approval | The customer group an approved applicant's account joins. Defaults to trade. |
| Approve applications automatically | Off (review each application), all applications, or applications from listed email domains. |
| Email domains | The domains approved automatically, separated by commas. Applications from other domains wait for review. |
Payment terms:
| Setting | Description |
| Terms payment method ID | The ID of the manual payment method customers choose to pay on terms. Empty: no payment terms. |
| Default net days | Given to an account when its application is approved. Defaults to 30. |
| Default credit limit | Given on approval. Empty: no limit. 0: no credit. |
| Remind this many days before the due date | When the first payment terms reminder goes out. Defaults to 5. |
| Minimum order by customer group | A customer group ID and its minimum order, before shipping and tax. |
Quotes:
| Setting | Description |
| Quote requests | Turns quote requests on or off. Defaults to on. |
| A quote is valid for (days) | How long a quote lasts when you don't set an expiry date. Defaults to 30. |
| Most lines in a quote request | The most cart lines a quote request can have. Defaults to 100. |
| Sent to | When | |
| Wholesale application received | Your store's administrators | A business applies. |
| Wholesale application approved | The applicant | An application is approved. |
| Wholesale application declined | The applicant | An application is declined, with your reason if you gave one. |
| Quote ready | The customer | A quote's status becomes Quoted. |
| Payment terms reminder | The customer | An order on terms is due soon, and again once it's overdue. |
- The storefront forms and pages come from Wave's wholesale sections, so Wholesale Desk works on Wave storefronts.
- The theme's access settings change only what pages show. Only approved customers can order is what checks orders, so keep it on when your store sells only to approved customers.
- Quick order takes at most 100 different SKUs at a time, and a quantity of at most 9,999 of each.
- Wholesale Desk doesn't collect payment for orders on terms. It reminds customers before and after the due date.
- An account's credit used is refreshed daily. Checkout checks the credit limit against the account's open orders on terms at that moment.
- Group prices apply to active products, one price list per customer group.
Only approved customers can order is on and the customer isn't signed in, or their account's group isn't in Allowed customer groups. Approve their application, or add their group.
The order is under the minimum for the customer's group, before shipping and tax.
The account isn't approved, or its net days are empty or 0. Set Net days in the customer's Wholesale fields.
Pause payment terms is on for the customer.
The order and the customer's open orders on terms together are over their credit limit. Raise the limit, or wait for open invoices to be paid.
The quote is past its expiry date. Price it again with a new expiry date and set it to Quoted.
The reason is in the price list's Error field. Fix it and click Apply prices again.
Uninstall Wholesale Desk from its page in your installed apps. While a storefront's theme requires it, Swell refuses and names the storefronts: change their theme first. Afterward, the wholesale sections show their empty states, and checkout no longer checks wholesale orders.
Swell builds and maintains Wholesale Desk. For help with it, email support@swell.is.