Why is no "success message" displayed on the order completion page when a voucher is added?
This works perfectly in Shopware Standard, but if the Shopware Commercial plugin is active, the success message is no longer displayed on the order completion page. The reason for this is an error in line 80 of SwagCommercial/src/B2B/OrderApproval/Storefront/CheckoutControllerDecorator.php In this if-condition, the following line is: $session->getFlashBag()->clear(); This line deletes the "message" on the order completion page. If I removed this line, the alerts (success or error) will be shown after a voucher was submitted. A ticket has been opened by Shopware : https://issues.shopware.com/issues/NEXT-34312 Thanks to Florian R. for searching for the error after we could not find an error in our plugin.