How can I modify price display in Brooklyn theme?

Hi,

My prices currently show as “$290+” and I would like to change it to show as “From $290” instead.

I’m assuming I need to make some changes to the Snippet called ‘product-price.liquid’ but no idea what to change there to achieve this.

Thanks for your help,

Sarah

Theme: Brooklyn

Website: https://martineperret.shop/

1 Like

Hello,

To add this text you should add code bellow to your snippet before element with class “grid-product__price”:

From

Also in the file “theme.css” you need to past code bellow to decorate your text:

.price_from{
color: red;
font-size: 22px;
}​

If you have any issues, pls inform me.

1 Like

@Sarah-sol
find the ‘price’ and replace with this code.

{% if available %}
  {% if product.price_varies and template == 'collection' %}
    From {{ product.price_min | money }} to {{ product.price_max | money }} 
  {% else %}
    {{ money_price }}
  {% endif %}
{% else %}
  {{ 'products.product.sold_out' | t }}
{% endif %}

if don’t know the coding then let me know.
i can help you to fix this out.

1 Like

Amazing! It worked, thanks @Mgroup

I didn’t really want it red so tweaked that fine but now I’m seeing that the + sign is still showing.

Do you know how I could hide that?

EDIT: I found a piece of code in the same snippet that I’ve removed and it seems to work.

Removed code:

+

Thanks,

Sarah

1 Like

I can’t see the + sign

1 Like

@Zworthkey Yes, all good, ended up finding it :slightly_smiling_face:

Thanks

1 Like