I found a problem with a custom script in our Magento 2.3.3 installation. The custom script tries to order the categories. There is a usage of the move function from the CategoryManagement class. It works in many cases, but I found problems with categories at the top of their parent-category. I look into the documentation and code,


and I saw no option to move an existing category to the top of their parent-category. I can only specify the after-id and the function use the last-id, if I can't deliver such after-id.

How can I set a category to the top with this move-function? Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.