New Shopify Certification now available: Liquid Storefronts for Theme Developers

Customer Eligibility in discounts not working as expected

TomMcGuinness
Visitor
2 0 0

Hi,

 

I'm trying to create a discount code that can only be used by certain customer groups. I've created the groups and added them under Customer Eligibility, but in testing the code can still be used by people not in these groups.

 

The groups are based on email domain, but a test order placed using an email not in the list of domains will still enjoy the discount if entered.

 

Is this a bug?

 

Thanks,

Tom

Replies 3 (3)
Rae
Shopify Staff (Retired)
Shopify Staff (Retired)
1166 95 354

Hi, @TomMcGuinness!

 

This is Rae from Shopify. Thank you for posting this question, and welcome to the Community.

 

I understand you're having troubles with creating a discount code for specific customers only, and I'd love to jump in and lend a hand to resolve this. 

 

To get started, can you please tell me a bit more about the discount type you're creating? Is it an automatic discount or a standard discount code

 

In terms of the customer group you created, did you create this group by filtering your customer list by email domain, as outlined here?

 

If you're testing this discount code on your own device, it's also possible that the discount code may be cached on the browser you're using. To check if this is the case, please clear your browser cache, and then try to checkout again with an email address that isn't included in the customer group. When you do this, does the discount code still apply to the order?

 

I look forward to hearing back from you with the above information so I can help troubleshoot this further! 

To learn more visit the Shopify Help Center or the Community Blog.

TomMcGuinness
Visitor
2 0 0
HI,

Thanks for replying. Yes, I suspect it was a caching issue, because on a
different device using an incognito tab it;s behaving exactly as expected.

Thanks again,
Tom
Rae
Shopify Staff (Retired)
Shopify Staff (Retired)
1166 95 354

Hi, @TomMcGuinness

 

Thanks for following up with these details. I'm happy to hear everything is working as expected now. 

 

If you have any other questions about the discount code, please feel free to reply to me here and I'll be glad to help further. 

 

Have a great day! 

To learn more visit the Shopify Help Center or the Community Blog.