Migration guide - CheckoutPage

Edit on GitHub

Upgrading 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.

To upgrade to the new version of the module, do the following:

  1. Upgrade the CheckoutPage module to the new version:
composer require spryker-shop/checkout-page: "^3.0.0" --update-with-dependencies
  1. Generate the transfer objects:
console transfer:generate

Estimated migration time: 5 min

Upgrading from Version 1.* to Version 2.*

In this new version of 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:

  1. Upgrade CheckoutPage module to version 2.0.0:
composer require spryker-shop/checkout-page: "^2.0.0" --update-with-dependencies
  1. Generate transfer objects:
console transfer:generate
  1. 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,
    ],
];