Display the 'Discount title' on the Product Card in Dawn theme

New to Shopify and its templating ‘Liquid’ language.

I create a discount for a certain product with the title e.g. “buy one get another half price” .

This ‘Discount Title’ only shows on the ‘cart’ page and only after I add a second product! This does not make any sense to me when the whole cause of adding the discount is to encourage the buyer to buy a second item. When they’ve added another then they already wanted it BEFORE and WITHOUT learning about the special buy and they’re happy without the special buy offer!

I cannot see any sense in this logic (showing the discount title only after the buyer already added a second item). Please if I’m missing the point here, anyone kindly enlighten me.

What I want is to display the ‘Discount title’ on the product card and wherever the product is displayed before any action/order made by the buyer so they are encouraged to invest in the special offered.

I am using the theme ‘Dawn’ latest version (v 13.0.0) as of now. I tried adding the liquid variable ‘{{ discount.title }}’ to the ‘card-product.liquid’ file but it seems that variable is not accepted in this file and the source view shows its place empty. I tried ‘{{ discount_application.title }}’ and the same to no avail.

Does anyone know how to make this variable output available to the product card if at all possible, or how to make the ‘Discount title’ display on the product card when the product has a special ?

I’ve been reading about ‘Liquid’ and have yet to find any hint.

Thanks so much

2 Likes