Hi there, I am looking to replace lowest prices in Collection pages to highest prices.
I sell secondhand books, with three pricing for each book depending on the book condition. Collection pages display the lowest prices (well-read books) but we have a majority of books in very good condition, at higher prices. The difference is not significant, usually around $1, but visitors can be annoyed to see a price on the collection page which is not what they find when clicking on the product page.
that information is pulled from the structured data of the product page. you could change the word âfromâ to something else but not sure how you would pull the highest price. not an easy change and messing with the structured data could cause some serious problems as that is pulled by google for search results, advertising platforms, etc
Hi There, thank you for suggesting this solution so quickly. I made a mistake as the theme I am using is Debut (17.1.0) and not Dawn - apologies for that! The proposed solution doesnât quite work with Debut as the price.liquid file has a different content. Would you have a solution for Debut?
Tested briefly and seems to work as expected in collection page and search results.
However please note that this liquid file handles other prices; price__regular, price__sale, price__compare and price__unit - cant confirm that price__sale wont have issues in the future as i have not tested.
Can you explain further, what systems fetching data are you referring to?
This suggestion modifies the price in two places collection and search results only when the product has varied pricing, how is showing the highest price in the collection page any different to showing the lowest price when the end product and product page is not being modified and still shows the varied pricing.
Thank you - I had to tweak the code a bit since lines 12 to 29 differ in my template but it now works on the collection page! Will check the tools you mentioned as well. Very grateful for your help.
I could not find any mention of using âfromâ as an indicator for pulling the lowest price for google shopping/google ads etc, of course other advertising platforms or product scrapers could use that⌠do you have any links to this information?
Ive used âFrom: $lowâ, âFrom $highâ, âFrom $high to $lowâ and âFrom $low To $highâ pricing displayed in product categoryâs for 10+ years and never had any errors or issues with pulling/updating data for external services as that came from the final product landing page or supplied data, anyway appreciate your reply - have a nice day/evening