Website Sale Product Sort
by Contaura LLC
· original work by Tecnativa, OCA
website_sale_product_sort
$ 29.00
Website Sale Product Sort
This module allows to set a default sorting criteria for the e-commerce product list.
It provides the standard criterias, but allows to extend the options via third modules.
Table of contents
Configuration
To configure this module, you need to:
- Go to Website > Configuration > Settings
- Select the website you want to configure.
- In the Product section there’s a Sort Criteria option that you can set as the default one for the website selected.
To extend the module you can override the method providing sorting options like this:
@api.model def _get_product_sort_criterias(self): res = super()._get_product_sort_criterias() res.append(("default_code asc", _("Reference - A to Z"))) return res
Usage
After you’ve configured the default website settings:
- Go to the configured website shop url.
- The products will be sorted by default by the chosen option.
Known issues / Roadmap
- Could be nice to have a related model to configure the sorting options without the need of third modules.
| Technical name | website_sale_product_sort |
|---|---|
| Module version | 12.0.1.0.2 |
| Tulio versions | 1.0 |
| Category | eCommerce |
| Publisher | Contaura LLC
Ported to Tulio, tested and supported by Contaura LLC. |
| Original authors | Tecnativa, OCA |
| License | AGPL-3
Open source: you may use, change and share
this module under its license. The price covers the Tulio port, its testing on Tulio
1.0 and the download. |
| Requires (Tulio core) | website_sale |
| Lines of code | 111 |
| Downloads | 0 |
| Released | 12/06/2026 |