How to bulk handle orders?

Hello
I’m looking at Shopware for a replacement for Magento, and have a lot of questions ;). But, let’s start with this:
How do you handle many orders at once (like 50-100)? It does not seems to be possible with vanilla Shopware 6, so any recommendations for a module?

Would be great to check several orders, change the status to „Complete“ and print the shipping slips.

How do you do it?

Magnus

class Shopware_Controllers_Backend_SwagProductAssoc extends Shopware_Controllers_Backend_Application
{
protected $model = Product::class;
protected $alias = ‚product‘;

...

public function deactivateProductsAction()
{
try {
$productId = $this->Request()->getParam(‚productId‘);

        /**@var $product \Shopware\CustomModels\Product\Product */
        $product = $this->getManager()->find(
            $this->model,
            $productId
        );

        $product->setActive(0);

        $this->getManager()->flush($product);

        $this->View()->assign(array('success' => true));
    } catch (Exception $e) {
        $this->View()->assign(array(
            'success' => false,
            'error' => $e->getMessage()
        ));
    }
}

public function changeCreateDateAction()
{
    try {
        $productId = $this->Request()->getParam('productId');

        /**@var $product \Shopware\CustomModels\Product\Product */
        $product = $this->getManager()->find(
            $this->model,
            $productId
        );

        $product->setCreateDate('now');

        $this->getManager()->flush($product);

        $this->View()->assign(array('success' => true));
    } catch (Exception $e) {
        $this->View()->assign(array(
            'success' => false,
            'error' => $e->getMessage()
        ));
    }
}

}

Thanks for the code.
But, I’m not a backend developer (frontend and also a merchant). How can I use this on the order page?

// Magnus

Hey @magnus this function is in progress. I can’t tell you exactly when it will come, but here is the ticket.
Unfortunately, it’s in German, but it will come.
https://issues.shopware.com/issues/NEXT-8968.
please have a little patience.

1 „Gefällt mir“

Thanks for the heads-up, Gert.