Wesbite Sale Attribute Filter Price

A price filter for website sale

Technical Name:
website_sale_attribute_filter_price
License:
Author:
Tecnativa
Website:
  • Odoo Version

Website Sale Attribute Filter Price

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.