Skip to content

4.7.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 20 Jul 14:42
· 607 commits to master since this release

Included commits: 4.6.1...4.7.0

Improvements

Updated ProductBundleCheckoutAvailabilityCheck class: Reworked and renamed isAllBundleItemsAvailable method in BasePreCheck, now it returns unavailable items messages instead of bool value.

Added three new constants to ProductBundleCartAvailabilityCheck class. They are used to pass Product Bundle SKU and Product SKU to the message parameters.

The overall logic of the unavailable item check was reworked. Now unavailable bundled items are being stored and passed to the corresponding method, that creates error messages. This guarantee that this method has all data it needs to make error messages more detailed (before that change, if any bundled item was unavailable - method just return false - and now it's changed).

Made similar changes (as for ProductBundleCartAvailabilityCheck) for ProductBundleCheckoutAvailabilityCheck, that is responsible for Checkout Place Order step. Now it collects all unavailable bundled items and returns to the corresponding method, which creates error messages.

Updated CheckoutErrorTransfer: Added 'parameters' field to store parameters for error message.