Create a discount type

You've created a Shopify app, and you're now ready to create a new discount type in your app.

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.