sub-categories

Open to all! Ask other shopowners for help.
Post Reply
Xpajun
Contributor
Posts: 187
Joined: Thu Mar 04, 2021 1:18 pm
Phoenix Version: v1.0.9.0
Has thanked: 3 times
Been thanked: 6 times

sub-categories

Post by Xpajun »

I've just updated my test site to 1.0.8.20 and found a problem with the sub-categories.
This may have been a problem before the update but I'm not sure (my memory is terrible)
Problem (based on apples)
Category: apples - click on and the sub-category with "Green Apples / red Apples" - click on either to get the penultimate sub- category and only the title shows

Anyone have an idea where I can look for the problem?
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest :D - php 8.2.18


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: sub-categories

Post by ecartz »

Do you have the module turned on that displays the next level?

Do you have an inactive product and subcategories in the same category?
Xpajun
Contributor
Posts: 187
Joined: Thu Mar 04, 2021 1:18 pm
Phoenix Version: v1.0.9.0
Has thanked: 3 times
Been thanked: 6 times

Re: sub-categories

Post by Xpajun »

ecartz wrote: Sat May 27, 2023 9:27 am Do you have the module turned on that displays the next level?
I have the following, all set to true:

in index:
Page Heading
Customer Greeting
Main Text
New Products
Upcoming Products

in index_nesting:
Page Heading
Category Description
Sub Category List
New Products

Do you have an inactive product and subcategories in the same category?
I'd read this is a problem now - although some are - none of the ones I've checked have products and sub categories in the same category unless some I may have would affect all sub-categories?
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest :D - php 8.2.18
User avatar
burt
Core Team
Posts: 4561
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 422 times

Re: sub-categories

Post by burt »

I've been trying to recreate such an error, but I wasn't able to.
I wonder if it could be some addon interfering ?
I am not here to build for you.
I am here to build with you. Let's help each other.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: sub-categories

Post by ecartz »

Xpajun wrote: Sat May 27, 2023 9:00 am only the title shows
Does the category have a description? Have any of the index_nested modules been modified or replaced? This is the kind of thing that happens when there is a fatal error in a module. If this is a category with subcategories, that could either be in the title, category description, or subcategory modules.

If there were a product in the category, it could be in an index_products module.

If you have error logs or turn on the error display, the error message might help. It should at least give you a file name and line number.
Xpajun
Contributor
Posts: 187
Joined: Thu Mar 04, 2021 1:18 pm
Phoenix Version: v1.0.9.0
Has thanked: 3 times
Been thanked: 6 times

Re: sub-categories

Post by Xpajun »

burt wrote: Sat May 27, 2023 4:27 pm I've been trying to recreate such an error, but I wasn't able to.
It would be easy to recreate Gary @burt just turn off Product Listing :oops:
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest :D - php 8.2.18


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