> For the complete documentation index, see [llms.txt](https://help.accentuate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.accentuate.io/use-case-guides/other-mixed-catalog/relationships.md).

# Relationships

OVERVIEW &#x20;

The Relationships field creates structured, programmatic links between product records in Shopify. Where Compatibility / Context captures named compatibility in human-readable text, Relationships uses Accentuate's Metaobject or product reference field types to create direct, navigable links between a product and its related products — accessories, variants, complementary items, replacement parts, or products in the same collection or family.

Relationships are the data architecture of cross-selling, upselling, and 'complete the set' experiences. They power 'Pairs well with', 'Also in this range', 'Replacement part for', and 'Frequently bought with' features without relying on algorithmic approximation or manual recommendation configuration. A product linked to its accessories via structured relationships will always surface those accessories — regardless of sales history, purchase patterns, or recommendation engine configuration.

&#x20;&#x20;

BUSINESS VALUE &#x20;

Why this field matters

* Structured product relationships drive accessory and add-on attachment rates — the most reliable way to surface relevant cross-sells is to define them explicitly
* 'Complete the set' and 'Also in this range' features powered by explicit relationships outperform algorithmic 'frequently bought together' for new or low-traffic products
* Replacement parts and consumables are only discoverable if the relationship between the part and the parent product is structured data — search and algorithm cannot reliably surface this
* AI recommendation systems use structured relationships as high-confidence signals — an explicitly linked relationship is treated as authoritative compared to inferred associations
* Product family management is only feasible at scale if family membership is structured data — 'all products in the Alpine Collection' cannot be maintained manually across thousands of SKUs
* Seasonal and editorial range management ('shop the look', 'kit builder') relies on structured relationships to assemble product sets programmatically

<br>

ACF SETUP

How to configure this field in Accentuate Custom Fields

| Where       | ACF dashboard → Templates tab → Product scope → Add new field  |
| ----------- | -------------------------------------------------------------- |
| Label       | Relationships                                                  |
| Name / Key  | relationships                                                  |
| Namespace   | accentuate (default)                                           |
| Field type  | Shopify >> Product reference (List) — for direct product links |
| Multi-value | Yes — a product typically has multiple related products        |

\
\ <br>

| Field type guidance: Use 'Shopify >> Product reference (List)' to create direct links to other product records. This enables Liquid to access the full product object for each related product — title, image, price, URL, and all metafields — without additional API calls. For more complex relationship structures (e.g. linking products with relationship type labels), use an ACF Metaobject with fields for the related product reference and the relationship type. |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

&#x20;&#x20;

\
\ <br>

STEP-BY-STEP IN ACF &#x20;

* Open ACF, go to Templates tab and select the Product scope
* Click 'Add new field'
* Label: 'Relationships' — Key auto-fills as 'relationships'
* Namespace: leave as 'accentuate'
* Field type: Shopify >> Product reference (List)
* Enable 'Allow multiple selections' — most products have multiple relationships
* Click Done, then Save
* For each product, link to all related product records that a customer would benefit from discovering — accessories, matching items, replacement parts, complementary products

| ACF Metaobject approach (advanced): For catalogues where relationship type matters (distinguishing 'accessory' from 'replacement part' from 'matching item'), create a Relationship Metaobject with fields: related\_product (Product reference) and relationship\_type (Single-line text). Reference this Metaobject from the product template. This approach enables type-specific relationship rendering on the storefront. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

&#x20; REFERENCE VALUES &#x20;

Relationship types — these describe the nature of the relationship, not the field values themselves

| Relationship type               | When to use                                                                                                                               |
| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Accessory                       | Products designed to be used with or enhance the parent product — tent footprints, helmet accessories, bike computer mounts               |
| Matching item                   | Products from the same design family — matching sofa and armchair, coordinating bedding sets, same-collection colour variants             |
| Replacement part / Consumable   | Parts, filters, batteries, cartridges, or components designed to replace a worn or spent element of the parent product                    |
| Upgrade / Next model            | The successor or upgraded version of a product — directs customers upgrading to the current generation                                    |
| Frequently bought together      | Products that editorial or data analysis identifies as commonly purchased together — editorially curated, not algorithmically determined  |
| Complementary product           | Products that serve different but related functions in the same use context — a sleeping bag and a sleeping mat; a jacket and base layer  |
| Part of set / Bundle            | Products that are sold or used together as a defined set — a tent bundle including tent, footprint, and stuff sack                        |
| Superseded by                   | The replacement for a discontinued product — helps customers find the current equivalent                                                  |
| Same product, different variant | Colour, size, or configuration variants sold as separate product records — links variants for discovery and comparison                    |
| Required companion              | Products that are required for the linked product to function — a product that requires a separately sold hub, base unit, or power source |

&#x20; BEST PRACTICES &#x20;

* Make relationships reciprocal wherever possible — if Product A links to Product B as an accessory, Product B should link back to Product A as a parent product
* Limit relationships to genuinely relevant products — 15 linked products on every product page creates noise, not discovery
* Maintain relationships when products are discontinued: replace discontinued related products with their successors rather than leaving dead links
* For complex catalogues, use a Metaobject-based approach with relationship type labels — this allows the storefront to render 'Accessories', 'Spare Parts', and 'Also in this range' as separate, labelled sections
* Review relationships during seasonal catalogue updates — a relationships audit is part of good catalogue hygiene

&#x20; COMMON MISTAKES &#x20;

* Creating one-directional relationships — if the tent links to the footprint but the footprint does not link back to the tent, half the relationship value is lost
* Linking too many products — a product page with 20 related products is overwhelming; 3 to 8 curated relationships outperform a comprehensive list
* Not maintaining relationships when products are discontinued — broken or irrelevant relationships erode trust and create customer service workload
* Confusing relationships with compatibility: 'This tent is compatible with this footprint' is compatibility text; a direct product record link from the tent to the footprint product is a relationship
* Using relationships as a substitute for proper variant configuration — if two items are genuinely the same product in different colours, they should be variants, not separately related products

&#x20; IN CONTEXT &#x20;

| 3-Season Backpacking Tent — 2 Person | <p><br></p>                                                                                                                                                               |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Relationships                        | Tent Footprint (Accessory), Tent Repair Kit (Accessory), Tent Inner (Replacement part), Sleeping Bag — -5°C (Complementary product), Sleeping Mat (Complementary product) |
| Compatibility / Context              | Compatible with \[Brand] Footprint Model TF2, Requires tent pegs (not included)                                                                                           |
| Activity                             | Camping, Hiking, Mountaineering                                                                                                                                           |
| Weather suitability                  | Waterproof, Windproof, Three-season                                                                                                                                       |

&#x20; DEVELOPER IMPLEMENTATION &#x20;

| Liquid note: Shopify >> Product reference (List) — use .value to get the array of product objects. Each item in the array is a full Shopify product object, giving you access to all product fields and metafields without additional API calls. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

Liquid — Storefront Rendering

\| <p>{% comment %}</p><p>Relationships — Shopify >> Product reference (List)</p><p>Namespace: accentuate | Key: relationships</p><p>Renders full product objects — access title, image, price, URL</p><p>{% endcomment %}</p><p>{% assign related = product.metafields.accentuate.relationships.value %}</p><p>{% if related != blank %}</p><p>  \<div class="related-products"></p><p>    \<h3>Goes well with\</h3></p><p>    \<div class="related-grid"></p><p>      {% for related\_product in related %}</p><p>        \<a href="{{ related\_product.url }}" class="related-card"></p><p>          \<img src="{{ related\_product.featured\_image | img\_url: '300x' }}"</p><p>               alt="{{ related\_product.title }}"></p><p>          \<span>{{ related\_product.title }}\</span></p><p>          \<span>{{ related\_product.price | money }}\</span></p><p>        \</a></p><p>      {% endfor %}</p><p>    \</div></p><p>  \</div></p><p>{% endif %}</p> |
\| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

<br>

| Pro tip: For the Metaobject-based approach, structure your relationship rendering into labelled sections: 'Accessories for this product', 'Replacement parts', 'Also in this range'. This transforms the related products section from a generic recommendation strip into a structured, navigable product ecosystem — significantly increasing attachment rates for accessories and consumables. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

&#x20; SEE ALSO &#x20;

* Compatibility / Context — text-based compatibility descriptions; the human-readable counterpart to structured product reference relationships
* Tags (controlled) — collection membership as an alternative to explicit product-level relationships for editorial grouping
* Key attributes — for products where the relationship to a parent product or system is a key selling point, surface it as a key attribute

| Full ACF documentation: help.accentuate.io \| Metafield Definitions → Fields → Field data type → Shopify field types |
| -------------------------------------------------------------------------------------------------------------------- |

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.accentuate.io/use-case-guides/other-mixed-catalog/relationships.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
