Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi there, apologies if this has been asked before, I couldn't find a relevant thread.
I have a store where we sometimes need to override product prices per market. This works well using Market Settings. However, we've noticed that the new prices are not taken into account when sorting products by price in ascending or descending order on Product Listing Pages (PLPs).
Has anyone experienced this issue before and found a solution? It feels like a potential bug, but I couldn't find anything about it in the documentation.
Any help appreciated thank you very much!
Hi,
1) Custom sorting with Shopify's AJAX API
2) Collection.liquid or collection-template.liquid add custom sorting logic
3) Uses an app for advanced sorting and filtering
4) Connect with shopify support
So it seems like a known limitation/bug on the platform. This is from support:
It looks like a known limitation at the moment that our Developers are aware of.
The sort by price feature on the storefront will be done based on the base price only, any fixed price/price adjustments will be ignored, so the sort will appear to be incorrect based on the prices the customer/merchant sees on the storefront. So essentially, sorting by price ignores fixed prices.
There doesn't seem to be any known workaround at the moment, but I'm checking the report they have on this limitation, to see if there are any recent updates.
Anyone having similar issues please raise it with support, it'll get better chances at getting resolved.
Hey @APStudio ,
Shopify already knows about this issue. I don't know how long it will take to resolve this issue. LOL!!
I resolved the issue with custom coding.
Let me know if I can assist you.
Thanks in advance.