Adds a new snippet to show e-commerce categories
Project description
Adds a new snippet to show e-commerce categories
Table of contents
Configuration
You can select what categories can be shown by the snippet and an image for the category:
Go to website (backend) > eCommerce > eCommerce Categories
Create or Edit one
You can see two new options “Published in product category snippet” and “Category Image”
Usage
Go to website (frontend)
Press ‘Edit’ button
Drag the ‘Product Category’ snippet to the place of the website that you want
Save changes
Theming
CSS Classes:
.categ_container > The container per master category
.categ_scroll_wrapper > The scrollable container wrapper
.categ_scroll > The scrollable container
.categ_tree_level > The category row (image + text)
.main_tree_level > The first category row level displayed
.categ_link > The link of the category row
.categ_img > The container of the icon of the category row
You can use ‘data-tree-level’ attribute to select the category row of a selected level (1-4 by design).
Also you can replace the entire template replacing the data-template attribute value in the s_product_category_options view. You only need know that the name of the variable that have all the categories is called object.
Known issues / Roadmap
The snippet shows a maximum of 4 levels by design.
Add a option to configure the initial level
Add a option to select how many levels can be represented
Handle large amounts of categories
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
Pedro M. Baeza
Carlos Roca
Sergio Teruel
Pilar Vargas
Other credits
static/img/boxes_32.png - https://www.iconninja.com/box-mario-icon-30561
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 odoo_addon_website_snippet_product_category-16.0.1.0.0.6-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_website_snippet_product_category-16.0.1.0.0.6-py3-none-any.whl
- Upload date:
- Size: 39.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45a54e276dadfe8e272aaf2291bbf9f86654ea09033019fce2e1e0f76a109643 |
|
MD5 | ef2393b763612c1e16d808e0baa711d9 |
|
BLAKE2b-256 | 169e5adfb347642404953c3816309838e8064e056369da783265950decfd300a |