> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.custompricecalculator.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Size preview

**Plan required:** Size preview is included in the sales-based plans. It isn't part of the old Pro plan. If the element shows a Premium badge and an Upgrade button, switch plans in the app under Billing → Plan. [How to change your plan](https://support.custompricecalculator.com/en/article/how-custom-price-calculator-pricing-works-165bw73/)

Size preview adds size inputs to your calculator and draws what the shopper is ordering, to scale, as they type. The drawing shows the dimensions and the area, updates with every keystroke, and travels with the order: it appears on the cart line, at checkout and on the order in your Shopify admin, so you ship what the shopper saw.

![The drawing redraws as the shopper types](https://storage.crisp.chat/users/helpdesk/website/-/6/7/3/d/673d74301cfde400/cpc-size-preview_1qdr4tz.gif)

## What it draws

- **Rectangle**: width and height. Blinds, prints, glass, mats, signs.
- **Square (one size)**: one input, drawn as a square.
- **Box (with depth)**: width, height and depth, drawn as a box.
- **Cube (one size)**: one input, drawn as a cube.
- **Path (runs with 90° turns)**: a run of lengths with left or right turns between them, drawn as a floor plan. Railings, fencing, skirting, worktops. The shopper starts with one run and clicks **Add run** for the next, up to the maximum you set.

The inputs the element creates are ordinary number inputs. They appear in your formula under the labels you give them, and their minimum and maximum work like any other number input.

## How to add it

1. Open the calculator in the app and click **Add element**. Pick **Size preview**.
2. **Shape**: choose one of the five shapes.
3. **Unit shown**: mm, cm, m, in or ft. The shopper types in this unit and the drawing labels use it. Each input label gets the unit added for you, for example "Width (cm)".
4. **Inputs**: for each input the shape creates, set the label, the minimum and the maximum. For Path, set **Maximum runs** (2 to 12) and the text of the **Add run** button.
5. **Max decimals**: 0 keeps whole numbers; allow up to 4 if your shoppers type fractions.
6. **Note**: one line shown under the drawing, for example "Preview is to scale. Print is edge to edge."
7. Use the labels in your formula like any other input, for example `Width * Height / 10000 * 45`.
8. Save.

## Design

Open the **Design** section of the element.

- **Placement**: *Inside the calculator* puts the drawing under the inputs. *Replace the product image* draws it in place of your product photo, so the shopper sees it large, where the photo was. If the page has no product image slot, the drawing falls back to the calculator.
- **Colours**: Lines, Text and Background. They start from your store's Design page, and the palette dropdown has a few ready-made sets. They change only the drawing, never the rest of the calculator.
- **Show dimension labels** and **Show area inside the shape** can be switched off for a cleaner drawing.

## What the shopper sees

The shopper types the sizes and the drawing redraws with each change, with the dimensions and the area on it. For Path, each run is numbered on the plan and the footer says how many runs there are and whether the shape closes. When they add to cart, the drawing is saved and attached to the line as **Size drawing**, so it shows in the cart, at checkout and on the order.

![A 24 by 72 inch rectangle drawn in place of the product image](https://storage.crisp.chat/users/helpdesk/website/-/6/7/3/d/673d74301cfde400/cpc-size-preview-still_z9khkm.png)

## Good to know

- A size outside the minimum or maximum shows the input's own message, and the drawing and price pause until it is fixed.
- A run the shopper never added counts as 0 in the formula and is left off the order.
- The drawing uses your theme's font.
- The element's tooltip, note and labels can be translated on the Translations page like any other phrase.
- The drawing is saved as an image in your store's Files when the shopper adds to cart. Nothing is uploaded while they are still typing.

## Troubleshooting

- **The element is not in the list**: it is being rolled out. Message us and we switch it on for your store.
- **Premium badge and Upgrade button**: Size preview is on the sales-based plans. Switch under Billing → Plan.
- **The drawing shows below the product photo instead of replacing it**: your theme keeps a fixed-height image slot. Switch Placement to *Inside the calculator*, or message us with the product link and we adjust it.
- **"Could not calculate the price" after changing the unit**: the formula still names the old unit, for example `Run 1 (mm)` after switching to cm. Open the formula and pick the inputs again from the list.