Page 1 of 1
Products and sub-categories in the same category?
Posted: Wed Sep 17, 2025 11:31 pm
by ArtcoInc
Can one have within a category both products and sub categories?
Malcolm
(v1.0.3.0)
Re: Products and sub-categories in the same category?
Posted: Thu Sep 18, 2025 12:15 am
by Dan Cole
ArtcoInc wrote: ↑Wed Sep 17, 2025 11:31 pm
Can one have within a category both products and sub categories?
Malcolm
(v1.0.3.0)
As I recall, you can't but it should be pretty easy to test it.
Dan
Re: Products and sub-categories in the same category?
Posted: Thu Sep 18, 2025 12:58 am
by ArtcoInc
@Dan Cole My tests show that I can't, but didn't know if I was missing a configurations somewhere.
Thanks.
Re: Products and sub-categories in the same category?
Posted: Thu Sep 18, 2025 3:03 am
by Pierre_P
ArtcoInc wrote: ↑Wed Sep 17, 2025 11:31 pm
Can one have within a category both products and sub categories?
When it comes to bootstrap menu's this is absolutely problematic to do it this way.
Back in the old days it was done but getting to small viewports then the troubles start to creep in with the navigation part.
Well, my dilemma currently that will need to be corrected.
Re: Products and sub-categories in the same category?
Posted: Thu Sep 18, 2025 6:23 am
by BrockleyJohn
The core concept from osc early days carried forward is that the display of the index page has two modes for category display:
categories with categories in (nested) and categories with products in.
There's no display of products directly in nested categories but you could add a module to do that (based on the module from index_products). Otherwise they are only visible in new products for the category above, search and so on.
I have also seen shops that in the category view show subcategories as a filtering menu together with a list of all the products in all the subcategories of the current category.
Re: Products and sub-categories in the same category?
Posted: Thu Sep 18, 2025 7:21 am
by Kofod95
app.php/addons/free_addon/product_listi ... ex_nested/
Can be seen here:
https://friiskaffeogte.dk/index.php?cPath=311_169
It needs to be updated, but that would be trivial to do - I just haven't had a lot of time these past two years...
//Daniel