UPAY3FOODInstall
decisions/ADR-004-rank-on-cart-total

ADR-004 — Rank on cart total, never on item price

tags
#decision#decisions
reading
1 min · 104 words
links
0 out · 0 in

Status

Accepted.

Context

The first extractor captured a single visible price. Item prices ignore delivery fee, service fee and discounts, which often decide which option is cheaper.

Decision

Rankings and market statistics use CartQuote.totalCents only. Item-only observations are kept as context but excluded from ranking with an explicit reason. A cart is comparable only if every line matches the requirement and the total quantity matches.

Consequences

  • The extension must extract subtotal, fees, discount and total per label.
  • Fewer observations qualify, which is preferable to wrong comparisons.

Linked mentions 0

No other note links here yet.