This module adds a price filter in the website
Table of contents
Configuration
- Go to shop
- Drop down “Customize” menu
- Enable “Price Filter” option
Theming
CSS Classes:
js_attribute_filter_price
> The class-trigger to initialize the sliderprice_filter_main
> The main container (slider + inputs + button)
HTML ID’s:
filter_price_slider
> The Sliderprice_range_min_value
> The input for minimum priceprice_range_max_value
> The input for maximum priceprice_slider_form
> The submit button
HTML Attributes:
filter_price_slider
accepts the following attributes:
data-custom_min_price
> Float > Used to store the user min. valuedata-custom_max_price
> Float > Used to store the user max. valuedata-max_price
> Float > Used in the slider configuration to set the max. valuedata-symbol
> Char > Used in the slider configuration to set the currency symboldata-options
> Dict > You can use this to overwrite all slider configuration values
Usage
- Go to shop
- Use the slider to select prices
- Click “Go”
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
- Alexandre D. Díaz
Other credits
This modules uses ionRangeSlider library that shows a slider with two points to set the maximum and minimum values. Also it’s compatible with old browsers.
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:
This module is part of the OCA/e-commerce project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.