Pricing default display for a specific collection

We are using Broadcast theme for our store.

One of our collections has several price tiers, starting at $0 for the smallest one. Then, it’s $2.85 for the next range, then $10.25 for the next one…and so on.

Now, we wanted to display our $2.85 as default price on this collection page instead of the default $0.00. How do we do this?

Instead we wanted to display here the text that goes From $2.85

Thanks a bunch.

Hi @vergielyn

Please share with us the link of the product that has multiple prices and a screenshot of all the price of this product in you Shopify admin so we can check it further :heart:

Best,

Daisy

Hi there Daisy. Thanks for your help. So it will be a collection page. Fragrance Oils for Soap & Candle Making | Wholesale | Scentivore

We wanted all the pricing displays to say “From $2.85” instead of From 0.00

Thanks again!

Hi @vergielyn

Since the Broadcast theme is paid, we can’t check it.

Please check the code on the Dawn theme. Look for the section containing the price, as shown here: https://prnt.sc/G9ijPxi1hKKZ.

In the Dawn theme, this is found in the card-product.liquid file, as shown in this screenshot: https://prnt.sc/T6-3_-EKIx83.

Add the following code to replace the price section in the theme.

{% if card_product.price == 0 %}
              Price:
               {% for item in card_product.variants %}
                {% if item.price == 0 %}
                  {% continue %}
                {% else %}
                  {{ item.price }} 
                  {% break %}
                {% endif %}
              {% endfor %}
              

            {% else %}
              Price: {{ card_product.price }}

            {% endif %}

I hope this helps

Best,

Daisy

Hi Daisy. Thank you again for your help. The screenshots’ pages are not showing :disappointed_face:

Hi @vergielyn

I attached 2 screenshot, respectively

I hope this helps,

Best,

Daisy

Hi Daisy. Thank you for your help and I hope your weekend went amazing. So I’m trying to figure it out as it shows differently in Broadcast theme. I have this section from the theme’s liquid . May I kindly ask for help on custom code to resolve the problem previously discussed? If that’s something you can help with?

AI have given me the following solution, is this correct:

{% assign second_variant = product.variants[1] %}

{% if product.available %}

{%- if second_variant.price == 0 -%}
{{ ‘general.money.free’ | t }}
{%- else -%}
{{ second_variant.price | money }}
{%- endif -%}

{% if second_variant.compare_at_price > second_variant.price %}
{{ second_variant.compare_at_price | money }}
{% endif %}
{% else %}
{{ ‘products.product.sold_out’ | t }}
{% endif %}

Hello DaisyVO. Any chance you can help me on this please?