Why isn't my discount code working at checkout?


Hey there

I have a bit unique situation.

My products are free and I charge for shipping.

When I put the discount on the checkout it says my discount is not valid.
I tried with buy x get y for free and that is not working also.

Please help

Hi, @lynk .

To gather a bit of context, you have free products on your website and you charge for shipping. Based on the information given and the screenshot(s) you’ve shared, you’re using a 10% discount code for all products so the discount code will not be valid at checkout. Could you clarify what the discount will be applied to?

I replicated the error within my test store by: creating a free product, creating a discount code with the same value and type you created and tried applying discount code at checkout to free product. Please see screenshot below for replicated error.

Screenshot of error:

If you wish to still offer a free product and charge for shipping, you can price the product at $10 for example, select Fixed Amount in the discount section and under Value enter $10 (or whichever price you choose.) That way you can still offer your customers a free product and charge the shipping rate that applies.

When creating discount codes they can be applied towards products, collections or variants. You can create discount codes based on percentage, fixed amount, free shipping or Buy X Get Y. I’ll share our help center resource on Creating discount codes for more information.

I had a chance to view your store and browse your products. Would love to learn more about how your products work.

Hey Victoria!

How can I apply a discount on shipping then?

At this time the functionality of applying a discount to a shipping rate is not a native feature within the Shopify admin.

In the meantime, you can look into using the Discounts section of your admin to apply free shipping. However, you cannot combine a free shipping discount code with any other type of discount code.

You can also look into apps like Advanced Shipping Rules or Better Shipping so that you can set specific shipping rates at checkout. For more information click into each app to learn about the features and benefits.

If you haven’t already, I recommend looking into our Shopify Blog resource on How to create a shipping policy to inform your customers on how your shipping rates work.