(some showing some not) original price, crossed out, next to discounted price in red

Topic summary

A user is experiencing inconsistent price display across their Shopify store—some products show the original price crossed out next to a discounted price in red, while others don’t.

Root Cause:
The inconsistency occurs because only some products have a “compare price” field populated. Products without this field don’t display the crossed-out original price.

User’s Situation:

  • Discounts are applied via collection-level rules, not individual product settings
  • Store contains hundreds of products, making manual entry impractical
  • User seeks an automated code solution to display price differences without manually adding compare prices to each product

Current Status:
The helper has requested clarification on exactly what pricing should display for non-sale items before providing a code-based solution. The discussion remains open as the user explains their bulk discount setup and need for automation.

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

Hi @k1vinn Can you please specify what price did you want to show with code on all the products that are not on sale with the help of code?

It will be easier if you will do it manually from product pages itself.

Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!

Best Regards

Sahil