Wholesale and quotes

Wholesale is for orders like 20 hammocks from a workshop in Cambodia to a campsite in Korea. Everything stays a file in your repository, and payments go straight to your own accounts.

What you get

PartWhat it does
Product detailsVolume prices, minimum order, sample price, production time, capacity and what can be customized, shown in a Wholesale box on the product page
Volume prices in the cartOptional. The cart uses the volume price once a buyer has enough of a product
Quote requestA form at /quote/ (and /<language>/quote/). The request reaches you as a notification with a link that starts a quote in the admin
QuotesMade in the admin. Each quote has its own page in the buyer's language, with payment buttons, delivery terms and production progress
DocumentsPrintable proforma invoice, commercial invoice and packing list for each quote, with labels in your language and the buyer's

Turn it on

  1. In Admin → Shop details → Wholesale, tick Offer wholesale.
  2. Choose your country of origin (printed on invoices) and, if you have one, your tax or business ID.
  3. Open a product, press Add wholesale details and fill them in (see below).
  4. Press Publish.

The footer of your shop then links to the quote request page, and Quotes appears in the admin menu. Turn wholesale off to hide the Wholesale boxes, the request page and volume prices in the cart; quote pages you have already sent keep working.

Notifications

Quote requests are sent to your notification channel. Set up Telegram or a webhook first. Without one, the buyer sees the request written as a chat message and sends it to you with one of your contact apps.

Wholesale details of a product

FieldExampleNotes
Unitpiecepiece, set, pair, dozen, box, carton, bag, roll, sheet, kilogram or meter. Shown with the right plural in each language ("20 pieces")
Minimum order10The smallest quantity a buyer can ask a quote for
Volume pricesfrom 10: 32, from 50: 27The price of one unit from a quantity on, before option prices. Below the first quantity the normal price applies
Use volume prices in the cartonThe cart counts the quantity of a product across all its options: 6 green and 4 indigo hammocks reach the price "from 10" together
Sample price45Leave empty if you do not send samples
Production time3 weeksShown on the product page and copied into quotes made from a request
Production capacity40 per weekShown as "About 40 pieces a week"
Can be customizedcolour, logoAlso size, packaging and label. Buyers tick these in their request
NotetextFor example how the goods are packed

Products with wholesale details can be added to the cart in quantities up to 9,999 per line; other products up to 99. Volume prices in the cart are rounded to the smallest unit of your currency, like all cart prices.

Quote requests

On the request page the buyer chooses up to 20 products with quantities and options, ticks what should be customized, and can ask for a sample first, give a date and choose the delivery terms they prefer (EXW, FOB, CIF, DAP or DDP, each explained in one plain sentence). Their name, the country to ship to, and an email address or phone number are required; notes can be up to 1,000 characters.

The server checks every request: known products, whole quantities, the minimum order of each product. You receive one notification in your shop's language with the products, quantities, options, the buyer's details and notes. Near the top is a link like https://<your-shop>/admin/#rfq=…. Open it, sign in, and the admin creates a new quote with the products, quantities, options, volume prices and samples already filled in.

The link itself contains no email address or phone number. The request is not stored anywhere else: keep the notification.

Make a quote

Open Admin → Quotes and press New quote, or use the link from a request.

  • Buyer: name, company, country and the buyer's language. The quote page is shown in that language, even if your shop does not offer it.
  • Items: pick a product to fill in its name and the volume price for the quantity, or add any other item. Each item has a quantity, unit, unit price, options text and an optional HS code (the customs code printed on invoices). Unit prices can have up to four more decimals than your currency, for example 0.035 USD a piece; each line total is rounded once.
  • Samples, shipping (cost, method, delivery terms, weight, boxes and box size), discount, deposit percentage, production time, valid until and country of origin.
  • Terms in your language and the buyer's. The Translate button fills in the buyer's language when automatic translation is available.

The totals update as you type. Press Publish; about a minute later the quote page is online. Use Copy link, or send the link with WhatsApp, Telegram, LINE or email from the quote: the message is written in the buyer's language.

Your repository may be public

Quote files are saved in shop/quotes/ in your GitHub repository. Write only the buyer's name, company and country. Never put an email address, phone number or street address in a quote; exchange those by message. The build warns you if a quote file contains an email address.

The quote page

The page is at /q/<id>/, where the id is 12 random letters and numbers. It is shown in the buyer's language, with a link to a copy in your language. Search engines are asked not to index it, it is not in the sitemap, and nobody can find it without the link.

It shows the items with photos, totals, shipping method and delivery terms with a short explanation, production time, the payment plan, progress with dates, notes, photos and tracking numbers, your terms, the three documents and your contact apps.

Payments. The page offers only what can be paid now:

SituationBuyer can pay
Deposit set (for example 30%), nothing paid yetThe deposit, or the full amount
Deposit receivedThe balance
Deposit 0% (or 100%)The full amount
Valid-until date passed and nothing paidNothing; the page asks the buyer to message you
Draft, canceled or deliveredNothing

Stripe and PayPal appear when their keys are set (Payments); the amount is always calculated on the server from the quote file. When bank transfer is on in Payments, the page shows your bank details with the quote number to write on the transfer, and an I have sent the payment button that notifies you. Card and PayPal payments notify you once, with the quote number, the part paid and the amount.

Record payments and progress

When money arrives, open the quote and enter the date under Payments received. After you publish, the page shows that part as paid and asks only for the rest. Setting the status to Deposit received fills in today's date for you.

The amount of a received deposit is kept with the quote. If you change the quote afterwards, for example 10 more pieces, the balance is the new total minus the deposit the buyer really paid.

Each new status (accepted, deposit received, in production, ready to ship, shipped, delivered) adds an entry to Progress. Add a note in both languages, photos (resized in your browser, like product photos) and the tracking number. Buyers like seeing their order being made.

Documents

Each quote has three printable pages, linked from the quote page:

DocumentAtContains
Proforma invoice/q/<id>/proforma/Your details and tax ID, the buyer, quote number, dates, items with HS codes and origin, totals, payment terms with bank details, delivery terms, production time, signature line
Commercial invoice/q/<id>/invoice/Invoice number (from the quote number), shipping method and tracking number, origin, HS codes, packages and weight, a declaration and a signature line
Packing list/q/<id>/packing/Items and quantities, boxes, box size and gross weight

Labels are in your language with the buyer's language below. The buyer's street address is never stored, so the consignee box is empty: type the address into it, then press Print or save as PDF. The typed text is not saved. The pages are laid out for A4 paper.

Ask in your language

With Show "Ask in your language" links on, the Wholesale box and the quote page link to NoBorder Talk, a free phrasebook for trade messages. It opens in the visitor's language with yours already chosen as the partner language, so you and your buyer can agree on quantities, prices, samples and shipping without a shared language.

Files

A product's wholesale details, in shop/products/<id>.json:

"wholesale": {
  "unit": "piece",
  "moq": 10,
  "tiers": [ { "min": 10, "price": 32 }, { "min": 50, "price": 27 } ],
  "cart": true,
  "sample": 45,
  "leadTime": [3, "week"],
  "capacity": [40, "week"],
  "custom": ["color", "logo"],
  "note": { "en": "Packed 10 to a carton." }
}

In shop/settings.json:

FieldExampleNotes
wholesale.enabledtrueWholesale boxes, the request page and volume prices in the cart
wholesale.origin"KH"Default country of origin for new quotes
wholesale.taxId"K001-901234567"Printed on invoices; optional
wholesale.talktrue"Ask in your language" links

A quote, shop/quotes/<id>.json, made by the admin:

FieldNotes
ref, created, validUntilQuote number like Q-261205-K7QX, and dates as YYYY-MM-DD
lang, currencyThe buyer's language; the currency is your shop currency when the quote is made
buyer{ "name", "company", "country" } only
itemsproduct, name, options, qty, unit, price, hs
samplesproduct, name, qty, price
shippingprice, method (air, sea, express, post, truck), incoterm, weight, boxes, boxSize
discount, depositAn amount, and a percentage of the total
depositAmountThe deposit received, set by the admin when you record it
statusdraft, sent, accepted, deposit, production, ready, shipped, delivered, canceled
paid{ "deposit", "balance", "full" }: the date each part arrived, or null
timelinedate, step, note, photos, tracking

If a quote file has a mistake, the build stops with a message naming the file, and your shop stays as it was.