Jump to content

PS 1.7: does not display subcategories


ph34k

Recommended Posts

Hello. I threw products yesterday, everything went so little. This afternoon I will log in to the admin and it does not show me subcategories. They are on, I did not change their settings, nothing. If I want to edit a subcategory, it will display, - The object cannot be loaded (not found)

Can you advise where betrayal can be and how to fix it? Or if someone could look into it for a reward

Snímka obrazovky 2020-06-28 o 20.30.48.png

Snímka obrazovky 2020-06-28 o 20.23.29.png

Snímka obrazovky 2020-06-28 o 20.23.07.png

Snímka obrazovky 2020-06-28 o 20.22.36.png

Link to comment
Share on other sites

2 minutes ago, Razi said:

You have import categories?

this issue come when something is missing from database.

I throw products and categories manually, I do not use import. I will try to create the subcategories again manually

Link to comment
Share on other sites

  • 3 years later...

had similar issue 1.7 no multistore, after moving cat from parent to subcategory suddenly can't see subcategory on admin page anymore, filter got empty result.
sql shows ... WHERE 1 AND `id_parent` = >>>2<<< AND `name` LIKE ... restricts to parent id "2" cat only.

simple hack in AdminCategoriesController.php near line 145

$this->_select = 'sa.position position';
//$this->original_filter = $this->_filter .= ' AND `id_parent` = ' . (int) $id_parent . ' '; <----------comment this line out
 $this->_use_found_rows = false;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...