-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Support code with prefixes #7806
Comments
@stephanegigandet on sure I'm not sure is if we want to populate the code_tags field, and how we should do that. |
Based on the below example of the code-tags, I'd propose that the first code-tag should say PLU, price look up, or PLU-Commodity. I don't understand the use of the cascading number of UPC digits in the example and can offer no suggestion there. |
@FoodCoach-App is there some hierarchy coding in plu code ? (like a meaning for first, or second, etc. digits) |
Unlikely.
In the PLU code, there are "zones" for each commodity (3100-3300 for
example), but the first digit doesn't always mean A, and the second digit
doesn't always mean B.
…On Wed, Dec 14, 2022 at 5:21 AM Alex Garel ***@***.***> wrote:
@FoodCoach-App <https://github.com/FoodCoach-App> is there some hierarchy
coding in plu code ? (like a meaning for first, or second, etc. digits)
—
Reply to this email directly, view it on GitHub
<#7806 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4J6ZUGBVORCAOS37HTIFXDWNGNTLANCNFSM6AAAAAASVMEBCM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
If we have a list of suche zone, I think it's worth having the zone thing in the tags, coded as "plu-start-end". For code 3241, we would have:
Otherwise just |
Each commodity has a different amount 4 digit number associated with them and start on different values. The range was provided for background and to explain that there is no significance on a a digit-by-digit basis. I would argue to move forward with: ["plu", "plu-3241"] |
This issue is stale because it has been open 90 days with no activity. |
In:
We talk about supporting code with a prefix like:
plu-66745
For this to happen:
Config_off.pm
)code + ""
), while they should call the normalization functiontesting the API should be enough
The text was updated successfully, but these errors were encountered: