From 6e4e9b7661747ca6d819397c5733d632caa93f67 Mon Sep 17 00:00:00 2001 From: DmitriyKulagin Date: Thu, 16 Feb 2023 13:13:00 +0300 Subject: [PATCH] #6527 Used number type for some transactional attributes --- .../Nop.Plugin.Misc.Sendinblue/Services/SendinblueManager.cs | 2 +- src/Plugins/Nop.Plugin.Misc.Sendinblue/plugin.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugins/Nop.Plugin.Misc.Sendinblue/Services/SendinblueManager.cs b/src/Plugins/Nop.Plugin.Misc.Sendinblue/Services/SendinblueManager.cs index 8dd3042c631..6ef2e91768e 100644 --- a/src/Plugins/Nop.Plugin.Misc.Sendinblue/Services/SendinblueManager.cs +++ b/src/Plugins/Nop.Plugin.Misc.Sendinblue/Services/SendinblueManager.cs @@ -1019,7 +1019,7 @@ public async Task PrepareAttributesAsync() (CategoryEnum.Normal, SendinblueDefaults.LanguageAttribute, null, CreateAttribute.TypeEnum.Text), (CategoryEnum.Transactional, SendinblueDefaults.OrderIdServiceAttribute, null, CreateAttribute.TypeEnum.Id), (CategoryEnum.Transactional, SendinblueDefaults.OrderDateServiceAttribute, null, CreateAttribute.TypeEnum.Text), - (CategoryEnum.Transactional, SendinblueDefaults.OrderTotalServiceAttribute, null, CreateAttribute.TypeEnum.Text), + (CategoryEnum.Transactional, SendinblueDefaults.OrderTotalServiceAttribute, null, CreateAttribute.TypeEnum.Float), (CategoryEnum.Calculated, SendinblueDefaults.OrderTotalSumServiceAttribute, $"SUM[{SendinblueDefaults.OrderTotalServiceAttribute}]", null), (CategoryEnum.Calculated, SendinblueDefaults.OrderTotalMonthSumServiceAttribute, $"SUM[{SendinblueDefaults.OrderTotalServiceAttribute},{SendinblueDefaults.OrderDateServiceAttribute},>,NOW(-30)]", null), (CategoryEnum.Calculated, SendinblueDefaults.OrderCountServiceAttribute, $"COUNT[{SendinblueDefaults.OrderIdServiceAttribute}]", null), diff --git a/src/Plugins/Nop.Plugin.Misc.Sendinblue/plugin.json b/src/Plugins/Nop.Plugin.Misc.Sendinblue/plugin.json index aea20dadfdc..9b9e0e49253 100644 --- a/src/Plugins/Nop.Plugin.Misc.Sendinblue/plugin.json +++ b/src/Plugins/Nop.Plugin.Misc.Sendinblue/plugin.json @@ -2,7 +2,7 @@ "Group": "Misc", "FriendlyName": "Sendinblue", "SystemName": "Misc.Sendinblue", - "Version": "3.56", + "Version": "3.57", "SupportedVersions": [ "4.70" ], "Author": "nopCommerce team", "DisplayOrder": 1,