Hide prices on some products in Impluse Theme

Topic summary

A user sought help hiding prices for specific products in the Impulse Shopify theme after unsuccessful attempts with various code snippets.

Solution Provided:

  • Add custom CSS code to the theme.liquid file before the </head> tag
  • The code uses product handles to target specific items (e.g., ‘groovy’, ‘another-product’)
  • User needs to exclude products from two collections: Prints and Funky Feelings

Implementation Steps:

  1. Navigate to Online Store → Theme → Edit code
  2. Open theme.liquid file
  3. Insert the provided CSS snippet targeting product handles

Alternative Approach:
Another participant suggested creating a separate product template without price display.

Outcome:
The original solution successfully resolved the issue. The user confirmed it worked and expressed interest in applying this method to future products.

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

I have tried to use various codes to hide only a selection of products on my Impluse theme store with no success.

Is anyone able to help me out with the code and where it should be placed?

Hi @tash27 ,

kindly provide your store URL please and if it is password protected, please share the password as well.

Thanks

Hi

Sorry, it’s

Hi @tash27 ,

  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.liquid file
  3. In theme.liquid, paste the below code before
{% if product.handle == 'groovy' or product.handle == 'another-product' %}
  
{% endif %}

Thanks!

1 Like

All products except those in the Prints collection or the Funky feelings collection.

I hope I can work it out for future products as well.

Thanks in advance.

Alternatively, you can make a separate template without a price

1 Like

This worked great, thanks very much!