Can someone please tell me how remove prices from the featured products section in the Dawn theme

Hello everyone,

I am trying to remove prices from the featured products section in the Dawn theme. I tried a few things but am having no luck. Any ideas would be appreciated.

Thanks in advance

hello, Conrad_K, good evening

by featured products section, do you mean the featured collection? Because I think that there is only featured product section, not products. If you meant the featured product, have you tried hiding this element in highlight?

I apologize. Yes, I am referring to the featured collection.

I am aware of no options to disable in regard to Featured Collections. Are there any other solutions?

hey there, to remove that in the featured collection, you’d have to modify the code of the section file

go to online store > themes > actions > edit code > featured-collection.liquid, search for this piece of code:

{% render 'card-product',
              card_product: product,
              media_aspect_ratio: section.settings.image_ratio,
              show_secondary_image: section.settings.show_secondary_image,
              show_vendor: section.settings.show_vendor,
              show_rating: section.settings.show_rating,
              show_quick_add: section.settings.enable_quick_add,
              section_id: section.id
            %}

and replace it with:

{% render 'card-product',
              card_product: product,
              media_aspect_ratio: section.settings.image_ratio,
              show_secondary_image: section.settings.show_secondary_image,
              show_vendor: section.settings.show_vendor,
              show_rating: section.settings.show_rating,
              show_quick_add: section.settings.enable_quick_add,
              section_id: section.id,
              hide_price: false
            %}

and then, go to the card-product.liquid file and replace this:

{% render 'price', product: card_product, price_class: '' %}

with:

{% if hide_price == nil %}
            {% render 'price', product: card_product, price_class: '' %}
  {% endif %}