Some metaobjects not showing in frontend

Topic summary

Issue: Some Shopify metaobject entries (store locations) are not appearing on the storefront or in data responses.

  • Setup: 66 store locations organized into 11 groups. Retrieval uses a Liquid filter and sort: assign store_locations = shop.metaobjects.store_locations.values | where: ‘group_name’, group.name | sort: ‘order’.
  • Symptoms: Groups intermittently return fewer records than exist (e.g., 3 expected, only 1 returned). Overall, 16 records are missing. Newly created records also fail to appear.
  • Additional finding: The JSON output also omits the missing records, indicating the issue is upstream of the Liquid rendering (data not being returned rather than a template bug).

Status: No resolution or workaround provided yet. The issue remains open, and the poster is seeking troubleshooting guidance. Code snippet and data outputs are central to understanding the problem.

Summarized with AI on December 28. AI used: gpt-5.

We use metaobjects to store and display offline store locations in our online store. We have a total of 66 stores. I have them in 11 groups based on location, and retrieving one group at a time using where condition.

{% assign store_locations = shop.metaobjects.store_locations.values | where: 'group_name', group.name | sort: 'order' %}

I am randomly missing some rows in the groups on the frontend. For example, I have 3 records in a group. But when the above query only returns 1 record. Overall I am missing 16 records. Any new records I create are also not showing up.

We have been struggling now for several days with this problem. Any inputs to resolve it is highly appreciated.

JSON also shows less records. Missing records do not appear.