The problem
Four rules, one cart
Customers pick a plan length of 7, 14 or 30 days, set up to five ingredient exclusions, and can only order at all if their ZIP code is in the delivery area. On top of that sits a points-based rewards and referral programme.
Each of those is simple alone. Together they are a pricing and availability problem that has to resolve before a customer can be shown anything, and getting it wrong means quoting a price for a meal you cannot deliver or cannot make.
