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();
});
});
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025