Umbraco Commerce Packages
CMSCloudHeartcoreDXP
  • Packages for Umbraco Commerce
  • Commerce Products
    • Umbraco Commerce
    • Commerce Payment Providers
    • Commerce Shipping Providers
  • Cart
    • Overview
    • Installation
    • Configuration
    • Release Notes
  • Checkout
    • Overview
    • Installation
    • Configure Umbraco
    • Customize Checkout
    • Checkout Screenshots
    • Release Notes
  • Deploy
    • Overview
    • Installation
    • Deploying Changes
    • Release Notes
  • Product Feeds
    • Overview
    • Installation
    • Extending the plugin
    • Release Notes
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Deploy

Deploying Changes

Learn more about the advantages of using the Umbraco Commerce Deploy package with Umbraco Commerce.

PreviousInstallationNextRelease Notes

Last updated 1 month ago

Was this helpful?

After installing Umbraco Commerce Deploy, it will automatically serialize any changes made in the Umbraco Commerce settings section to disk. They will be added to the data\revision folder alongside Umbraco's own serialized content.

These files should be committed to your repository. Umbraco Deploy will then monitor these files and automatically deploy changes between environments for you.

Learn more about how the deployment process works in the .

Ignoring Settings

Some entities in Umbraco Commerce accept configuration settings such as Payment Methods, Shipping Methods, and Tax Calculation Methods. These settings can be environment-specific, and therefore, you may not want to deploy them between environments. To prevent this from happening, you can add the following configuration options to your appsettings.json file.

appsettings.json
{
  ...
  "Umbraco": {
    "Commerce": {
      "Deploy": {
        "PaymentMethods": {
          "IgnoreSettings": [ "liveApiKey", "testMode" ]
        },
        "ShippingMethods": {
          "IgnoreSettings": [ "liveApiKey", "testMode" ]
        },
        "TaxCalculationMethods": {
          "IgnoreSettings": [ "liveApiKey", "testMode" ]
        }
      }
    }
  }
  ...
}

For each supported entity type, you can supply an IgnoreSettings option, which contains an array of aliases of the settings options to be ignored.

Umbraco Deploy documentation