We can create multiple discount codes that belong to a single price rule but how does the {once_per_customer} works ?
When creating the price rule, we can set once_per_customer value be true and then Shopify will limit it to be used once per customer. However, what if we get multiple discount code? Is it for each discount code, the customer can use once (case 1)? Or, no matter what discount code the customer use, each customer can use the discount under a single price rule once (case 2)?
Let’s look at the example:#### Assume we have 2 discount code ( dc_one and dc_two ) that belongs to a price rule. A customer get both dc_one and dc_two.
Case 1: After the customer apply dc_one, the customer still can apply dc_two. But the customer can neither use dc_one or dc_two since then, because both of them have been used once.
Case 2: After the customer apply dc_one, the customer can’t apply dc_two or dc_one again. Because they are treated as one discount that can be used once_per_customer.
I hope my question is clear and thank you for any kind reply and solution.
Hi @jerrychan If I get your question correctly, you want to offer discount only once to your customer even if they have multiple discount codes available to them.
This is not directly possible on Shopify but you can try following method:
You can auto tag customers as soon as they use discount on your store
After that you can create a segment of customers who doesn’t have that tag