Upgrade the CheckoutPage module
Edit on GitHubUpgrading from version 2.* to version 3.*
In this new version of the CheckoutPage
module, we have added support of split delivery. You can find more details about the changes on theCheckoutPage module release page.
This release is a part of the Split delivery concept migration. When you upgrade this module version, you should also update all other installed modules in your project to use the same concept as well as to avoid inconsistent behavior. For more information, see Split Delivery Migration Concept.
Estimated migration time: 5 min
To upgrade to the new version of the module, do the following:
- Upgrade the
CheckoutPage
module to the new version:
composer require spryker-shop/checkout-page: "^3.0.0" --update-with-dependencies
- Generate the transfer objects:
console transfer:generate
Upgrading from version 1.* to version 2.*
In this new version of the CheckoutPage
module, we have:
- Integrated Gift Card related functionality.
- Added “no shipment” shipment method handling in case only gift card(s) are to be ordered.
- Added “no payment” payment method handling in case the price to pay of a cart is 0.
- Added filtering logic of selectable payment methods.
You can find more details about the changes on CheckoutPage module release page.
To upgrade to the new version of the module, do the following:
- Upgrade the
CheckoutPage
module to version 2.0.0:
composer require spryker-shop/checkout-page: "^2.0.0" --update-with-dependencies
- Generate transfer objects:
console transfer:generate
- Extend your project with the following configuration:
<?php
use Spryker\Shared\Kernel\KernelConstants;
use Spryker\Shared\Nopayment\NopaymentConfig;
// ---------- Dependency injector
$config[KernelConstants::DEPENDENCY_INJECTOR_YVES] = [
'CheckoutPage' => [
NopaymentConfig::PAYMENT_PROVIDER_NAME,
],
];
Thank you!
For submitting the form