We have developed a custom module to add the additional options to the cart item using the observer events "checkout_cart_product_add_after" and "sales_model_service_quote_submit_before". It seems everything is working fine.
But, when we apply coupon code or enable gift options from the back-end or perform any default magento action l(like delete item, update item, etc) then new quote item id is being generated and old one has been removed. New one is being displayed without additional options we have added earlier.
This issue has been resolved in Magento 2.2 but can someone help us for version 2.1.*.
Preconditions
Steps to Reproduce
Expected result
Actual result
Hopefully, you will get idea about the issue by above explanation. However, please let us know if you have any confusion.
Thank you in advance. Looking forward to hearing from you soon.
This is also happening on version 2.3.3. When a quote item gets duplicated for what ever reason the any custom_fees or custom prices are not being pulled through to the new quote