Currently, mixins can be added to the cart at the cart, cart item, and product levels. This feature has been enhanced to handle mixins in the following two scenarios:
- When you merge an anonymous cart with a registered cart
- When you complete a partial or full update to the cart
Prior to this enhancement, some mixins were lost when you merged or updated a cart.
When you merge an anonymous cart with a registered cart, two outcomes can occur. If the anonymous cart and registered have different mixins, the mixins will be consolidated when the two carts are merged. If the anonymous cart and registered cart have the same mixin but the mixin values are different, the cart retains the mixin values from the anonymous cart.
When you update the mixins in a cart, you can complete a partial or full update. A partial mixin update lets you add a new mixin or update an existing mixin value in the cart. If you do a full update, the entire cart is updated with the content sent in the request.
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.