Skip to content

Commit 2239e2a

Browse files
committed
smartstore#436 Make %Order.Product(s)% token to link the product detail page
1 parent 9305831 commit 2239e2a

4 files changed

Lines changed: 95 additions & 102 deletions

File tree

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
* #800 Multi-store: Option to display all orders of all stores for customer in frontend
3838
* #457 Added option to hide the default image for categories and products
3939
* #451 Add message token for product shipping surcharge
40+
* #436 Make %Order.Product(s)% token to link the product detail page
4041

4142
### Improvements
4243
* (Perf) Implemented static caches for URL aliases and localized properties. Increases app startup and request speed by up to 30%.

src/Libraries/SmartStore.Services/Messages/IMessageTokenProvider.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public partial interface IMessageTokenProvider
1616
{
1717
void AddStoreTokens(IList<Token> tokens, Store store);
1818

19-
void AddOrderTokens(IList<Token> tokens, Order order, int languageId);
19+
void AddOrderTokens(IList<Token> tokens, Order order, Language language);
2020

21-
void AddShipmentTokens(IList<Token> tokens, Shipment shipment, int languageId);
21+
void AddShipmentTokens(IList<Token> tokens, Shipment shipment, Language language);
2222

2323
void AddOrderNoteTokens(IList<Token> tokens, OrderNote orderNote);
2424

@@ -40,7 +40,7 @@ public partial interface IMessageTokenProvider
4040

4141
void AddProductTokens(IList<Token> tokens, Product product, Language language);
4242

43-
void AddForumTokens(IList<Token> tokens, Forum forum, int languageId);
43+
void AddForumTokens(IList<Token> tokens, Forum forum, Language language);
4444

4545
void AddForumTopicTokens(IList<Token> tokens, ForumTopic forumTopic,
4646
int? friendlyForumTopicPageIndex = null, int? appendedPostIdentifierAnchor = null);
@@ -55,13 +55,10 @@ void AddForumTopicTokens(IList<Token> tokens, ForumTopic forumTopic,
5555

5656
string[] GetListOfAllowedTokens();
5757

58-
//codehint: sm-add begin
5958
void AddBankConnectionTokens(IList<Token> tokens);
6059

6160
void AddCompanyTokens(IList<Token> tokens);
6261

6362
void AddContactDataTokens(IList<Token> tokens);
64-
//codehint: sm-add end
65-
6663
}
6764
}

0 commit comments

Comments
 (0)