All things Shopify and commerce
Hi! On the collection pages I would like to remove the "from" that is in front of the price and add /lb after the price. So that it doesn't read from $xx, but $xx/lb. This is being displayed when the product has multiple sizes. I'm currently using the Dawn Theme.
Thanks!
Solved! Go to the solution
This is an accepted solution.
assign money_price = 'products.product.price.from_price_html' | t: price: money_price
assign money_price = price | money_with_currency | append: "/lb"
Attached screenshot for reference.
This is an accepted solution.
assign money_price = 'products.product.price.from_price_html' | t: price: money_price
assign money_price = price | money_with_currency | append: "/lb"
Attached screenshot for reference.
Hi,
I have the exact same problem for any reason I don´t understand in my case everything seems the same even after editing code as with the exact example you gave before.
I´m using Taste Theme... any clues?
Hey, after this can you tell how can i show the maximum price of the variants of a product instead of the minimum.
it worked but i would like to show the expensive price instead of the cheaper, is that possible?
I only wish to remove the word "from" on the collection page, is that possible?
you can just remove the ending where it has a bar and append
Its not worked, you should do it dynamically with custom javascript
document.addEventListener("DOMContentLoaded", function () {
document.querySelectorAll("ClassOfPriceContainer").forEach(el => {
el.innerHTML = el.innerHTML.replace("From", "").trim();
});
});
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025