Skip to content
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

Fix price parsing for salads that are paid by weight #4

Open
Tanikai opened this issue Sep 1, 2024 · 0 comments
Open

Fix price parsing for salads that are paid by weight #4

Tanikai opened this issue Sep 1, 2024 · 0 comments

Comments

@Tanikai
Copy link
Owner

Tanikai commented Sep 1, 2024

Currently, the price for salads that are paid by 100g are parsed like this:

{
  "name": "Siehe Auswahl vor Ort",
  "category": "Salat",
  "prices": {
    "students": "(je 100g) € 0,98 €",
    "employees": "0,98 €",
    "others": "0,98 €"
  },
  //...
}

The (je 100g) should not be included in the "students" field. Instead, it should be provided in an additional field like price_info or price_note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant