How can I add a Price Filter to the Webshop in ERPNext?

Hi everyone,

I’m currently working on customizing the ERPNext Webshop, and I need to implement a price filter so users can filter products by price range.

Unfortunately, this feature doesn’t seem to exist by default in the system, and I couldn’t find clear documentation on how to achieve it.

So I have a few questions:

  • What files should I modify or extend to add a custom price filter on the Webshop?
  • Where can I access or fetch product prices on the list page to be able to apply the filter logic?
  • Is there any recommended method or hook in Frappe/ERPNext that can help with this?

Any guidance would be appreciated. Thanks in advance!