Metaobject as dynamic source for product_list not working

Short description of issue

Dynamic source for a type: product_list works with a metafield, but not with a metaobject

Reproduction steps

Create a Meta object with a produtct list field.
Add a Metafield type metaobject to the products
Add for reference a metafield type product list to the products
Add a liquid block with a settings:
product (set to closest.product)
product_list

in liquid you can loop over product_list like this:

{% for product in block.settings.product_list %}
{{ product.title }}
{% endfor %}

in the theme editor you can add the product metafield with the product_list as a dynamic source and the liquid will print out the product titles.

But if you use select the metaobject and its product list as dynamic source via the product metafield metaobject. It will return nothing.

Is this a bug, or a not yet create feature?
Because you can select it as dynamic source, and if it would work it would be great and open up alot of possibilities.

Additional info

I know you can work around it, but it would be nice if it would works this way.
I’m not sure if this is a “bug report” a “featre request” or a “troubleshoothing”.
But i think it is a bug

What type of topic is this

Bug report

My fault , the meta object had status draft, by default.

Removed the status and then it works

1 Like

Thanks for sharing the solution here anyhow @Erwin_Plones , might come in handy in case anyone stumbles upon this thread, so it’s appreciated on our end here! :slight_smile: