# shipping-estimate

> (HQ #72) The delivery options of the cart before the checkout: a Webflow form with a country and a postal code. Smootify puts the address on the visitor's cart, and each [shipping-option="item"] copy shows one of Shopify's options with its price (§2.11); the one in the total takes is-selected, a click on another selects it. The total then holds that shipping (cart="shipping" shows it), and the checkout opens with that country, postal code and option (checked by Pietro on the E2E store, 2026-10-30). The options follow the cart: a line added, removed or changed asks again. An address already on the cart (typed before, a logged-in customer's) fills the form and shows its options at load. A country select the page leaves empty gets the countries of the shop's markets; without a country field the cart's country is used. The form stays visible (no success state). is-estimated on the host with options, no-options and the form error when Shopify has none for that address, is-loading while it asks. Shopify's rates need lines that ship: an empty cart asks nothing. Every plan. Inside smootify-cart too: the cart never takes its form, field or form states as its own.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/elements/shipping-estimate  
Updated: 2026-11-16

## Where it can go

- **Anywhere** on the page.
- **Must contain** `form`.
- **Out of place,** Smootify removes it from the page.

## What it requires

Nothing beyond Smootify: it works on every plan.

## Fields in the form

Each field’s **Name** setting in Webflow tells Smootify what the field holds. It is a setting of the field, not a custom attribute.

| Name | Field | What it does |
|---|---|---|
| a field named `country`, `country code`, `paese` or `nazione`; `zip`, `zip code`, `postal code`, `postcode` or `cap`; `province`, `state`, `region` or `provincia` (any case, a space or `_` in the two-word names) | Select field, Text field; text | The country as its two-letter ISO code (the value of a select option: Smootify fills an empty select with the market countries), the postal code and the province code, trimmed; every other field is ignored. |

## Attributes on the element

- **It reads** `data-error-no-options`, `data-free-text`.
- **Smootify writes** `is-estimated`, `no-options`, `is-loading` on it: do not set them yourself.

## Attributes inside it

| Group | Attribute name | Values |
|---|---|---|
| [Shipping estimate option](https://www.smootify.io/docs/reference/attributes/shipping-option) | `shipping-option` | 4 |
