Jump to content

Page not found (categories)


Recommended Posts

Anyone please help me...

 

It was working before I updated categories in database...

 

I already turned off and on the friendly urls...

 

editted a category from the back office (just to check if it is going to work but it didn't).

 

It will be appreciated if anyone can share me solutions about this....

 

Thank you in advance

Link to comment
Share on other sites

Thanks for your reply..

 

I had updated the database ps_category and ps_category lang because I noticed that there are wrong assigned parent ids in some categories...

 

since there's a lot of categories, I decided to import the csv after emptying the db.. (have also included the root and home category)

 

It seems that only subcategories are having the 404 page not found issue but the main categories are just working fine within Front Office.

 

prestashop version is 1.5.6.2

Link to comment
Share on other sites

Hi ZikmaSolutions and Vekia, thanks for reading my post but I think this issue has been resolved already. what we did was to fresh install the db.

 

May i ask another thing please... :)

 

I have to edit the "filter by category" within the product page (in the list of products)

 

the categories to appear should only the categories that have an assigned product. (therefore those category without product should not appear)

 

I got the tpl file but got stuck with the controller because I already assigned a test variable that should appear in the tpl file but noothing happend that's why I am not sure if this is the correct file

 

Can you please confirm if this is the right file to be editted?

AdminProductsController.php

and list_header.tpl

Link to comment
Share on other sites

×
×
  • Create New...