I have more than 100 color variations
I can see that my filter shows exactly 100 variations,
is there a way to show all of the variations?
I have more than 100 color variations
I can see that my filter shows exactly 100 variations,
is there a way to show all of the variations?
Hello @lipsell ,
I am Gina from flareAI app helping Shopify merchants get $6Million+ in sales from Google Search, on autopilot.
By default, Shopify limits the number of product variants that can be displayed in a filter to 100. However, you can increase this limit by editing your theme code.
For this, follow the below steps.
Log in to your Shopify admin dashboard and go to the “Online Store” section.
Select “Themes” and click on “Actions” next to the theme you want to edit.
Select “Edit code” from the drop-down menu.
In the left-hand menu, select “Sections” and then select the “collection-template.liquid” file.
Locate the code that generates the filter options for your variants. This will likely be in a “for” loop that looks something like this:
{% for option in collection.all_tags %}
{{ option }}
{% endfor %}
{% for option in collection.all_tags | limit: 500 %}
{{ option }}
{% endfor %}
In this example, the “limit” filter has been set to 500, but you can adjust this number to whatever value you need.
Note that increasing the limit of the number of variants that can be displayed may have an impact on the performance of your website, so you should only increase it to the minimum number of variants necessary. If you find that your website is loading slowly after making this change, you may need to reduce the limit or explore other options for managing your product variants.
Gina
Hi there, is there a way to do this for collection filtering? We can currently only display 100 vendors in the “Artists” filtering on our site: https://kina.co.nz/collections/all
Thank you!
I’m using Impulse 7.4 theme and I do not see the “collection-template.liquid” file.
Where can I find this code to edit please?
Its under list.collection-template.liquid my bro for some reason.