Customer Eligibility in discounts not working with groups

Highlighted
New Member
1 0 0

Hi,

 

I'm trying to create a discount code that can only be used by certain customer groups. I've tried the following two things but am unable to get it to work as expected:

1. I created the a group using a filter based on one specific customer tag, lets call it "VIP". Then added this group under the discount Customer Eligibility, but in testing the code can still be used by people not in these groups.

 

2. Changed the discount Customer Eligibility so that it doesn't use a group, but instead I selected a specific customer record. In testing, anyone can still use the code, including without this customer being signed in or entering any email address at checkout.

 

I would have expected that in both 1 and 2, the code cannot be used unless the user is signed in - either to check against the tag or to check the email address.

 

I have tested this in two different browsers, cleared the cache, run incognito, but no fix. Am I missing something or doing something wrong, or is this a bug?

 

Thanks,

Jesse

0 Likes
Highlighted
Shopify Staff
Shopify Staff
681 71 102

Hi, @JChit

 

I’m Helen from Shopify Support. Welcome to the Community, and thanks for reaching out about this. I’m happy to look further into it for you.

 

The first thing to note when creating customer specific discount codes, is that the use of the discount is not immediately validated in the checkout when the code is entered. 

 

For online stores, the validation occurs only after the first page in the checkout is complete, by clicking on the ‘Continue to shipping’ button as seen below. For POS transactions, this confirmation is on the ‘charge’ step:

 

20-03-2dxql-8vodb

 

 

Once on the second page of the checkout, the customer will be notified that the discount is applied to their order, if they have entered the correct email address on page 1. It will look like this:

 

20-03-t31pw-1d8ru

 

If they are not eligible to receive the discount, they will see this:

 

20-03-kqy13-g3tk3

 

 

Therefore, as the first step towards troubleshooting this for you, could you please confirm for me whether or not your discount code is being applied to every customer, even after proceeding to the second page of the checkout?

Helen | Social Care @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
Highlighted
New Member
1 0 0

Hi, @Helen !

How to go about customer group discounts in Storefront API implementation?

When applying discount to the checkout and afterwards associating customer with the checkout, the discount still is being applied. Is there some caveat here which I am missing? 

Thank you in advance!

0 Likes
Highlighted
Shopify Staff
Shopify Staff
681 71 102

Hi, @D3. Thanks for reaching out!

 

I’m afraid Storefront API support is beyond my scope, therefore I recommend searching and/or posting your inquiry in the Storefront API & SDK Forum. Many Developers, Experts and Partners cruise through here, and so someone there may be able to assist you better than I can with this. There’s also the Developer section of the Help Center that is great for referencing. Here’s the link to the Storefront API resources specifically. 

 

Hope this helps!

Helen | Social Care @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes