I am looking for someone to make a small modification to mod_k2_tools Joomla K2 module.
One of this module's configurations is to display K2 categories. By default the module displays category (I can specify number of levels to show) but I need it to show the following:
categories (root level)
- products (second level)
- products (if there are any child products)
The look of this module should be exactly same as now.
Please see module's front end here: [url removed, login to view] (K2 CATEGORIES)
I should be able to modify how many levels to display - either from module's backend or by commeting out the code in modules's file
My project description does not seem to be clear enough. Here are details.
Sample configuration - this is what module does now.
Category 1 (root; contains product 1, product 2, product 3), Category 2 (child of Category1; contains product 4, product 5), Category 3 (child of Category2; contains product 6, product 7)
In the backend I set "levels to render: 2"
My module displays the following.
- Category 2
It wont display Category because it is set to render 2 levels. It wont display any products because there it is not made to do so.
What I want to display with the same configuration as above:
Category 1 (root)
- product 1 (child of Category 1)
- product 2 (child of Category 1)
- product 3 (child of Category 1)
- Category 2 (child of Category 1)
-- product 4 (child of Category 2)
-- product 5 (child of Category 2)
Category 3 and any of its children does not display in this example because of the settings (render 2 levels). You will have to make sure this setting respects products which now show as children of categories.
See attached for visual explanation