Referencing a Setting in a String Resources

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Is it possible to include the value of a nopCommerce Setting in a String Resource (similar to including Message Tokens in an email template)?

We are running nopCommerce 4.2 and offer a free shipping offer if you purchase over a certain amount. This amount is stored as a setting in the database. We have String Resources that inform the customer of this amount. Right now we have the amount hard coded in the String Resources which means when we update the Setting Amount (not often but it does happen) we have to remember to go in and update each of the String Resources that make mention of this amount.

Thanks for any insight you can offer!
3 years ago
Not by default - you need to customise or make plugin
You can only use the defined tokens If you want to create new tokens edit Source Version
nop42\Libraries\Nop.Services\Messages\MessageTokenProvider.cs
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.