This tech spec is for the "Discount feature", it allows users to configure discounts/pricing tiers on the menu products/carts so they can entice their customers to buy products.
Here's an outline for the data model changes I would make. This is a rough sketch, so please don't use this in production.