Showing discount on product page

SavannaFA
Excursionist
15 1 2

Hi experts. If a customer uses a discount link to access my store, how can I best show that discount on the product page already? Currently the discount is only applied at checkout. We track affiliate sales via discount codes, and everyone is on 20% discount, so is there a simple way for me to display the discounted rate on the product page already?

Maybe by adding "?flag_discount=true" to the end of my discount links, and somehow use that to display the discounted price like this, whenever a customer uses a discount link to access the store:

{{ product.price | times: 0.8 | money }}

I know some html but my coding ability is limited, would appreciate some directions on how best to achieve this.

Thank you

0 Likes
SavannaFA
Excursionist
15 1 2

Sorry to bump this again. Any ideas or possible solutions? Maybe an app I could try to achieve this? Or some code or script one could add if I add something to my discount link url? I'm using Minimal theme. Thanks again.

0 Likes