Skip to main content

A price filter for website sale

Project description

Beta License: LGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runbot

This module adds a price filter in the website

Table of contents

Configuration

  1. Go to shop

  2. Drop down ‘Customize’ menu

  3. 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

  1. Go to shop

  2. Use the slider to select prices

  3. 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

Authors

  • Tecnativa

Contributors

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.

Odoo Community Association

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:

Tardo

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

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

File hashes

Hashes for odoo12_addon_website_sale_attribute_filter_price-12.0.1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ad59190b6b4e495241c7c29894e4899f418cba7ab8f5932f6d71d51626ca7a1
MD5 cfb81370d17d2f7b966780bbaad18227
BLAKE2b-256 c549ffac207def6e622d2eddaf359a89c45c9a3865eac77aa661c27c169d08f3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page