Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
is it possible to check if there are any numbers present in the address field?
i tried with regex ( /[^0-9]/g ) but it does not work. (it only puts it in superscript)
Any other possibility to hold back fulfillment for missing house numbers?
Solved! Go to the solution
This is an accepted solution.
Regex is not supported currently. You could check if the address includes each number. It's obviously quite a bit more manual to set up 10 conditions but it should work.
This is an accepted solution.
Regex is not supported currently. You could check if the address includes each number. It's obviously quite a bit more manual to set up 10 conditions but it should work.
but i did not think of it, yet. thanks for the hint
This is still not working for me, is their any other way to do it?
Flow now as a Run code action. You can use whatever you need in that action to parse an address
Hello @FrederikstubbeØ
Yes, it is possible to check if there are any numbers present in the address field or not, Checkout Address Validify provides a simple solution:
Our app allows you to validate fields such as First Name, Last Name, Address Line 1 and 2, City, Zip Code, Phone, and more. You can customize validation rules, including:
Additionally, you can apply these validations at the cart level, block specific zip codes, and apply rules without needing a Shopify Plus plan. Address Validify integrates seamlessly without checkout.liquid file modifications—just install the app, configure your validation rules, and it will handle everything.
This should help prevent issues with shipping labels containing non-Latin characters, offering a streamlined solution.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025