Malformed fee handling
Following the support of fees in the Cart Calculation service, it can now handle malformed fees. A malformed fee is a fee whose data does not correctly or uniquely identify the identity of the fee. If a fee falls into one of the malformed scenarios defined by the Cart Calculation service, the fee value defaults to zero (0). This ensure the fee has no impact on the cart calculation totals and it serves as a visual cue that something may be wrong with the fee.
The Cart Calculation service only supports the following fee type values:
- ABSOLUTE
- ABSOLUTE_MULTIPLY_ITEMQUANTITY
- PERCENT
For more information on cart calculation with fees, see the Cart Calculation Process page and the Calculate a Cart tutorial.
If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.
Use our private help channel. Receive updates over email and contact our specialists directly.
If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.