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.
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.