Hello!
I’m using the Debut theme on my store www.Bikinginparadise.com
I’d like to add ‘From’ before the prices on the product page.
Thank you in advance!
Hello!
I’m using the Debut theme on my store www.Bikinginparadise.com
I’d like to add ‘From’ before the prices on the product page.
Thank you in advance!
Hi,
If you want to add “From:” without any conditions, you can simply add “From:” in to product-price.liquid.
Please go to snippets/product-price.liquid and find the code below (line 57-59).
{{ money_price }}
Then, just add “From:” before {{ money_price }} as below.
From: {{ money_price }}
If you need to add any conditions, you will need to add some other codes.
Hope it helps.
Thanks.
Please follow the instructions below.
span.price-item.price-item--regular:before {
content: "From";
}
Outcome:
Did not work ![]()
Close, but it still left the original price below the From: price. Maybe check lines 76-78 too?
Thank you!
No.
Check the Snippets/product-price-listing.liquid (line 56-62).
Add the “From:” as below.
{%- if product.price_varies -%}
From: {{ 'products.product.from_lowest_price_html' | t: lowest_price: money_price }}
{%- else -%}
{{ money_price }}
{%- endif -%}
Don’t forget to remove the “From” in snippets/product-price.liquid.
Hope it helps.
Thanks.