Hi @tobebuilds & thank you.
This is a good way, but the only problem is that the discount code isn’t unique.
The discount code should be i.e: Random digits + first name + random digits:
123-MIKE-456
Do you have a solution for uniqueness?
A user asks whether Shopify Flow can automatically generate unique discount codes after a customer purchases a specific product. The desired format would include the buyer’s name plus random characters (e.g., “123-MIKE-456”).
Key Findings:
Trade-offs:
Status: The conversation remains open, with the original poster seeking true code uniqueness, which the automatic discount solution does not fully address.
Hi @tobebuilds & thank you.
This is a good way, but the only problem is that the discount code isn’t unique.
The discount code should be i.e: Random digits + first name + random digits:
123-MIKE-456
Do you have a solution for uniqueness?