How to make the discount "buy x get y" free visable at the product page?

Hi Everybody

Anybody there know how to make the discount “buy x get y free” visable at the product page in the Dawn theme?

I have found this awesome guide about how to make a discount visable at the product page (https://www.youtube.com/watch?v=e02L1tvETwk) but unfortunately it only works with a direct discount at the products price. I would like to show the “buy x get y free” discount in a way similar to the one in the guide.

I hope some of you have some ideas.

Thank you in advance for your help.

May Abba YaHWaH be will you all :heart:

Hey @ThabiDK ,

I think there are more approaches to your request.

I’ve written a guide how to add a custom label to product pages (and collection pages). Here’s the link: https://www.nikikozak.me/shopify-qa/2022-07-29-custom-label/

You can adapt it to your store. E.g. you can add a product tag to all products, which are going to be included in the “Buy X Get Y Free” campaign. And render the custom label for products, which have this product tag assigned.

I wrote about how to display the custom label in the product image section but you can also display the label somewhere else on the product page.

You can also use metafields for this case. E.g. the true/false metafield would be also working (the products which are eligible for this discount will have the metafield set to true). However, I recommend using the first approach (by using the product tags) because you can easily add the product tags in bulk editor or when exporting/importing csv file.

Hope this helps!

1 Like

Hi Niki_K

Thank you very much for your responding. It helps a lot and I’m sure I can make it work.

May Abba YaHWaH be will you :heart: