I’m looking to use the new ‘nested’ line item functionality released last week, but can’t find any documentation concerning line_item.parent_relationship
- if I output it I get a ‘ParentRelationshipDrop’, but what are the properties of this object?
1 Like
Dawn has some further clues, and shows parent
is one property - see dawn/snippets/cart-drawer.liquid at 5cd1a859751a5fc00e4dd8cf048ee8a67c4bb356 · Shopify/dawn · GitHub
1 Like
A lot more information here and in Horizon repo.
You can use parent_relationship.parent.key
.
Also the dev assistant seems to know more than the docs, about this specific prop.
2 Likes