A price filter for website sale
Project description
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 slider
price_filter_main > The main container (slider + inputs + button)
HTML ID’s:
filter_price_slider > The Slider
price_range_min_value > The input for minimum price
price_range_max_value > The input for maximum price
price_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. value
data-custom_max_price > Float > Used to store the user max. value
data-max_price > Float > Used in the slider configuration to set the max. value
data-symbol > Char > Used in the slider configuration to set the currency symbol
data-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 smashing 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo12_addon_website_sale_attribute_filter_price-12.0.1.3.2-py3-none-any.whl
.
File metadata
- Download URL: odoo12_addon_website_sale_attribute_filter_price-12.0.1.3.2-py3-none-any.whl
- Upload date:
- Size: 46.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ad59190b6b4e495241c7c29894e4899f418cba7ab8f5932f6d71d51626ca7a1 |
|
MD5 | cfb81370d17d2f7b966780bbaad18227 |
|
BLAKE2b-256 | c549ffac207def6e622d2eddaf359a89c45c9a3865eac77aa661c27c169d08f3 |