diff --git a/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Configuration/Constants.cs b/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Configuration/Constants.cs index 414b275..3b74321 100644 --- a/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Configuration/Constants.cs +++ b/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Configuration/Constants.cs @@ -21,7 +21,7 @@ public static class Constants internal static readonly int DefaultPingInterval = 60; internal static readonly int DefaultConnectionTimeout = 30; - internal static readonly string AssemblyVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString(); + internal static readonly string AssemblyVersion = System.Diagnostics.FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductVersion; /// /// Nested class with cache configuration constants. diff --git a/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Dynamicweb.Ecommerce.DynamicwebLiveIntegration.csproj b/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Dynamicweb.Ecommerce.DynamicwebLiveIntegration.csproj index bcfab27..70b2244 100644 --- a/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Dynamicweb.Ecommerce.DynamicwebLiveIntegration.csproj +++ b/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/Dynamicweb.Ecommerce.DynamicwebLiveIntegration.csproj @@ -1,6 +1,6 @@  - 10.4.1 + 10.4.2 1.0.0.0 Live Integration Live Integration diff --git a/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/OrderHandler.cs b/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/OrderHandler.cs index dd83946..8efde13 100644 --- a/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/OrderHandler.cs +++ b/src/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/OrderHandler.cs @@ -631,7 +631,7 @@ private static void ProcessOrderLines(Settings settings, XmlDocument response, O } string orderLineType = orderLineTypeNode?.InnerText; - if (orderLineType == "0" || string.IsNullOrWhiteSpace(orderLineType)) + if (string.IsNullOrWhiteSpace(orderLineType) || orderLineType == "0" || orderLineType == "2") { ProcessProductOrderLine(settings, order, orderLineIds, orderLines, allOrderLineFields, orderLineNode, responseIdOrderLineDictionary, logger); }