Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Discounts on product page

Discounts on product page

Uhrick
Shopify Partner
433 68 102

hello there, I tried searching for other topics, but none seemed to have a good response for that. I need to show the starting and final date (at least final) of a product's discount in its product page (if I could get the amount would be good to, but less important), but liquid objects only allow us to get that in the cart. Is there any workaround for that? Or just by using apps?

Shopify Developer
Hire me for theme customizations at ricardomsilvestre@outlook.com or Upwork
Was my answer helpful to you? Please like or mark as solution
Replies 2 (2)

biznazz101
Shopify Partner
494 50 94

Apps, or could code in. The easiest way would to add a custom liquid or text block to the "product information" section of the product, then type in the discount/dates/link manually.

Like this:

biznazz101_0-1695863140153.png

image.png

Don't hesitate to reach out for more help with your store.
SEE OUR TASK STORE or check us out via our profile! FREE STORE AUDIT
Uhrick
Shopify Partner
433 68 102

but the issue is that I needed this to be dynamic, not to have to change it in two places, when creating the discount,  and then, going to the product page and writing the value

Shopify Developer
Hire me for theme customizations at ricardomsilvestre@outlook.com or Upwork
Was my answer helpful to you? Please like or mark as solution