Fit finder
Turns your size chart into a size recommendation. The shopper enters their pet's weight or a chest measurement; the block names a size and offers one click to select it.
Add the block
- Open the theme editor on a product page.
- In the Product information area, click Add block and choose Fit finder.
- Drag it where you want it — above Buy buttons is a good default, so the recommendation lands right before the add-to-cart button.
It arrives pre-filled with four size rows (S, M, L, XL) and example weight and girth ranges so you can see the shape of it immediately. Replace those with your own numbers.
Set Only show on products tagged and tag your products to match. Until the tags line up, the block renders nothing for customers — see Scoping.
Scoping it to the right products
Blocks on the product template appear on every product using that template, so a single chart would put harness sizing on a bag of food. Only show on products tagged prevents that.
Enter one or more product tags, separated by commas. The block only renders on products
carrying at least one of them. Matching ignores case, so Harness and
harness are the same tag.
harness, collar, coat, apparel
If your harnesses and your coats use different size charts, add two fit finder
blocks — one scoped to harness, one to coat — each with its own
rows. A product only ever matches one, so shoppers see one chart.
Leave the field empty and the block shows on every product using the template. That is almost never what you want.
When you're editing a product outside the block's tags, the editor prints a short message where the block would be, naming the tags it's waiting for. Without it, a correctly configured block would look broken. Customers never see it.
Filling in your size chart
Each size is one Size row block inside the fit finder. Add, remove and reorder them from inside the fit finder — they are not in the section-level block list, because a size row on its own has nothing to compare against.
| Setting | What to put in it |
|---|---|
| Size | The size name, exactly as it appears in your variant options — M, Medium, 2. This is how the block finds the variant to select. |
| Best for | Optional free text shown beside the row. Breed examples work well here: "Beagle, cocker spaniel". |
| Weight — From / To | The weight range this size fits. Leave To empty on your largest size and it displays as "25+". |
| Second measurement — From / To | The girth (or whatever you're measuring) range for this size. |
Order the rows smallest to largest. Ranges may share a boundary — if one row ends at 11 and the next begins at 11, a pet at exactly 11 gets the smaller size.
Fit finder settings
| Setting | Default | Notes |
|---|---|---|
| Heading | Find the right fit | |
| Subheading | Tell us about your pet and we'll suggest a size. | |
| Only show on products tagged | empty | See Scoping. |
| Size option name | Size | The name of the variant option holding your sizes. Change it if yours is called "Fit" or "Collar size". |
| Show size chart | on | Turn off to show only the form. The chart is also the no-JavaScript fallback, so leaving it on is safer. |
| Weight unit | Kilograms (kg) | Kilograms or pounds. This is a label — enter your numbers in the unit you pick. |
| Ask for a second measurement | on | Turn off for products where weight alone is enough, like coats sold by back length only. |
| Measurement name | Chest girth | Whatever you actually measure — neck, back length, paw width. |
| Measurement unit | Centimetres (cm) | Centimetres or inches. |
| How to measure | Measure around the widest part of the chest, behind the front legs. | Shown under the field. Worth rewriting to match your product. |
How the recommendation is decided
Four rules, in this order:
- A measurement beats weight. If the shopper fills in both and they point at different sizes, the measured value wins — it is a fact about the animal, where weight is a proxy. The block says so, and names the size weight alone would have suggested.
- An exact match wins. A value inside a row's range returns that row.
- Between two sizes, it rounds up. A harness that runs slightly loose still works; one that runs slightly tight does not.
- Below the smallest size, it says so. The smallest size is still offered, but described as the smallest available rather than as a fit. Telling the owner of a 0.8 kg puppy that it "falls between two sizes" would be untrue.
Above the largest size it behaves the same way in reverse: the largest size is offered, with a note that the pet is above the chart.
Selecting the variant
The recommendation includes a button — Select size M — which chooses that variant. Two things worth knowing:
- Typing a weight never changes the price. The variant only moves when the shopper clicks the button. Prices that shift while someone is typing feel like a trick.
-
The Size value must match your variant option value. If the row
says
Mand your option value isMedium, the block can still recommend the size but cannot select the variant. The recommendation appears without a button.
The shopper only enters this once
The pet's weight and measurement are remembered in the browser and shared with the feeding calculator. Enter a weight on a harness, and the food page is already filled in.
It is stored locally on that device only — nothing is sent to you or to us, and there is nothing to configure. Clearing browser data clears it.
Troubleshooting
| What you see | Cause |
|---|---|
| Nothing on the storefront, a note in the editor | The product doesn't carry any of the tags in Only show on products tagged. |
| The chart shows but no form | The form only appears once its script has loaded. If it never appears, another app on the page may be breaking JavaScript — check the browser console. |
| A recommendation with no Select size button | The row's Size doesn't match a variant option value, or that variant is sold out. |
| Every weight recommends the same size | Overlapping row ranges. Check that each row's From is at or above the previous row's To. |
| Decimal weights rejected | Both 6.5 and 6,5 are accepted. Anything non-numeric is not. |