worktree-citti-arkiver-tur #14

Merged
hjess merged 2 commits from worktree-citti-arkiver-tur into main 2026-10-31 06:54:24 +01:00
Owner
No description provided.
hjess added 2 commits 2026-10-31 06:54:20 +01:00
A generic catalog item (e.g. 'Entrecote ½ kg') could match a premium offer
(Wagyu 250 €/kg, US-Beef), inflating the estimate — correct math, wrong
product. Tell the matcher to pick the ordinary/standard variant at the lowest
price and avoid premium/luxury (Wagyu, Dry-Aged, US-Beef, øko-premium) unless
the item names it. No price caps (that would be guesswork) — the estimate
stays raw offer price × quantity. Version marker in the match signature forces
a re-match so the new logic takes effect.
The estimate column is hidden on phones, so add a small 'est X kr · ½kg Y kr'
line under each item name, shown only on mobile. The ½kg (per-500g) price is
computed for weight items (line price ÷ kg × 0.5). The est column (desktop)
and this line now show the *computed* per-row price (offer price × quantity,
or quantity-scaled estimate), so each row matches what the total adds up.
hjess merged commit 833fbe46b9 into main 2026-10-31 06:54:24 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hjess/ti#14