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 ...
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 :)