Remove discount price only for collection

Topic summary

A user wants to hide crossed-out base prices (compare-at prices) specifically on collection pages while keeping them visible elsewhere on their Shopify store using the Dawn theme.

Solution Provided:

  • Add custom CSS code to the theme.liquid file, placed above the </body> tag
  • The code uses a conditional statement {% if template == 'index' %} to target only the homepage/collection pages
  • The solution was confirmed working by the original poster

Follow-up Question:
The user then asks if it’s possible to also remove discount prices from product grid views, referencing a screenshot showing the current display.

Status: Partially resolved - initial request solved, but additional customization for product grids remains unanswered.

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

Good morning,

I would like the base prices (those crossed out) not to be displayed only on the featured collections please

Do you know how to do it please?

Theme: Dawn
Website: jadis-shop.com
password:rj

Hey @JADIS

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag

{% if template == 'index' %}

{% endif %}

RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

bro it works but i have one more question please, is it possible to remove the discount price also in product grid please like show in this screenshot :