To set up a pricing table for a custom product on Shopify, create a table in Appify Custom Product Options, fill its grid with your rates, then read it from the price formula with TABLE().
A pricing table is a lookup grid. The customer picks a size or a material, the formula finds the matching row, and the rate comes back as a number. You keep your price sheet in one place instead of hardcoding it into the formula.
Here are the steps, in order.
Step 1: Create the table
You can start from two places. In the app, go to Pricing Tables and click + New Table. Or open a calculator, go to Options & Pricing and use the Pricing Tables card there.
Give the table a short name, such as sheet_prices. The name is what you type in the formula, so make it easy to read. You can add a description of what the table holds.
Then pick two settings: the lookup mode (step 3 explains each one) and the key type for each side of the grid, text or number.
Step 2: Fill the grid
The grid works like a spreadsheet. The blue column holds the row keys. The green header row holds the column keys. Most tables use one of two layouts.
| Layout | How it reads | Example use |
|---|---|---|
| One column (key to value) | One key returns one value. | Material name to price per unit. |
| Two keys (row by column) | A row key and a column key return one cell. | Width by height to a sheet price. |
A one-column table
Put the keys down the blue column. Name the value column in the green header, usually Price. The top-left cell is only a label.
The help docs use this example. Treat the numbers as sample values, not a rate card:
- WOOD: 2.50
- ACRYLIC: 4.00
- METAL: 6.50
When the keys are choices, use each choice's Choice Token, not its display label. The token is shown in the choice's gear settings. Matching ignores upper and lower case.
If you later need a second axis, the Convert to 2D grid button turns a one-column table into a true grid.
A two-key grid
Row keys go down the blue column. Column keys go across the green header row. Each cell holds the price for that pair. Either key can be a number from a size field or a Choice Token from a material choice.
Step 3: Pick a lookup mode
The mode decides what happens when the customer's value is not an exact key. A customer who orders 30 units from a table with breaks at 10, 25 and 50 needs a rule. These are the five modes:
| Mode | What it returns |
|---|---|
| Exact | A value only when the key matches. Text ignores case. |
| Nearest lower | The closest key at or below the input. 30 units use the 25 row. |
| Nearest upper | The closest key at or above the input. |
| Nearest | The closest key in either direction. |
| Interpolate | A blend between the surrounding numeric keys. On a numeric grid the blend runs both ways. Values past the edge stay at the edge. |
Use Nearest lower for price breaks and bracketed rate sheets. Use Interpolate when a 47 by 63 inch order should land between the 40 and 50 inch columns instead of jumping to one of them. Each table has a default mode, and a formula can override it for one call.
The table feeds the product price. The formula reads the table and the result is the price of the product itself, on one native Shopify cart line. No size becomes a variant.
Step 4: Read the table in your formula
Any formula field in Options & Pricing can call TABLE(). Pass the table name, then the keys. The name is not case sensitive.
| Formula | What it does |
|---|---|
TABLE("materials", OPT_TOKEN("MATERIAL")) |
Looks up the rate for the material the shopper picked. |
TABLE("panel_prices", INPUT("WIDTH"), INPUT("HEIGHT")) |
Returns the cell where the width row meets the height column. |
TABLE("sheet_prices", INPUT("SIZE"), OPT_TOKEN("MATERIAL")) |
Size down the rows, material across the columns. |
TABLE("qty_rates", OPT("QTY"), "Price", "nearestLower") |
A quantity break lookup with the mode set for this one call. |
The result is a number, so you can do arithmetic with it. TABLE("materials", OPT_TOKEN("MATERIAL")) * VAR("AREA") multiplies the material rate by an area you defined once as a pricing variable.
One trap to know: OPT_TOKEN gives the selected choice, while OPT gives the option's numeric price contribution. Tables keyed by material or size choice want OPT_TOKEN.
The Using Tables in Formulas help article lists every form of the function.
Step 5: Decide if the table is global or local
A local table lives in one calculator and you edit it right there. A global table lives on the main Pricing Tables page and any calculator in the store can use it.
Choose global for a rate sheet shared across products, such as a shipping rate list used by three calculators. Update it once and every calculator picks up the change. Editing a global table happens on the main page, so a calculator cannot change it by accident.
You can move between the two. Save as Global turns a local table into a shared one. Convert to Local makes an independent copy inside a calculator.
Step 6: Check a lookup before you publish
If a lookup returns 0 or lands on the wrong cell, open that formula's Troubleshoot tab. It shows the row and column the formula tried and whether they matched. When a Choice Token does not match a table key, it offers a one-click fix.
In the editor preview, fill in sample values and watch the price. The Price looks wrong? link under the preview price opens the same tab for the choices you picked. The guide to previewing price changes before they go live covers the Draft, Saved and Published views.
Tables can be edited at any time. Changes take effect the next time the calculator loads.
Where to go next
If you already have a spreadsheet, you can bring the sheet in with an Excel or CSV import. Not sure whether a rate sheet or a formula suits your product? Formulas vs pricing tables walks through the choice.
Still comparing apps? What to look for in a 2D pricing table app lists what a good one should handle.
To see a two-key grid in a full build, read how to set up a blinds calculator. For a one-column area table, the sticker calculator setup uses one.
The full reference is in the Pricing Tables help article.
FAQ
What is a pricing table in Appify Custom Product Options?
A reusable lookup grid that holds your prices outside the formula. A formula reads it with the TABLE() function.
Can one table serve several products?
Yes. Make it a global table on the main Pricing Tables page, and any calculator in the store can reference it.
Should I use Nearest lower or Interpolate?
Use Nearest lower for price breaks, where 30 units should get the rate for 25. Use Interpolate when sizes between two keys should get a blended price.
Why does my lookup return 0?
The key probably does not match a row or column. Open the formula's Troubleshoot tab to see what was tried, and check that you used the Choice Token, not the display label.
Does a table create Shopify variants?
No. The table feeds a calculated price, which is charged on one cart line.
Your rate sheet, looked up for every order.
Whatever you sell, however you price it · The last options app you'll shop for