Blog Mentioned Products

Hi Guys,

I have been battling this for a while and cant find a way. I think I may need code. Essentially, in my blog posts I have to make a collection for every blog to put the products I mention at the bottom. I am moving over to the Hyper theme and want this to be more seemless as it takes a while to do on every blog. Ideally, id want the meta field to be a product list on the create blog page but every section on hyper wants a collection and I cant add a product list meta field to a collection input box. Any ideas?

Create a meta-object so that you can select the corresponding meta-object entries via the meta-field.

Here’s an example of how it might be structured:

Metafield → Metaobject reference (list)

This selects, for example, 5 objects. These contain your products.

In the editor, you build a section that reads exactly this meta field and displays the products in an array. This way, when you make product changes, you can simply enter a new link, title, or whatever you need globally, and everything will be updated everywhere.

This requires a small code change but gives you exactly what you want.

  1. Create a product list metafield on blog posts:

    • Go to Settings → Custom Data → Blog Posts

    • Add a new metafield: type = Product, allow list = :white_check_mark:

    • Call it something like custom.related_products

  2. In your Hyper theme code, create a new section (or edit an existing blog section) that reads from this metafield instead of a collection:

{% assign related = article.metafields.custom.related_products.value %}
{% for product in related %}
{% render ‘product-card’, product: product %}
{% endfor %}

Unfortunately, you’re right – it’s (yet?) not possible to submit “List of Product references” type metafield instead of collection to the section setting which expect collection, like “Featured collection” does.

But you can add a metafield of type “Collection reference” to your blog posts.
Then you should be able to add a featured collection section and use this metafields as dynamic source for Collection setting.

This, of course would require creating a collection for each blog post.

The benefit is that you do not have to edit theme code and such.

Or you can try asking AI to create a section for you to be similar to “Featured collection” but use a metafield as a source.

Hi @UncleGym

Zuri here from the FoxEcom team, Hyper theme developers :waving_hand:

You and Tim are correct. At the moment, Shopify does not support connecting a “List of Product references” metafield directly to sections that are designed to work with collections.

For Hyper, we would also recommend the approach Tim mentioned above: creating a Collection reference metafield for blog posts, then dynamically connecting that metafield to the theme’s Featured collection section. This is currently the most stable and compatible setup without requiring custom theme code.

Should you have any other questions during your theme setup, please don’t hesitate to contact our support team here:
https://foxecom.com/pages/contact-us

Thank you!