Deployment
This tutorial explains how to create a version for your extension, publish it, and request access to run the extension on a live store.
Step 1: Deploy your extension
Anchor link to section titled "Step 1: Deploy your extension"After your extension is created, you can deploy your extension code to Shopify.
- Navigate to your app directory.
Run one of the following commands:
When you run the
deploy
command, the CLI builds your app, bundles your app extensions, and deploys the extensions to Shopify as a draft. It also walks you through multiple configuration steps. If you've already rundev
ordeploy
for this app, then some of these steps are skipped.To learn about the processes that are executed when you run
deploy
, refer to the Shopify CLI command reference.After you deploy the extension to Shopify, click on the link to navigate to your app in the Partner Dashboard.
Click Enable to preview a draft of your extension in a development store.
Step 2: Create version and publish
Anchor link to section titled "Step 2: Create version and publish"After you've previewed a draft of your extension, click Create version.
Select Minor or Major version depending on the nature of your code changes.
Minor versions introduce changes that are backwards compatible. Major version changes aren't backwards compatible and might affect users who are currently using your extension.
Click Publish beside the version that you want to publish. Publishing an extension version replaces the current Live version served to shops that have your app installed.
Step 3: Request access
Anchor link to section titled "Step 3: Request access"If you want to run the post-purchase checkout extension on a live store, then you need to request access. Before you request access, you need an unpublished app in a development store.
After your access request has been approved, any apps that you distribute through the Shopify App Store also need to be submitted for review in the Partner Dashboard. The review process is slightly different for existing apps and new apps.
For existing apps:
- You need to test your app using an unpublished app in a development store.
- To add the post-purchase checkout extension to a published app, you must submit the unpublished testing app for review in the Partner Dashboard.
- If the new app meets the stated requirements, then it will be approved and the post-purchase extension can be added to your existing published app.
For new apps:
- You need to test your app using an unpublished app in a development store.
- To add the post-purchase checkout extension to a published app, you must submit the unpublished testing app for review in the Partner Dashboard.
- If the new app meets the stated requirements, then it will be approved and listed in the Shopify App Store.
Request access from a development store
Anchor link to section titled "Request access from a development store"- From your Partner Dashboard, click Apps.
- Click the name of the app that you want to change.
- Click App setup.
- In the Post-purchase section, click Request access.
- Fill out the request form with an explanation of the app.
- You'll see a banner that your request is under review. The review process can take up to seven days.
After your request is approved, you're notified in the Partner Dashboard that your app has full access to the post-purchase extensions.