caetgories / Products

Open to all! Ask other shopowners for help.
Post Reply
trophy
Member
Posts: 62
Joined: Sat Jul 17, 2021 9:57 am
Phoenix Version:

caetgories / Products

Post by trophy »

How many listings & sub listings can one have in the Categories / Products column.
If there is a limit where can that be altered?


Join The Code Co-op to get access to your library in the Code Co-op Forum
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: caetgories / Products

Post by heatherbell »

Question is not specific enough to answer.
Categories and products are unlimited.
Listing of categories and products in store pages, displayed per page, is limited by configuring in Admin>Configuration>My Store>Maximum Values - Search Results
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: caetgories / Products

Post by 14Steve14 »

trophy wrote: Sun Nov 20, 2022 1:57 am How many listings & sub listings can one have in the Categories / Products column.
If there is a limit where can that be altered?
There is no limit as far as I am aware,, but as with most things, sites look better with properly structured categories that make finding items quick and easy. A big long list with hundreds of categories in it will put customers off as items are nor easy to find.
trophy
Member
Posts: 62
Joined: Sat Jul 17, 2021 9:57 am
Phoenix Version:

Re: caetgories / Products

Post by trophy »

Thank you for the suggestions.
Tried changing Max values but to no avail.
If I add a new category then a sub category only the sub category will show a product.
This is the site I am working on https://slotcars.site/a-a-p-3108.html.
Example of problem is setup up at the top category A & sub AA, only AA will show a product.
Click on the A category then AA and you will see what I mean.
Last edited by trophy on Fri Nov 25, 2022 6:57 am, edited 1 time in total.
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: caetgories / Products

Post by Kofod95 »

So you want products to be listed below categories, if a category contains both products and subcategories?
If that's correct, you will have to create a new module that shows products on index_nested - you could use the module from index_products as a starting point

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
trophy
Member
Posts: 62
Joined: Sat Jul 17, 2021 9:57 am
Phoenix Version:

Re: caetgories / Products

Post by trophy »

Thanks Daniel
If you look further down I have been doing it this way for other products but for some reason now it will not work.
as if there was a maximum number of categories that was stopping it from working.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: caetgories / Products

Post by heatherbell »

trophy wrote: Fri Nov 25, 2022 5:38 am If I add a new category then a sub category only the sub category will show a product.
Yes, categories can contain sub-categories or products but not both.
See User Guide - https://phoenixcart.org/phoenixcartwiki ... Categories
trophy
Member
Posts: 62
Joined: Sat Jul 17, 2021 9:57 am
Phoenix Version:

Re: caetgories / Products

Post by trophy »

Of course, how did I not notice that, thank you.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply