diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b7b31fa3..0d871ed8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -66,8 +66,8 @@ jobs: - name: Update environment run: | - vc-build SetHelmParameter -ArgoServer https://argo.virtocommerce.cloud -ArgoAppName ${{ steps.app-name.outputs.APP }} -ArgoToken ${{ secrets.VCST_TOKEN }} -HelmParameters storefront.image.tag=${{ github.event.inputs.artifactUrl }} - + vc-build SetEnvParameter -EnvironmentName ${{ steps.app-name.outputs.APP }} -CloudToken ${{ secrets.VCST_TOKEN }} -HelmParameters storefront.image.tag=${{ github.event.inputs.artifactUrl }} + - name: DEPLOY_STATE::successful if: success() run: echo "DEPLOY_STATE=successful" >> $GITHUB_ENV diff --git a/Directory.Build.props b/Directory.Build.props index cfaa9ecb..22269877 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,7 +7,7 @@ VirtoCommerce - 6.29.0 + 6.30.0 $(VersionSuffix)-$(BuildNumber) diff --git a/VirtoCommerce.Storefront.Model/Stores/Store.cs b/VirtoCommerce.Storefront.Model/Stores/Store.cs index 9f14f200..223c3d11 100644 --- a/VirtoCommerce.Storefront.Model/Stores/Store.cs +++ b/VirtoCommerce.Storefront.Model/Stores/Store.cs @@ -136,6 +136,8 @@ public string Host public bool EmailVerificationEnabled { get; set; } + public bool CreateAnonymousOrderEnabled { get; set; } + public decimal FixedTaxRate { get; set; } public string CartValidationRuleSet { get; set; } diff --git a/VirtoCommerce.Storefront/Domain/Stores/StoreConverter.cs b/VirtoCommerce.Storefront/Domain/Stores/StoreConverter.cs index 5c15f9fc..4434564a 100644 --- a/VirtoCommerce.Storefront/Domain/Stores/StoreConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Stores/StoreConverter.cs @@ -88,6 +88,7 @@ public static Store ToStore(this storeDto.Store storeDto) result.AnonymousUsersAllowed = result.Settings.GetSettingValue("Stores.AllowAnonymousUsers", true); result.IsSpa = result.Settings.GetSettingValue("Stores.IsSpa", false); result.EmailVerificationEnabled = result.Settings.GetSettingValue("Stores.EmailVerificationEnabled", false); + result.CreateAnonymousOrderEnabled = result.Settings.GetSettingValue("XOrder.CreateAnonymousOrderEnabled", true); result.CartValidationRuleSet = result.Settings.GetSettingValue("Stores.CartValidationRuleSet", null); if (string.IsNullOrEmpty(result.CartValidationRuleSet))