0

How can i change the position of a category in another way then the traditional save method?

Because now, when i change the position of a category it takes around 10 min. I assume that it updates the other categories aswell. Isn't there another way to do it. Like i did with product where i used something like

$table = $this->categoryResource->getCategoryProductTable();
$connection->insertOnDuplicate($table, $data, ['position']);

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.