Jump to content

Wrong id_shop assigned to new category in ps_category


Recommended Posts

On PS 1.6.0.6, multishop

 

If I create a new category, everything looks ok, but something it's wrong in the database.

 

In detail:

 

- The category creation goes ok with no error message, the category is saved correctly.

 

- The category is correctly shown in the category page of the BO as well on the FO

 

The problem is that if I try to add a product to this category, it's not visible in the category three in the product page in BO.

 

I discovered that the new category is saved in the DB with a wrong id_shop association in the ps_category table while it's saved correctly in the ps_category_shop table. 

 

So, each time I create a new category, I have to manually edit the DB to assign the correct id_shop.

 

Someone is able to provide a solution?

Link to comment
Share on other sites

×
×
  • Create New...