Configurable Bundle + Order Management feature integration

Edit on GitHub
You are browsing a previous version of the document. The latest version is 202108.0.

Install Feature Core


To start feature integration, overview and install the necessary features:

Feature Version
Configurable Bundle 202009.0
Order Management 202009.0
Spryker Core 202009.0

1) Set up Behaviour

Plugin Specification Prerequisites Namespace
ConfiguredBundleOrderItemExpanderPlugin Expands order items with sales order configured bundles. None Spryker\Zed\SalesConfigurableBundle\Communication\Plugin\Sales



namespace Pyz\Zed\Sales;

use Spryker\Zed\SalesConfigurableBundle\Communication\Plugin\Sales\ConfiguredBundleOrderItemExpanderPlugin;
use Spryker\Zed\Sales\SalesDependencyProvider as SprykerSalesDependencyProvider;

class SalesDependencyProvider extends SprykerSalesDependencyProvider
     * @return \Spryker\Zed\SalesExtension\Dependency\Plugin\OrderItemExpanderPluginInterface[]
    protected function getOrderItemExpanderPlugins(): array
        return [
            new ConfiguredBundleOrderItemExpanderPlugin(),

Make sure that every order item from SalesFacade::getOrderItems() results, contains sales order configured bundles data if the order contains configurable bundle.