{"section":"known-issues","requestedLocale":"en","requestedSlug":"attachments-lost-after-item-split-when-using-checkoutgraphql-addtocart","locale":"en","slug":"attachments-lost-after-item-split-when-using-checkoutgraphql-addtocart","path":"docs/en/known-issues/Checkout/attachments-lost-after-item-split-when-using-checkoutgraphql-addtocart.md","branch":"main","content":"## Summary\n\nAttachments applied via checkout-graphql’s addToCart may not persist on all item lines when the Checkout splits an item (e.g., due to promotions) after the initial add.\n\nThe visible symptom is that only one of the split sku keeps the attachment while the others lose it. This affects stores using GraphQL addToCart with item attachments and promotions that trigger a split.\n\n## Simulation\n\n- Create a promotion that can cause item split for the same SKU (for example, More for Less);\n- Use GraphQL addToCart to add an SKU with required attachments/options and with a quantity that will split items in the cart (for example, 4 units and one of them receives a discount)\n\n## Workaround\n\nN/A"}