Jump to content

Categories block empty after I log in


Recommended Posts

The only faster way I can think of is to run an SQL query like this using phpMyAdmin:

DELETE FROM `ps_category_group` WHERE `id_group` = 1;
INSERT INTO `ps_category_group` SELECT `id_category`, 1 FROM `ps_category`;



Change ps_ to your database prefix and 1 to the ID of the group you want all categories to be in. This will delete all the existing categories from group 1, then put all categories in group 1.

Remember to make a backup of your ps_category_group table first in case anything goes wrong.

  • Like 1
Link to comment
Share on other sites

  • 2 years later...
×
×
  • Create New...