Broadleaf Microservices
  • v1.0.0-latest-prod

Cart Operation Release Notes for 2.1.5-GA

Tip
The 2.x versions are Spring Boot 3 compatible.

Requirements

  • JDK 17 is required for Broadleaf release trains 2.0.0-GA, and beyond.

New Features & Notable Changes

  • Support permission-based mutation of Cart Attributes & Cart Internal Attributes:

    • Add cartInternalAttributes and cartAttributes to CartCreationRequest

    • Add validation to any endpoints in ManageCartEndpoint that may include attributes or internal attributes in the request.

    • See Authentication Services Release Notes for the new permissions and scopes needed to mutate these attributes.

Bug Fixes

  • Fix the issue for proper handling of COD payment added to the cart when a stale cart item is removed

  • Fixed issue where a duplicate key error would be thrown when adding an item to a cart multiple Fulfillment Groups with the same Fulfillment Type.

  • Updated a priceCart call in DefaultFulfillmentOptionRequestService to utilize the Cart Operations Service instead of the Cart Pricing Service.

    • This fixes an issue where pricing was not correctly hitting important flows such as gift calculations.

  • Fixed an issue where gifts could not be removed from the cart if the gift offer had no qualifiers attached to it.

    • This keeps the gift in a state where it continues to have an entry in the internal attributes for OFFER_IDS_TO_IGNORE_MAP, similar to how it works when there are qualifiers attached.

  • Fixed an issue where a merging-type of COMBINE for CartItems would not correctly keep gifts separate when a similar item to the gift is added to the cart.

    • Similar items added to the cart are still combined, but gifts are separated unless another gift of the same type is added.