Hi Tony,
I've would love to know how to turn that into a module, since I'm trying to wrap my head around making modules. I did follow that tutorial once, but it crashed the store, and I had to follow the instructions for force redeployment. The new system is complex, I hope you know that
I do strongly believe that this should be in the coupon module itself, since businesses have known for hundreds of years that giving people unlimited coupons leads to every order being for a total of zero dollars.
I did try to post there, but the website kept redirecting me to an X-Cart 4 suggestion form where I had to "re-ask" the question every time I clicked submit, so I gave up.
Best,
Per