A shipping method can now have a "Distance" rule. The method is shown only when the delivery address is within a radius of a point, such as your shop. Use it for local delivery: your own van, a bike courier or a same-day service around one city.
- Set it up. In the shipping method editor, under Rules, select "Add rule" and then "Distance". Type an address and select "Find coordinates", or type the latitude and longitude yourself. Then type the radius in km and save.
- Check the match. After a lookup, the address field shows the address as it was found, so you see a wrong match before you save.
- Straight line. The distance is measured in a straight line, not by road. A 10 km radius can be a 14 km drive, so set the radius a little lower if you think in driving distance.
- Apple Pay and Google Pay. These hide the street until the order is placed, so the address is placed by its zip code. Near the edge of the circle, the answer can be a few km off.
- Unknown addresses. When the delivery address cannot be located, the method is hidden. Shipping methods without the rule are not affected.
- Other rules. The rule works together with the method's other rules, and all of them must match. It works with and without "Enable advanced checkout features".
- AI assistant and MCP. The assistant in the dashboard, and AI apps connected over MCP, can read and set the rule, and tell you why a method is hidden for an address.