Beginner’s Guide To Discount Rule Plugin In NopCommerce 4.20

Posted: August 08, 2019 at 8:27 AM Quote #243443
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
This post/answer is useful
2
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Need any professional assistance? Drop us your requirements on [email protected] or Skype @ live:nopadvance.sales

https://nopadvance.com
nopCommerce Solution Partner
Posted: August 08, 2019 at 11:14 PM Quote #243464
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

:)
This post/answer is useful
2
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
www.noptools.com
Posted: August 08, 2019 at 11:17 PM Quote #243465
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
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Need any professional assistance? Drop us your requirements on [email protected] or Skype @ live:nopadvance.sales

https://nopadvance.com
nopCommerce Solution Partner
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2019
Learn more