Selleasy Help Center
How can we help? 👋

How to use Product Metafields to display Offer Products?

In addition to manually assigning specific products or variants as offer products in a campaign, you can also use product metafields to dynamically display the products stored within that metafield.

Notion image
💡

This feature is available only on the Pro and Enterprise plans and is supported in Product Page and Cart Page widgets alone. This will not be available for Upsell/Downsell-type, Checkout and Post-purchase campaigns.

For this guide, we will demonstrate the setup using a Frequently Bought Together (List) campaign and a metafield with the namespace “custom” and key “Complementary.”

Steps to Set Up

  1. Navigate to the Offer Products section in the campaign. Under Manual Selection, choose “Use product’s metafield.” The number of products to be shown from the metafiled can be set in “Maximum number of products to show” option.
    1. Notion image
  1. Enter the metafield namespace (for example: custom). You can refer this in the respective metafield setting in Shopify settings.
    1. Notion image
      Notion image
  1. Enter the corresponding metafield key (for example: Complementary) which will be the metafield name in Shopify.
    1. Notion image
      Notion image
  1. In your Shopify admin, ensure that Storefront API access is enabled for the metafield by navigating to: Settings → Metafields and Metaobjects → Product metafield definitions, and enabling Storefront access for the selected metafield.
    1. Notion image
  1. Complete the rest of the campaign configuration and click Save.

Once saved, the campaign will automatically display all the products assigned to that metafield for the respective trigger product in Shopify.

Notion image

If you need any assistance while setting up metafield-based campaigns, please feel free to contact our customer support team.

Did this answer your question?
😞
😐
🤩