This is a personal project that combines multiple Checkout Extensions into a single app, some are boilerplate code (eg. a custom banner), while some are more featured (eg. a multi-sectioned checkbox section that expands content and can block progress.)
Clone this repo and modify the extensions as desired to fit any custom use cases.
- You must download and install Node.js if you don't already have it.
- You should create a Shopify partner account if you don’t have one.
- You should create a store for testing if you don't have one, either a development store or a Shopify Plus sandbox store.
The Shopify CLI connects to an app in your Partners dashboard. It provides environment variables and runs commands in parallel..
You can develop locally using your preferred package manager. Run one of the following commands from the root of your app.
Using yarn:
yarn dev
Using npm:
npm run dev
Using pnpm:
pnpm run dev
Open the URL generated in your console. Once you grant permission to the app, you can start development (such as generating extensions).