If you want Shopify to require a house number at checkout, validate Address Line 1 and stop checkout when the value has no numeric street or building number. The rule should show a correction such as: “Add the street or building number to Address Line 1 to continue.” Then test numbered streets, international formats, and valid exceptions before launch.
CartBlock supports shipping-address validation and custom checkout messages. Its current public documentation shows the Multiple checkout fields validator workflow. It does not publish an Address Line 1 house-number operator, regular-expression support, or text-normalization behavior, so confirm the comparison displayed in your installed app before activating this rule.
Why require a house number at Shopify checkout?
An address such as Main Street identifies a road but often does not identify a deliverable building. Missing numbers can lead to:
- Carrier address exceptions and delivery delays.
- Manual support outreach before fulfillment.
- Returned or undeliverable parcels.
- Extra work for warehouse and customer-service teams.
This rule has one narrow job: catch an Address Line 1 value that lacks a numeric street or building number. It does not verify that the address exists, correct a misspelling, standardize postal formatting, or confirm carrier deliverability.
For those broader decisions, use the Shopify checkout address-validation guide. Keep this rule focused on the missing-number problem.
Define the rule before opening CartBlock
Write the intended outcome as a testable sentence:
Block checkout when shipping Address Line 1 does not contain a numeric street or building number. Tell the shopper to add the number to Address Line 1.
Also define the scope. A practical starting scope is:
- Physical products that require a shipping address.
- Shipping Address Line 1 only.
- Markets where the delivery workflow expects a numeric building identifier.
- An exception process for legitimate addresses without Arabic numerals.
Do not automatically apply the same check to billing addresses. A delivery requirement belongs on the shipping address unless your written policy says otherwise.
Use this implementation brief before touching the rule builder:
| Decision | Recommended starting point |
|---|---|
| Field | Shipping Address Line 1 |
| Invalid state | No supported numeric street or building identifier is present |
| Shopper message | Add the street or building number to Address Line 1 to continue. |
| Scope | Markets whose delivery formats expect a numeric identifier |
| Exception owner | The operator responsible for shipping policy and carrier requirements |
How to require a house number at Shopify checkout with CartBlock
The labels below follow CartBlock’s public help article checked on September 21, 2026. Field-level comparisons can change, so use the number-presence comparison visible in your installed app rather than copying an unverified operator name.
1. Create a multiple-field checkout validation
Open CartBlock from Shopify admin. Under Validation Rules, select Create, then choose Multiple checkout fields validator.
Use an internal title that another operator can understand, such as:
Shipping Address Line 1 — street number required
The title is for managing the rule; shoppers see the custom error message.
2. Choose shipping Address Line 1
Find the shipping-address section and open the rule controls for Address Line 1. In the documented builder pattern, field controls open through Add rules, followed by Set rules.
Confirm that you selected the shipping field. Address Line 2 is normally used for apartment, suite, floor, or unit details and should not replace the building identifier in Address Line 1.
3. Configure the missing-number condition
Proceed only if your installed builder exposes an Address Line 1 comparison that can detect number presence. Public CartBlock documentation confirms the multi-field workflow, but not this specific comparison.
Choose the current comparison that makes the rule fail when Address Line 1 contains no numeric character. Read the completed rule back as a sentence before saving:
If shipping Address Line 1 has no numeric street or building number, show an error and stop checkout.
CartBlock’s public documentation does not currently state whether this field accepts custom regular expressions. It also does not document whether case, spaces, punctuation, or non-ASCII digits are normalized. Do not paste a regex or promise normalization unless those capabilities are visible and tested in your installed version.
If your builder does not expose a number-presence comparison for Address Line 1, contact Nextools support from the app instead of substituting a broad text rule.
4. Write a correction shoppers can follow
Use a message that names the field and the required change:
Add the street or building number to Address Line 1 to continue.
If your store serves only one market and customers recognize “house number,” this version is also clear:
Enter the house number in Address Line 1 to continue.
Avoid messages such as “Invalid address” or “Address rejected.” They do not tell the shopper how to recover and may overstate what the rule has checked.
5. Save and activate the validation
Review the field, comparison, market scope, and message. Select Save. CartBlock’s current help article says a Rule created confirmation appears and the page changes to an edit view.
Follow the installed app’s current activation instructions. If Shopify asks you to enable the validation under Settings > Checkout > Checkout rules, complete that step before testing.
6. Test the rule in a fresh checkout
Use a physical product so Shopify requests a shipping address. Run each test in a new checkout or clear the previous address first.
| Address Line 1 test | Expected outcome |
|---|---|
24 Main Street |
Allowed |
Main Street 24 |
Allowed |
24B Main Street |
Allowed if alphanumeric building numbers are in policy |
Main Street |
Blocked with the corrective message |
Apartment 5, with no street identifier |
Blocked or escalated according to policy |
Number only, such as 24
|
Review: a digit is present, but the address may still be incomplete |
| Valid local format without Arabic numerals | Allowed through a documented market exception |
| Address corrected after the error | Error clears and checkout continues |
Repeat the tests on mobile and on accelerated checkout paths used by your store. If the message does not appear where expected, use this checkout validation troubleshooting checklist. CartBlock also has separate Shop Pay troubleshooting guidance for eligible checkout configurations.
Account for international address formats
Not every deliverable address follows number + street name. Some markets put the building number after the street. Some use building names, kilometer markers, blocks, plots, or scripts with different numeral characters.
Before enabling one worldwide rule:
- List the countries you ship to.
- Review accepted examples from the relevant postal authority or carrier.
- Confirm which numeral characters the current comparison recognizes.
- Add market exceptions where a digit-only assumption would reject legitimate addresses.
- Give support staff a documented path for reviewing an exception.
The rule should reduce missing information without creating avoidable false positives.
When not to use a universal house-number rule
A worldwide digit requirement is not a harmless default. Pause and define exceptions when any of these patterns appear in your shipping markets.
Building-name addresses
Some valid addresses identify a property by a building or estate name instead of a street number. A number-presence check may block those customers even when the carrier accepts the address. Ask the person who owns shipping policy to compare recent delivered orders and carrier guidance before including that market.
Plot, block, or kilometer-marker systems
Addresses may use plot identifiers, block names, route markers, or other location conventions that do not fit a simple house-number model. Even when a value contains a digit, its placement and meaning can differ. Do not assume one comparison represents every local format; create a market exception or use a validation service built for postal-format checking.
Numerals outside digits 0–9
“Arabic numerals” in this guide means the Western digits 0–9. Customers may enter full-width digits or numerals from another script. Whether those characters pass depends on the comparison implemented in the installed app. Test representative local inputs and document which forms are accepted before launch.
The exception decision should belong to the operator accountable for shipping markets, carrier rules, and support procedures. Record the allowed format, affected market, approver, and a test address. This keeps a well-intended completeness rule from silently becoming a geographic checkout block.
When should you require a house number?
This rule is a good fit when your fulfilled orders normally require a numeric building identifier and missing numbers repeatedly cause carrier exceptions or manual outreach. It is especially useful when your support team can name the exact correction shoppers should make.
Use another approach when you need to prove that an address exists, standardize postal formatting, suggest corrected addresses, or confirm deliverability. Those jobs require broader Shopify checkout address validation options, not a simple digit-presence condition.
What this check can and cannot catch
| The rule can check | The rule cannot prove |
|---|---|
| Whether Address Line 1 contains a numeric character | That the building number is real |
| Whether a shopper corrected a missing number | That the carrier can deliver there |
| Whether the value meets your configured condition | That the street name is spelled correctly |
| Whether the field passes on tested checkout paths | That every international format is covered |
A shopper could enter 0, 123, or another incomplete value and satisfy a simple digit-presence check. Treat this rule as a focused completeness control, then use address autocomplete, postal validation, or carrier verification when you need those separate outcomes.
Common mistakes to avoid
Validating Address Line 2 instead
Apartment or suite information often belongs in Address Line 2. The street or building identifier belongs in Address Line 1 for this workflow.
Claiming regex support without seeing it
Regular expressions can express a digit check, but the current public CartBlock documentation does not promise regex support for this field. Verify the live builder before relying on it.
Assuming CartBlock normalizes the input
Spaces, punctuation, full-width digits, and other numeral systems may behave differently. Test representative inputs and record the results.
Blocking valid international addresses
A universal Arabic-digit requirement can reject legitimate local formats. Scope the rule by market where necessary.
Treating a digit as full address verification
The presence of a number does not establish that the address is complete or deliverable. Keep the shopper message accurate.
Frequently asked questions
How can Shopify require a house number at checkout?
Use a cart and checkout validation app that can inspect shipping Address Line 1. Configure the rule to stop checkout when the field lacks a supported numeric street or building identifier, show a corrective message, scope legitimate market exceptions, and test every enabled checkout path before launch.
Should the rule check Address Line 1 or Address Line 2?
Check shipping Address Line 1 for the street or building number. Leave Address Line 2 for apartment, unit, suite, floor, or similar secondary information unless your local addressing policy differs.
Does a house-number rule validate the whole address?
No. It checks one configured condition. Postal correction, autocomplete, and carrier deliverability require separate services.
What error message should I use?
Use: “Add the street or building number to Address Line 1 to continue.” It states the problem and the correction without claiming the address is fraudulent or nonexistent.
Launch a narrow, testable address rule
A good house-number rule checks one field, explains one correction, and has a test plan for valid exceptions. To make Shopify require a house number at checkout safely, start with shipping Address Line 1, verify the current comparison in your installed CartBlock builder, and test every market and checkout path you plan to support.
Explore CartBlock shipping-address validation when you need a configurable rule and a custom checkout message.

Install Now