Skip to content
Comply with the EU directives with Order EditingSee Shopify app listing

Metafields Module

Use Metafields to recommend products from Shopify product, variant, or collection reference metafields for precise catalog-driven offers.

3 min read

The Metafields module shows products referenced in selected product, variant, or collection metafields. Use it when your catalog already stores recommendation relationships in Shopify metafields.


When to use it

Use Metafields when product relationships are specific and should come from catalog data instead of broad rules.

  • A product metafield points to matching accessories.
  • A variant metafield points to a compatible refill or replacement part.
  • A collection reference metafield points to a related set of products.
  • Your merchandising team already maintains product relationships in Shopify.

Before you begin

Create metafields in Shopify that store product, variant, collection, or list references. The metafields must contain reference values that Order Editing can use.

You can select up to 5 metafields in one module.


Setup steps

  1. Open the upsell strategy you want to edit.
  2. In the Product modules section, click Add Module.
  3. Select Metafields.
  4. Click Add and choose the metafields that contain product, variant, or collection references.
  5. If you use collection reference metafields, set the maximum number of products to pull from each collection.
  6. Set the Recommended Quantity.
  7. Write Offer Text.
  8. Click Save.

Configuration options

Option

What it controls

Recommended approach

Selected metafields

Which product, variant, or collection references are used.

Choose metafields your team actively maintains.

Collection product count

How many products to pull from collection references.

Keep this low so the relationship stays specific.

Product filters

Limits returned metafield products.

Use filters as guardrails, not as the main logic.

Offer Text

The message shown with referenced products.

Explain the relationship, such as compatibility or refill fit.


Recommendations

Metafields are best for precise relationships. They are more work to maintain than a Collection module, but they can produce much more relevant offers.

Catalog setup

Recommended use

Product reference metafield

One or more related products for each purchased product.

Variant reference metafield

Variant-specific compatibility, such as refills or parts.

Collection reference metafield

A curated collection tied to each product.

When this module is worth the setup

Use Metafields when recommendations are too specific for broad rules. It is ideal for compatibility, replacement parts, refills, care products, and product kits.

If your team won't maintain metafield values, use Collection or Keyword Search instead. Empty metafields create empty recommendations.

How to structure the data

Use product or variant reference metafields for exact recommendations. Use collection reference metafields when each purchased product should point to a small curated collection.

Keep the number of referenced products small. The more precise the relationship, the better the offer feels.


Troubleshooting

No metafields are available

Check that your Shopify metafields use supported reference types. Text-only metafields are not enough for this module.

No products appear

Check that the purchased product has values in the selected metafields. Empty metafields don't produce recommendations.

Too many collection products appear

Lower the maximum collection product count in the module.

Related articles

Product Modules

Upsell Products from Cart Module

Use Upsell Products from Cart to recommend products based on what is already in the customer's cart or order, including specific product and cart-source options.

Product Modules

Upsell / Downsell Module

Use Upsell / Downsell for One-Click Upsell flows that show a primary offer, then follow-up offers after the customer accepts or declines.

Product Modules

Subscription Upsell Module

Use Subscription Upsell to offer products with Shopify selling plans, including Recharge, Skio, Shopify Subscriptions, Loop, or other selling-plan setups.

Product Modules

Single Product Module

Use Single Product to offer one specific product, manage variant eligibility, set recommended quantity, and build focused upsell campaigns.