cancel
Showing results for 
Search instead for 
Did you mean: 

Cart price rules. Coupon code auto-generation.

Cart price rules. Coupon code auto-generation.

Hi!

Met a problem in Magento 2.0.

 

For example I need Coupon codes XY001 to XY999, where XY is prefix. When I click auto-generate  with preferred length of code (3) it will generate completely random codes something like XY2325 or XY2455, etc.

 

I didnt see in documentation any remarks on how to generate not random, but A to Z codes.

1 REPLY 1

Re: Cart price rules. Coupon code auto-generation.

@Ilia_P Yes that's true, it would generate coupon code on random number not in sequence (like 001-999). In order to generate such code you need to write custom script Or generate programetically

-
Magento Programmer | Was my answer helpful? You can accept it as a solution.