Skip to content

Releases: spryker/cart

7.18.1

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 29 Jul 10:00

Included commits: 7.18.0...7.18.1

Fixes

  • Fixed bulk add-to-cart to return early when all items are deactivated, preventing further processing of an empty item set.

7.18.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 24 Jul 10:50

Included commits: 7.17.0...7.18.0

Improvements

  • Introduced CartConfig::isCartReloadOnPreCheckFailureEnabled() to allow recalculation of cart items when a cart pre-check fails during reload, enabling projects to opt in to the new behavior while keeping backward-compatible defaults.
  • Improved CartFacade::reloadItemsInQuote to reload cart items when pre-check fails if flag is enabled

7.17.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 26 Apr 20:17

Included commits: 7.16.0...7.17.0

Improvements

  • Introduced CartConfig::isAddToCartBulkEnabled() to enable new behavior in the add to Cart operation.
  • Optimized performance of CartFacade::addValid() when CartConfig::isAddToCartBulkEnabled() is enabled.

7.16.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 17 Oct 11:13

Included commits: 7.15.0...7.16.0

Improvements

  • Improved performance of CartFacadeInterface::addToCart() method.
  • Improved performance of CartFacadeInterface::removeFromCart() method.
  • Improved performance of CartFacadeInterface::reloadItemsInQuote() method.
  • Improved performance of CartFacadeInterface::validateQuote() method.

7.15.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 10 Jul 10:03

Included commits: 7.14.0...7.15.0

Improvements

  • Adjusted CartFacade::reloadItemsInQuote(), CartFacade::addToCart(), CartFacade::replaceItem(), CartFacade::add(), CartFacade::addValid(), CartFacade::reloadItems(), CartFacade::resetQuoteLock(), CartFacade::validateQuote() to handle the order-amendment-async context-specific plugin stacks based on the received QuoteTransfer::getQuoteProcessFlow::getName() input.

Adjustments

  • Increased SalesOrderAmendmentExtension module version dependency.

7.14.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 16 Apr 12:05

Included commits: 7.13.0...7.14.0

Improvements

  • Introduced Quote.quoteProcessFlow transfer field.
  • Introduced QuoteProcessFlow transfer.
  • CartFacade::reloadItemsInQuote() can handle context-specific plugin stacks based on the received QuoteTransfer::getQuoteProcessFlow::getName() input.
  • CartFacade::addToCart() can handle context-specific plugin stacks based on the received QuoteTransfer::getQuoteProcessFlow::getName() input.
  • CartFacade::replaceItem() can handle context-specific plugin stacks based on the received QuoteTransfer::getQuoteProcessFlow::getName() input.
  • CartFacade::add() can handle context-specific plugin stacks based on the received QuoteTransfer::getQuoteProcessFlow::getName() input.
  • CartFacade::addValid() can handle context-specific plugin stacks based on the received QuoteTransfer::getQuoteProcessFlow::getName() input.
  • CartFacade::reloadItems() can handle context-specific plugin stacks based on the received QuoteTransfer::getQuoteProcessFlow::getName() input.
  • CartFacade::resetQuoteLock() can handle context-specific plugin stacks based on the received QuoteTransfer::getQuoteProcessFlow::getName() input.
  • CartFacade::validateQuote() can handle context-specific plugin stacks based on the received QuoteTransfer::getQuoteProcessFlow::getName() input.
  • Introduced CartDependencyProvider::CART_PRE_CHECK_PLUGINS_FOR_ORDER_AMENDMENT constant and dependency provider method for order amendment-specific pre-check plugins.
  • Introduced CartDependencyProvider::CART_EXPANDER_PLUGINS_FOR_ORDER_AMENDMENT constant and dependency provider method for order amendment-specific expander plugins.
  • Introduced CartDependencyProvider::CART_PRE_RELOAD_PLUGINS_FOR_ORDER_AMENDMENT constant and dependency provider method for order amendment-specific pre-reload plugins.

Adjustments

  • Added CheckoutExtension, SalesOrderAmendmentExtension modules to dependencies.
  • Increased Kernel, Transfer modules version dependency.

7.13.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 05 Nov 16:32

Included commits: 7.12.1...7.13.0

Improvements

  • Added PHPUnit 11 support.

7.12.1

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 03 Apr 08:33

Included commits: 7.12.0...7.12.1

Improvements

  • Added compatibility with Dynamic Store.

7.12.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 22 Mar 09:10

Included commits: 7.11.0...7.12.0

Improvements

  • Adjusted NonPersistentProvider::addItems() to reduce the number of nested loops in order to reduce resource consumption during execution.
  • Impacted CartFacade::addToCart(), CartFacade::addValid(), CartFacade::add(), CartFacade::replaceItem(), CartFacade::reloadItemsInQuote(), CartFacade::reloadItems(), CartFacade::resetQuoteLock(), and CartFacade::validateQuote() with these changes.

7.11.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 21 Jun 11:30

Included commits: 7.10.2...7.11.0

Improvements

  • Introduced GroupKeyWithCartIdentifierItemExpanderPlugin plugin in order to expand group keys with quote identifier.
  • Introduced CartFacade::expandItemGroupKeysWithCartIdentifier().
  • Added UtilTextServiceInterface to dependencies.
  • Introduced Quote.idQuote transfer field.