To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more

Discount code Buy X Get Y (for free) doesn't work

andreimajewski
New Member
1 0 0

Hello, 

I'm trying to set up the following flow: 

Screenshot 2021-10-08 at 16.20.17.png

however, everytime I am trying to apply this code at the checkout, I am said that code isn't valid for products in the cart. 

Screenshot 2021-10-08 at 16.21.39.png

Could anybody advice what should I do to activate such flow?

Replies 2 (2)
Shay
Shopify Staff
Shopify Staff
1618 256 345

Hi @andreimajewski 

Thank you for sharing the screenshots and details of what you are trying to create for a store discount and the error you are also receiving. 

A common issue that I see in support is a misconception of how the Buy X Get Y discount works, and I just want to ensure that isn't the cause of your error here. The Buy X Get Y discount requires that the free item be in the cart before the discount can be applied. It does not pull the free item in after the fact. This is to avoid the possibility of misuse where items are added to the cart without the customer permission. 

If that is the case here, please feel free to review the requirements for the Buy X Get Y discount: Creating discount codes · Shopify Help Center.

If this is not the problem and the minimum order amount threshold is met and the free item is in the cart, I would recommend reaching out to our live support for further troubleshooting. This way they can ensure the correct products/collections are being chosen and escalate further if something is not working as expected. To contact our live support please follow this link: Shopify Help Center - Contact Support, sign into your store account, search for "discount code error" and use the contact support button at the bottom of the search results to see all our live support options. 

Let me know if you have additional questions about this I can assist with here. 

Shay | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

SagarikaDas
Shopify Partner
232 23 86

Hey @andreimajewski,

Have you tried the discount code in SMALL letters??

You have created the discount code in small letters and the error message shows the code in CAPITAL letters.

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution!