Smart Coupons provide a powerful, “all-in-one” solution for gift cards, store credits, discount coupons, and vouchers extending the core functionality of WooCommerce coupons.
This doc article explains how you can set the coupon code length for auto-generated coupons.
You can restrict the number of characters in the auto-generated coupon code. It is recommended to keep the number of characters high to prevent duplication of auto-generated coupon code.
- Go to WooCommerce > Settings > Smart Coupons.
- Look for “Number of characters in auto-generated coupon code”.
- Set the number.
- Save the settings.