How can I display product discounts on product cards and pages?

Shopify Partner
1 0 1

Hi, I’ve set up a product discount for a user with a certain tag. I’m using the native shopify functionality for that. Problem is, that the discount only shows it the cart & checkout. I need the discount also to show up in product cards and in the product page.


Is that possible?


I've recorded a short video:

Replies 2 (2)

Shopify Partner
1802 143 189


To achieve this, custom development in your theme is required, and it can be accomplished using the following method:


If you have a single discount code applicable to all tagged users, you can create a metafield at the customer level. This metafield will contain a metaobject with information about the coupon code, whether it's a percentage or flat amount discount, and the product ID for which the coupon is applicable.


After the customer logs in, you can retrieve this customer object and calculate the new price by applying the specified logic.


I hope this explanation clarifies the process. Let me know if you have any further questions.

For any custom development WhatsApp or connect at Email ID: for quick consultation. | Shopify Free codes
To support Buy Me a Coffee

Shopify Partner
453 21 64

Hello @AHDesign,


Some custom coding is required to add this functionality. If you are not a technically aware person yourself, it is better to cooperate with a Shopify professional.

Please, let me know if you need any assistance.


Best regards,

Co-founder at Whidegroup, e-commerce development company from Ukraine
- 10+ years of experience with SMBs
- Deep expertise in custom development & optimization