Cartlines inside Cart Transformation function is different then the actual cart

Cartlines inside Cart Transformation function is different then the actual cart

Sebashish
Shopify Partner
8 0 3

first image is the cart lines on the UI I can see using cart.js. This is where I can see discounted item is created as another line item and same this is represented on the UI as well which is absolutly fine. But on the cart transformation functions both the line discounted items are combined into one and coming as one line item. 

This is a buy one get one situation. Issue with combining this is cart transformation function is behaving buggy because I am not getting the cart total price properly. 

Screenshot 2025-02-03 at 5.58.01 PM.pngScreenshot 2025-02-03 at 6.15.41 PM.png

Replies 0 (0)