{"section":"known-issues","requestedLocale":"en","requestedSlug":"addtocart-function-doesnt-work-correctly-with-attachments-and-assembly-options-components-attachment","locale":"en","slug":"addtocart-function-doesnt-work-correctly-with-attachments-and-assembly-options-components-attachment","path":"docs/en/known-issues/Store Framework/addtocart-function-doesnt-work-correctly-with-attachments-and-assembly-options-components-attachment.md","branch":"main","content":"## Summary\n\n\naddToCart function doesn't work correctly when a product has assembly options and attachments configured and one of the assembly options' components also has attachments. Only the component's attachment will be added to the cart.\n\n\n##\n\n## Simulation\n\n\n\n- Configure an attachment for a product;\n- Configure assembly options for the same product in which one of the components has attachments;\n- Add the product to the cart, selecting the product's and the component's attachments;\n- Access checkout and check that the product's attachment was not added.\n\n\n##\n\n## Workaround\n\n\nN/A"}