Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I'm using a custom metaobject to display location pins on a google map. There are 140+ entries, but doing the following, I am only getting the first 50 returned.
var specialLocations = [];
{% for location in shop.metaobjects.find_special_locations.values %}
specialLocations[{{ forloop.index0 }}] = {
"name" : "{{location.name}}",
"address" : "{{location.address}}",
"city" : "{{location.city}}",
"state" : "{{location.state}}",
"postal_code" : "{{location.postal_code}}",
"country" : "{{location.country}}"
}
{% endfor %}
I have not been able to find any documentation about this. Is there some kind of pagination or limits on how many metaobjects one could access in a theme?
You may not be able to access more than 50 metaobject entries in your theme. This could be because your theme is using an outdated codebase or because it is not optimised for performance. To improve your theme's performance, consider upgrading to a newer version or using a different theme. If you are still having trouble accessing more than 50 metaobject entries, please contact our support team for help.
I don't think the issue depends on the theme.
Here I am also experiencing same issue while pulling metaobject entries to the store front.
There added 70+ but it shows only 54 entries.
I tested on several free and premium themes but it showed same issue.
Thanks a lot.
If I would to add more 50+ metaobject, how can I do?
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025