Build a discount experience

In this tutorial, you'll use Shopify CLI to add a product discount extension to an existing app and add a page to your app so that merchants can create a discount in the Shopify admin. Shopify CLI generates starter code for building your app and extensions and automates many common development tasks.