app/cart_pricing.py prices a cart once for every caller: the catalog read once, a pure price_items (base price, manual extra, splits, bands) pinned against today's arithmetic by a 16-cart characterization test, then the grade rules, the coupon and the treatment. create_quote and approve call it instead of their two drifting copies; the Site's pre-check now counts the manual-file extra like the approval does. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
3.4 KiB
3.4 KiB