Published : 12/20/2016 08:26:21
Categories : Sitolog tips
We have chosen to show you how to change the display order of categories in the shop, with PrestaCategories.
Attention, changing the order of categories, ie their position among other categories having the same parent category, is a different thing than moving the categories, ie changing their position in the tree.
PrestaCategories allows both operations.
Modules : PrestaCategories
In PrestaShop, the order of display of the categories is always according to their value "position"
In PrestaCategories and in PrestaPricing, you have the choice: positions, id, name, breadcrumb .... This is set in "Display", under "Categories"
But this choice or setting does not change anything in PrestaShop. This is just a display effect in PrestaCategories (or PrestaPricing that has the same setting).
To reorder the categories in Prestashop, you must change their "position" value. This can be done from PrestaCategories, by clicking on this button:
Then dragging and dropping them in the "Position" column. This is of course the case, when the position of a category is modified, it does not change its parent category.
It can not therefore be moved outside its current branch.
Similarly, its sub-categories remain attached, they follow the movement.
The interest of the tool is that it allows to make a multiple selection of categories, to move them all together in a single time.
Next week we will show you how to enable or disable some or all of the category products without having to display them.