Why is my 'Pay X, get Y' discount code not working in checkout?

Hi there,

I’m trying creating a discount code with the ‘Pay X, get Y’ feature - directly from the discount section of Shopify.

However, it doesn’t work: When I add the discount code to the checkout, it tells me that the discount code is not valid for the products in the cart.

I’ve double-checked 1000 times and I’m sure the products are the ones I used for setting up the promotion.

Has anyone had the same issue and could help me solve it?

Many Thanks

Hi @SendoC ,

The Buy X, Get Y discount will require all products to be added to the cart in order to apply as expected. Please ensure both items (Buy X, Get Y) are included in the cart at checkout, prior to adding the discount code. You can refer to this Creating Discount Codes document for more information.

Hope it helps.

Hi Avada, Thanks for your help, I understand now and could solve it.

Could I ask you if you know any Shopify app that allows making that kind of promotion (buy X and get Y for free) without the need of adding a discount code and having the gifted products automatically added to the cart?

Many Thanks again for your help

Our app, BYOB allows you to pair a discount code with a bundle. So the customers can add all items in 1 place.

You can try the demo here: Buy X Get Y discount

1 Like

Hi @SendoC ,

I recommend this Free Gifts BOGO buy x get y app which has the option to automatically add free gifts to your customer cart once the customers meet the condition of your offer :slightly_smiling_face:

1 Like

Hi SendoC,

BOGO discount will require all products to be added to the cart in order to apply as expected. Make sure that both items (Buy X, Get Y) are included in the cart at checkout.

Also by using a third party app for discount field with many feature will helps to increase your store sales.

Theis app will allow customers to enter customized discount codes before checkout which will lead to increased sales and customer loyalty.

1.Kart Discount App:

Easy to setup the discount field on the cart page. Show Discount Field on Cart Page and Side Drawer,

Features:

1.Stack Discount

2.Multiple Automatic Discount

3.Discount Finder

  1. Free Shipping Estimation

  2. Multi- Currency Option

6.3rd Party app compatibility and much more