All things Shopify and commerce
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:
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.
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,
Anastasia
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025