How do I insert 'per piece' next to product prices using tags?

Topic summary

A user needs to display “per piece” text next to product prices, but only when a specific tag (e.g., “per-piece”) is added to individual products. The goal is conditional display based on product tagging rather than showing the text universally.

Current Status:

  • One respondent requested the store URL to investigate the issue further
  • Another user began suggesting a solution involving Liquid code for price display
  • The discussion appears incomplete, with the Liquid-based solution not fully explained

Key Technical Approach:
The solution likely involves editing the product price template using Liquid code to check for the presence of a specific tag and conditionally render the “per piece” text accordingly.

The thread remains open with no complete resolution provided yet.

Summarized with AI on November 24. AI used: claude-sonnet-4-5-20250929.

Hello guys. I have a question, and I hope someone can help me. I need a word to appear next to the price, but I need it to be activated by a tag. For example: to appear “per piece” next to the price (ex: $10 per piece), it would be necessary to include the tag “per-piece” in the specific product. Does anyone know how to do this? Thanks for listening.

1 Like

@ana_vasbr

oh sorry for that issue can you please send store url so i will check and let you know

Yes, go to price. liquid