Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi
We are using the collections list page as a "Shop by" page, where you can filter the collections list by Influencer, Brand & Size and then by Womens, Mens etc (these filters are stored as collection metafields).
At the moment it is done via javascript by adding a CSS class to show a collections list when the corresponding button is clicked. The problem with this is that the page is very slow as we have hundreds of collections being rendered multiple times on the page load but just being hidden by CSS.
Is there a way to filter the collections to use within the paginate feature? So get the URL params in liquid, and then paginate the collections where the metafields match the 2 URL params provided?
Here is the page we are trying to speed up:
https://bt4zzfkdc9k73kma-24815934.shopifypreview.com/collections?filter=influencers&type=all
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024