7 Commits
Author SHA1 Message Date
David Underwood f220a1691c Reimplement checkout item removal. All existing tests now pass 2026-07-21 12:49:57 -04:00
David Underwood 60d132a821 Add BulkDiscount 2026-07-21 12:32:51 -04:00
David Underwood 554ce58cbf Add BuyXGetOneFreeDiscount 2026-07-21 12:23:46 -04:00
David Underwood 882c18b5e6 Rebuild the Checkout class, no discounts yet
Checkout now stores its items using a quantity and a link back to the
original product instance. It has a reference to the store to make sure
that product IDs added are valid
2026-07-21 10:27:33 -04:00
David Underwood e570783935 Add Shop class to keep track of available products 2026-07-21 09:48:32 -04:00
David Underwood b65eca8356 Basic Product class 2026-07-21 09:39:05 -04:00
David Underwood 33fff52042 Put tests in their own directory and add rake task to run them 2026-07-21 09:24:40 -04:00