Good, glad to have another pair of eyes look at my code! Manually creating hundreds of coupons is unworkable, which is why I coded it to create coupons upon customer registration.
Honestly, I could skip the Minimum Subtotal thingie, but two years ago there was a bug that I experienced with coupons. The work around was to always add a Minimum Subtotal (which is why I have it set to $2, as that’s the cheapest item in my store;)
I mean, there’s a chance that they’ve since resolved that issue, but that sounds risky to me:p
How do we even report this issue? I know calling the wix help number will just lead to them telling me this is a velo issue.
Thanks for responding!