Add validation for requiring street number in address field on checkout #60574
piezak
started this conversation in
Checkout Flow
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear,
Currently, on checkout the “Street” field allows users to enter the street name without providing a house/apartment number. This often results in incomplete addresses and additional effort from customer support to clarify details.
It would be very helpful to add an option to require a street number when the street field is filled in.
Proposed solution:
• Add a setting in the checkout block configuration (or global WC setting) that enforces the presence of at least one digit in the street field.
• Validation should prevent completing the order if the address does not contain a number.
• Ideally, make it optional (toggle on/off), so each store owner can decide if they want to enforce this rule.
Benefits:
• Reduces failed deliveries and manual corrections.
• Improves data quality in orders.
• Makes the checkout flow more reliable for store owners.
Thanks again to @alexflorisca for improvements to the checkout experience regarding to summary at the bottom of cart, which we talked about on different topic 🙌 – super useful!
Beta Was this translation helpful? Give feedback.
All reactions