Skip to content

Commit

Permalink
Merge branch '4.30-bug-fixes' of https://github.com/nopSolutions/nopC…
Browse files Browse the repository at this point in the history
…ommerce into 4.30-bug-fixes
  • Loading branch information
skoshelev committed May 25, 2020
2 parents 7b1bdf8 + edb732c commit 6655b47
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions upgradescripts/4.20-4.30 (under development)/upgrade.sql
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,24 @@ set @resources='
<LocaleResource Name="Admin.Configuration.Settings.Shipping.EstimateShippingEnabled.Hint">
<Value></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Tax.Avalara.Fields.AccountId.Required">
<Value>Account ID is required</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Tax.Avalara.Fields.EnableLogging">
<Value>Enable logging</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Tax.Avalara.Fields.EnableLogging.Hint">
<Value>Determine whether to enable logging of all requests to Avalara services.</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Tax.Avalara.Fields.LicenseKey.Required">
<Value>Account license key is required</Value>
</LocaleResource>
<LocaleResource Name="Plugins.Tax.Avalara.Fields.TaxOriginAddressType.DefaultTaxAddress.Warning">
<Value><![CDATA[Ensure that you have correctly filled in the ''Default tax address'' under <a href=\"{0}\" target=\"_blank\">Tax settings</a>]]></Value>
</LocaleResource>
<LocaleResource Name="Plugins.Tax.Avalara.Fields.TaxOriginAddressType.ShippingOrigin.Warning">
<Value><![CDATA[Ensure that you have correctly filled in the ''Shipping origin'' under <a href=\"{0}\" target=\"_blank\">Shipping settings</a>]]></Value>
</LocaleResource>
</Language>
'

Expand Down Expand Up @@ -3273,4 +3291,12 @@ BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'shippingsettings.estimateshippingproductpageenabled', N'True', 0)
END
GO

--new setting
IF NOT EXISTS (SELECT 1 FROM [Setting] WHERE [Name] = N'avalarataxsettings.enablelogging')
BEGIN
INSERT [Setting] ([Name], [Value], [StoreId])
VALUES (N'avalarataxsettings.enablelogging', N'True', 0)
END
GO

0 comments on commit 6655b47

Please sign in to comment.