Skip to content

Commit

Permalink
Merge branch 'release/6.30.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
vc-ci committed Oct 12, 2023
2 parents 5b60c47 + 657f424 commit ae41e14
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Authors>VirtoCommerce</Authors>
</PropertyGroup>
<PropertyGroup>
<VersionPrefix>6.29.0</VersionPrefix>
<VersionPrefix>6.30.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
</PropertyGroup>
Expand Down
2 changes: 2 additions & 0 deletions VirtoCommerce.Storefront.Model/Stores/Store.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
1 change: 1 addition & 0 deletions VirtoCommerce.Storefront/Domain/Stores/StoreConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>("Stores.CartValidationRuleSet", null);
if (string.IsNullOrEmpty(result.CartValidationRuleSet))
Expand Down

0 comments on commit ae41e14

Please sign in to comment.