Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I'm looking to modify the sort by functionality on collection pages on Dawn v 10.0.0
the app used is the Shopify built Search and Discovery app
Our store's sort by price is not working correctly, as it seems to be taking the least expensive variant to sort by.
I've modified the price.liquid snippet to display the highest variant price on collection pages, and need this to be used to sort by.
In main-collection-product-grid.liquid there is a reference made to facets - {%render 'facets' %}, but I can't find where the actual logic is for the sorting and have looked in facets.liquid and facets.js files.
If anyone can point out where the code sits to modify the sort function, I really would appreciate any help.
Unfortunately not.
I'm holding out for an update on the Search and Discovery before attempting anything like that again.
Last time I checked, the app also does not fully accommodate product metafields. Currently you can sort but not search based on metafield.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024