Website Snippet Product Category
by Contaura LLC
· original work by Tecnativa, OCA
website_snippet_product_category
$ 29.00
Website Snippet Product Category
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) > Configuration > Products > eCommerce Categories
- Create or Edit one
- You can see two new options “Website Published” 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
| Technical name | website_snippet_product_category |
|---|---|
| Module version | 12.0.1.2.0 |
| Tulio versions | 1.0 |
| Category | Website |
| Publisher | Contaura LLC
Ported to Tulio, tested and supported by Contaura LLC. |
| Original authors | Tecnativa, OCA |
| License | LGPL-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 | 400 |
| Downloads | 0 |
| Released | 12/06/2026 |