RELEASE NOTES/Cart Calculation/Cart Calculation v1

Scaling and rounding logic updated

Previously, the scaling and rounding logic was applied at different parts of the cart calculation and it was not applied consistently across all monetary values. This created inconsistency in the values that were sent back to the Cart Calculation service. Not only were the values inconsistent, but applying scaling at various points also meant that the overall calculation lost some precision. To resolve these issues, the scaling is removed from various services and the roundup strategy is now only applied to the monetary values in the response of the cart calculation.

Removal of unneccessary attributes from the calculation response

Previously, if there were fees applied to a product, the Cart Calculation service returned various fee attributes that were of no value to the calculation response. These unnecessary attributes are removed and now only the pertinent attributes return in the calculation response.

  • Send feedback

    If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.

  • Get Help

    Use our private help channel. Receive updates over email and contact our specialists directly.

  • hybris Experts

    If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.