Skip to content

Commit

Permalink
Fixed Language of OrderPaid.CustomerNotification
Browse files Browse the repository at this point in the history
  • Loading branch information
BeniGemperle authored and BeniGemperle committed Oct 6, 2014
1 parent 9648398 commit 8b8138c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Description.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Group: Misc
FriendlyName: Razor MessageService
SystemName: ToSIC.RazorMessageService
Version: 1.10
Version: 1.11
SupportedVersions: 3.40
Author: 2sic Internet Solutions
DisplayOrder: 1
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.1.1.0")]
[assembly: AssemblyFileVersion("1.1.1.0")]
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ For the Domain Models of Customer, Store, Product, OrderItem etc. see the API:

Version
----
###1.11
* "OrderPaid.CustomerNotification" is now sent in the Language the Order was made

###1.10
* Added new Message Template "OrderPaid.CustomerNotification"
* Works with nopCommerce 3.40
Expand Down
2 changes: 1 addition & 1 deletion RazorWorkflowMessageService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ public virtual int SendOrderPaidStoreOwnerNotification(Order order, int language
var store = _storeService.GetStoreById(order.StoreId) ?? _storeContext.CurrentStore;
languageId = EnsureLanguageIsActive(languageId, store.Id);

SendOrderPaidCustomerNotification(order, languageId); // Send additional Notification to customer
SendOrderPaidCustomerNotification(order, order.CustomerLanguageId); // Send additional Notification to customer in his Language

var messageTemplate = GetActiveMessageTemplate("OrderPaid.StoreOwnerNotification", store.Id);
if (messageTemplate == null)
Expand Down

0 comments on commit 8b8138c

Please sign in to comment.