bryankaran
New Member
So I have a list of words. I wish to create unique permutations as products to be randomly generated and reserved upon. Each permutation would consist of 3 words. Once a product is created, that permutation will be excluded from being created in the future.
Example:
The "words" list contains thousands of words, ex. Apple Orange Banana
On product creation, the product would have an sku of one of the following permutations and added to a new list called "products".
AppleBananaOrange
AppleOrange Banana
BananaAppleOrange
BananaOrangeApple
OrangeAppleBanana
OrangeBananaApple
If a permutation already exists in the "products" list, then the next random permutation would be created.
This is similar to a password generator that uses words.
Thanks
Example:
The "words" list contains thousands of words, ex. Apple Orange Banana
On product creation, the product would have an sku of one of the following permutations and added to a new list called "products".
AppleBananaOrange
AppleOrange Banana
BananaAppleOrange
BananaOrangeApple
OrangeAppleBanana
OrangeBananaApple
If a permutation already exists in the "products" list, then the next random permutation would be created.
This is similar to a password generator that uses words.
Thanks