Any product has one and only one category by default.
Sometimes you can have one or more orphaned products, ie no default category defined or existing. This is a default that you can repair very easily thanks to PrestaCategories. Without this tool the only way is to go hack in the database.
In the example below, you have 2 orphaned products:
The one belonging to category 15 which is non-existent (see table of the existing source categories in the table at the top left of the screenshot) and that belonging to the category 0 that is to say which is not attached to any category :
The traditional method of selecting products:
This method does not work for orphaned products.
The problem, this method only works for products with a well-defined default category. It does not focus on orphan products.
There is a comprehensive solution that repairs all orphaned products at the same time:
To do this go into the side control panel,
It can be seen that the 2 orphan products have been classified in category 12:
As you may have guessed, this tree repair tool and missing links is capable of many other things, and especially to repair a completely broken tree. You will see this on other tutorials.
Next week we will see how to define the order of display of declinations in your product pages, thanks to PrestaPricing.
List of other articles in the same category