Can i put files from outside of the Nop.Web into a theme?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Can i put files from outside of the Nop.Web into a theme?  Like, for example files for e-mail, and pdf table formatters places in Nop.Service library (MessageTokenProvider.cs, and PdfService.cs), because the table styles by default are just not satisfactory.

Can I put them in a theme, or am I going into building a Plugin realms now? My concern is in case those particular files (and/or others) experience changes in 4.0.
6 years ago
You should build a misc. plugin and override MessageTokenProvider and PdfService there. You replace default nopCommerce implementation in a DependencyRegistrar class that implements IDependencyRegistrar interface.

I also found https://www.nuget.org/packages/mustache-sharp template engine very useful and easy to use.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.