Quick order
Quick order lets a buyer add many lines by part number or SKU. The buyer does not need to browse the catalog. The theme has four ways to order quickly:
- The quick order pad.
- Bulk add from collection tables.
- The variant table on product pages.
- The Add by SKU box in the cart.
The quick order pad
The pad is a table of lines. Each line has a SKU or part number, a quantity, the product name, the pack, the stock, the unit price, the line total and a remove button.
Where the pad appears
- On its own page. Set Quick order page in Theme settings > Trade and B2B to the page that uses the template quick-order.
- As a home page section. Add the Quick order section in the theme editor.
- In a header dialog. If Quick order page is blank, the header opens the pad in a dialog. If it is set, the header links to the page.
Starting lines
The pad starts with empty lines. Set Starting lines in the section to 5, 8 or 12. The default is 8.
Enter lines by typing
- Type a SKU or part number in a line.
- Type a quantity. The default is 1.
- Move to the next line or leave the field. The theme looks up the part.
- Add more lines with Add line.
Paste a list
- Select Paste a list.
- Paste one item per line.
- Put the SKU first, then the quantity. Separate them with a tab, a comma, a semicolon or spaces.
- Leave out the quantity to order one.
- Header rows are ignored.
The theme reads the list and creates one line for each item.
Import a file
- Select Import file.
- Choose a CSV or TXT file.
- The theme reads the file in the browser. It uses the same rules as the paste box.
Nothing is uploaded to the server when you import a file. The file stays on the buyer's device.
Duplicate SKUs
If the same SKU appears twice, the theme merges the two lines into one. The quantities are added together.
How the theme finds a part
The theme matches each SKU or part number in this order:
- The variant SKU.
- The variant barcode.
- The part number, when it is stored as the barcode or as a product tag. The search does not read the part number metafield. See Product data.
The match does not depend on capital letters, spaces or hyphens. For example, m10 40 zp finds M10-40-ZP when the SKU is written that way.
Line states
Each line shows one of these states:
- Found. The line shows the product, stock and price.
- Not found. The line shows a message and a link to search.
- Several matches. The buyer chooses one match from a short list.
- Unavailable. The product cannot be ordered.
- Quantity adjusted. The quantity changed to fit a rule, such as a minimum or a step. The line says why.
Totals and actions
The footer shows the number of lines, the total, Add all to cart and Clear.
Lines stay in the browser until the buyer adds them to the cart. They are kept in the browser session. A new browser session starts with an empty pad.
Without JavaScript
If JavaScript is off, the section shows a plain form. The form sends the pasted text to the search page. The buyer can still search each line.
Limits
- The theme looks up a SKU with a search that returns up to 10 results per lookup.
- The pad runs up to four lookups at the same time.
- If the store asks the browser to wait (a rate limit), the theme retries that lookup once after the wait time the store gives.
- The pad adds lines to the cart in batches of 25. If a batch fails, the theme adds its lines one by one. Each bad line shows its own message.
Bulk add from collection tables
Each collection table is one form. Set the quantities for the products you need. Zero quantities are skipped.
A bar at the top shows the number of lines and the total. Select Add to cart to add all the lines at once.
The variant table on product pages
The variant table lists every variant of a product as a row. Each row shows:
- The option values, one column for each option.
- The SKU.
- The pack.
- The stock.
- The price, with any volume price breaks.
- A quantity box, with the quantity rule applied.
- The line total.
The table also shows how many of each variant the cart already holds.
Select Add all to cart to add every quantity in the table. The table shows a subtotal. It shows 50 rows at a time. Select Show more to see the next 50.
Add the Variant table block to the product template in the theme editor.
Add by SKU in the cart
The cart has an Add by SKU box. The buyer enters one SKU and a quantity. The theme looks up the SKU and adds the product to the cart. The box also links to the quick order page.