Deployment of extension in shopify


create a version for your extension, publish it, and request access to run the extension on a live store.

Register and push your extension

In Shopify CLI, run the following command to register your extension:

$shopify extension register

Run the following command to push your extension code to Shopify:

$shopify extension push
  1. Open the URL that shopify extension push printed to the console.
  2. Click Enable to preview a draft of your extension in a development store.

 Create version and publish

  1. After you’ve previewed a draft of your extension, click Create version.
  2. 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
  3. 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.

Leave a comment

Your email address will not be published. Required fields are marked *