Install the Quotation Process + Multiple Carts feature

Edit on GitHub

Install feature core

Prerequisites

Install the required features:

NAME VERSION
Quotation Process 202311.0
Multiple Carts 202311.0

1) Set up behavior

Register the following plugins:

PLUGIN SPECIFICATION PREREQUISITES NAMESPACE
MultiCartQuotePersistPlugin Creates a new active customer cart. None Spryker\Client\MultiCart\Plugin\PersistentCart

src/Pyz/Client/PersistentCart/PersistentCartDependencyProvider.php

<?php

namespace Pyz\Client\PersistentCart;

use Spryker\Client\PersistentCart\PersistentCartDependencyProvider as SprykerPersistentCartDependencyProvider;
use Spryker\Client\PersistentCartExtension\Dependency\Plugin\QuotePersistPluginInterface;
use Spryker\Client\MultiCart\Plugin\PersistentCart\MultiCartQuotePersistPlugin;

class PersistentCartDependencyProvider extends SprykerPersistentCartDependencyProvider
{
    /**
     * @return \Spryker\Client\PersistentCartExtension\Dependency\Plugin\QuotePersistPluginInterface
     */
    protected function getQuotePersistPlugin(): QuotePersistPluginInterface
    {
        return new MultiCartQuotePersistPlugin();
    }
}
Verification

Make sure that when you converting quote request with status “Ready” to cart, new cart created instead of replacing the existing one.