Setup

To use the Discount API, install the @wix/restaurants package using npm or Yarn:

Copy

or

Copy

Then import { discount } from @wix/restaurants:

Copy
Did this help?