-
-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an API for country detection using GS1 Barcode prefixes #409
Comments
|
|
I don't think it's a good idea to automatically add a country with that. The code you're mentioning refers to the company headquarters. There are products with spanish barcodes sold in France and not in Spain. |
This is not my intention. It just about having the ability to make guesses and let the user decide. |
{"country":"United States" , "barcode" : "000 – 019"}, |
This might work not only for countries but also for brands. There are quite a few brands which use barcodes from specific ranges. For example: K-Classic (Kaufland) More on this Data: |
I agree that we shouldn't tag automatically based on this information (too many products use a different barcode range that doesn't adhere to the GS-1 specification) but it could be very well used for suggesting edits to country & brand for Hunger-Games |
What
Why
How
Caveats
Part of
The text was updated successfully, but these errors were encountered: