Beginner’s Guide To Discount Rule Plugin In NopCommerce 4.20

4 months ago
Hello Community,

We are excited to announce second article from our series of articles on nopCommerce plugin development.



This article explains everything you need to know before creating a discount rule plugin in nopCommerce 4.20

https://medium.com/@nopadvance/beginners-guide-to-discount-rule-plugin-in-nopcommerce-4-20-3837abc437fc

We will be happy to receive your comments and feedback on this article. This keeps us motivated :)

Best regard's,
Atul
4 months ago
No offense, but that seems like a lot of steps, rather than simply
Step 1.  In File Explorer, Copy an existing Discount Requirement Plugin folder, rename files ...
Step 2.  In an editor like NotePad++, Search/Replace In Files these text values
  a) ... with ...
  b) etc.
Step 3.  In Visual Studio, right-click Plugins folder, and  Add "existing" project
Step 4.  Generate a new GUID, and in project properties / assembly, change it
Step 5.  Change the discount logic

:)
4 months ago
New York wrote:
No offense, but that seems like a lot of steps, rather than simply
Step 1.  In File Explorer, Copy an existing Discount Requirement Plugin folder, rename files ...
Step 2.  In an editor like NotePad++, Search/Replace In Files these text values
  a) ... with ...
  b) etc.
Step 3.  In Visual Studio, right-click Plugins folder, and  Add "existing" project
Step 4.  Generate a new GUID, and in project properties / assembly, change it
Step 5.  Change the discount logic

:)


Thank you for sharing this. We usually do this way.

Normally, I can write multiple code solution to achieve same thing. We need to figure out which one is best and optimized.

This guide is for beginners BTW :)

Regards,
Atul