Upgrade the ProductConfigurationStorage module
Edit on GitHubUpgrading from version 0.2.* to version 1.0.*
Estimated migration time: 5 minutes
Version 1.0.0 of the ProductConfigurationStorage module introduces the following backward incompatible changes:
- Removed
ProductConfigurationStorageClientInterface::findProductConfigurationInstanceBySku(). - Removed
ProductConfigurationStorageClientInterface::findProductConfigurationInstancesIndexedBySku(). - Added
ProductConfigurationStorageClientInterface::getProductConfigurationInstanceCollection(). - Impacted
ProductConfigurationPublisherTriggerPlugin with facade changes.
To upgrade the ProductConfigurationStorage module from version 0.2.* to version 1.0.*, do the following:
- Update the
ProductConfigurationStoragemodule to version 1.0.0:
composer require "spryker/product-configuration-storage":"^1.0.0" --update-with-dependencies
- Generate transfers:
console transfer:generate
Upgrading from version 0.1.* to version 0.2.*
Estimated migration time: 15 minutes
To upgrade the ProductConfigurationStorage module from version 0.1.* to version 0.2.*, do the following:
- Update the
ProductConfigurationStoragemodule to version 0.2.0:
composer require spryker/product-configuration-storage:"^0.2.0" --update-with-dependencies
- Generate transfer classes:
console transfer:generate
-
From
\Pyz\Client\ProductConfigurationStorage\ProductConfigurationStorageDependencyProvider, remove the removed plugin stackgetProductConfigurationStoragePriceExtractorPlugins(). -
From
\Pyz\CLient\ProductConfiguration\ProductConfigurationDependencyProvider, remove the pluginProductConfiguratorCheckSumResponsePlugin. -
From
\Pyz\Client\Cart\CartDependencyProvider, remove the plugin:ProductConfigurationCartChangeRequestExpanderPlugin(must be replaced withSpryker\Client\ProductConfigurationCart\Plugin\Cart\ProductConfigurationCartChangeRequestExpanderPlugin). -
From
\Pyz\Client\PersistentCart\PersistentCartDependencyProvider, remove theProductConfigurationPersistentCartRequestExpanderPlugin(must be replaced withSpryker\Client\ProductConfigurationPersistentCart\Plugin\PersistentCart\ProductConfigurationPersistentCartRequestExpanderPlugin). -
From
\Pyz\Client\PriceProductStorage\PriceProductStorageDependencyProvider, remove the pluginProductConfigurationPriceFilterExpanderPlugin(must be replaced withSpryker\Client\ProductConfigurationStorage\Plugin\PriceProductStorage\ProductConfigurationPriceProductFilterExpanderPlugin). -
From
\Pyz\Service\PriceProduct\PriceProductDependencyProviderremove thefollowing plugins:ProductConfigurationPriceProductFilterPlugin(must be replaced withSpryker\Service\ProductConfiguration\Plugin\PriceProduct\ProductConfigurationPriceProductFilterPlugin)ProductConfigurationPriceProductVolumeFilterPlugin(must be replaced withSpryker\Service\ProductConfiguration\Plugin\PriceProduct\ProductConfigurationVolumePriceProductFilterPlugin)
Thank you!
For submitting the form