Need Help Displaying Product Add-on Below the Product in cart using Metaobjects

Topic summary

Goal: Display a product’s add-on directly beneath its associated product in the Shopify cart when using metaobjects.

Current issue: Add-ons are successfully added on the product page via metaobjects (Shopify’s custom data objects), but in the cart all add-ons appear grouped together, not under their respective products.

Constraint: Even if cart items are visually arranged as desired, the checkout page will reorder items to the default sequence, breaking product–add-on proximity.

Suggested workaround: Add clarifying text to the add-on line items (e.g., referencing the parent product) so customers can identify which add-on belongs to which product, despite checkout reordering.

Status: No code solution provided; no confirmed method to maintain add-on placement through checkout. Discussion remains open with an emphasis on UX messaging rather than cart/checkout reordering.

Summarized with AI on January 23. AI used: gpt-5.

Hi Shopify community,

I hope you’re all doing well! I’m facing a challenge with my Shopify store and could use some guidance. I have successfully added a product add-on to the product page using metaobjects. However, I’m struggling to ensure that when a product, along with its add-on, is added to the cart, the add-on appears directly under the respective product in the cart.

To clarify with an example, let’s say I have multiple products with different add-ons, and customers can add these products to their cart. When viewing the cart, I want the add-ons to be displayed right below the specific product they are associated with.

Currently, I’ve managed to integrate the add-on functionality, but in the cart, all the add-ons are listed together, making it difficult for customers to identify which add-on belongs to which product.

I believe this can be achieved through proper coding or customisation, but I’m not sure where to start. If anyone has experience with a similar setup or knows how to achieve this desired behaviour, I would be immensely grateful for your assistance.

Thank you so much for your time and expertise!

Best regards,
Vishal.

Hello Vishal,

Anyhow if we arrange the products as you want but in the checkout they will again reorder to default.
So I suggest add a text with addon product to make it clear.

Thanks