How do I remove price from collections page?

Topic summary

A Shopify store owner wants to remove the ‘£0.00’ price display from specific Brabus products on their collections page, as these items require consultations rather than direct purchase.

Initial Solutions Attempted:

  • Multiple users suggested adding CSS code to base.css file to hide prices using .collection .price { display: none !important; }
  • Basic CSS solution hides prices for all products, not just Brabus items

Refinement Attempts:

  • Developers proposed conditional code using {% if item.variant.product.title contains 'Brabus' %} to target only products with ‘Brabus’ in the title
  • Multiple iterations of this approach were tested but failed

Current Issues:

  • The conditional code either hides all product prices or removes both prices and images across the entire collection
  • All Brabus products are grouped in a ‘Featured Products’ collection, which may be complicating the targeting
  • The problem involves multiple variants of the same product within the collection

Status: Unresolved. The discussion has moved toward direct messaging for more detailed troubleshooting, as the public solutions have not successfully isolated pricing removal to only Brabus products.

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

Hello,

How do I remove the price from the collections page?

I have these Brabus products which require consultations and would like to remove the ‘£0.00’

URL is https://rmtperformance.com/

Thanks in advance

1 Like

Hi @Reinhart

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file → Save

.collection .price {
display: none !important;
}

Thank you.

Hey there

You can achieve this from the theme code edit only. You will have to comment out the price

Or Simply paste this code in you base.css

Step1: Go to your Shopify Online Store

Step2: Edit Code

Step 3: Find the base.css

Step 4: Open the base.css file.

Step 5: Paste the code above and save.

.price {
    display: none !important;
}

Note: If this not work past the code in the component-card.css file, if these step not works you can contact me freely. If this helps please give me an upvote.

1 Like

This did not work unfortunately.

Send me a message at DM and add me as a staff.

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > base.css and paste this at the Top of the file:
.collection .price {
display: none !important;
}

1 Like

This works for all products.

Would you know how to do this, only for Brabus products?

Hey there RMTPerformance,

Hope you are doing well

I understand you want to hide the pricing for specific product only
you can customise the above code by modifying little bit

{% if item.variant.product.title contains 'Brabus' %}
      .collection .price {
         display: none !important;
       }
    {% endif %}

here whenever product title contains the word brabus their price will not be shown.

Please inform if this doesn’t work.

Based on the code I could see how this would work, however this is not the case unfortunately.

Maybe it should be variant.collection title? Since ALL Brabus products are inside a Collection list named ‘Brabus’ ? - Tried this it did not work.

Also the code removed all images from the collections.

Preview - https://t8i97xr1xekfn52p-80586113371.shopifypreview.com

Little bit correction remove .collection from the code.

{% if item.variant.product.title contains 'Brabus' %}
      .collection .price {
         display: none !important;
       }
    {% endif %}

It should look like this and try again, let me know if this don’t work.

Unfortunately this did not work. It hides all product prices, and images.

The products in this collection list are all grouped into the collection ‘Featured Products’
This is then featured on the homepage.

So maybe it has to be assigned to when it detects ‘Brabus’ with it being with so many different variants of product, in the same collection list.

I am so sorry I mistakenly gave you the same code again

{% if item.variant.product.title contains 'Brabus' %}
      .price {
         display: none !important;
       }
    {% endif %}

Try this again sorry for the mistake

No problem, the same issue is still happening however.

Can we chat on DM if you don’t mind?