I have a metaobject called “discography” with a number of metafields giving information about releases, one metafield discography.variants references another metaobject called variants which includes information about various pressings.
I have a discography page which displays packshots for all of my releases using this code [I’ve removed my website name just for privacy ![]()
{% for discography_item in shop.metaobjects.discography.values %}
[
{% if discography_item.packshot %}
{% endif %}
###
{{ discography_item.title }}
Catalog #: {{ discography_item.catalog_number }}
](https://store.website.com{{ discography_item.system.url }})
{% endfor %}
But on the individual pages I can’t figure out how to display the variants metafield / metaobject?
This prints information for EVERY variant entry not just the entries that are attached to the discography.variants metafield?
<div class="discography-variants">
<h3>Variants:</h3>
<ul>
{% for variant in shop.metaobjects.variants.values %}
<li>
<strong>{{ variant.pressing_info }}</strong>
</li>
{% endfor %}
</ul>
</div>
Sorry if any of that isn’t described well.
Please help!


