Comments (3)
Hey @INOVEK,
Correct, it is possible duplicate coupons are generated. The changes to that are quite small though as there are 6212 (thats, like, a million-gazillion-empirerillion) possibilities, so I don't tend worry too much about those odds ;-)
Adding a check for existing coupons would give a huge slow down on the generation of the coupons (I've done a sh*t ton of testing and optimization on the generation process, including a check for existing coupon codes :-)
from woocommerce-coupon-generator.
But I think it would be a good idea to add this option. Especially when you allow in the future to change the length of the coupon-code and add prefixes, then a toggleable option would be nice.
Just because you say the possibilitie for this is quite small, so that it wouldn't happen. (it still remains possible)
from woocommerce-coupon-generator.
I'll take it in consideration as a option, but can't guarantee it.
So far I've not been very convinced of the amount of added value of it (I'm very careful with adding options to keep my plugins clean & lean).
Even when it happens that a duplicate coupon code is generated, the impact of that is almost irrelevant I believe.. (correct me if I'm wrong)
from woocommerce-coupon-generator.
Related Issues (13)
- See if there's a better way then using WP AJAX HOT 1
- Coupon format option HOT 1
- Coupon export after completion HOT 1
- Remove ambiguous characters HOT 2
- Change page URL to prevent false flagging of SQLmap HOT 1
- Coupon setting not coming through
- Some options are not put into generated coupons HOT 6
- Set submenu under Marketing menu HOT 1
- Select character amount for coupon codes
- How do I use a filter to customise the coupon format? HOT 2
- Final download may contain coupon codes by other plugins added during the generation process HOT 2
- Plugin doesn't work with Free Gift Plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woocommerce-coupon-generator.