Hello
I am trying to increase the number of products that appear on a page when browsing a collection. Currently it's 2 rows of 4 but I'd like it to be 3 rows of 4. I have looked in collection.liquid and tried changing the defined limit but this has no effect. Presumably because there's a pre-defined grid that's limiting it but I'm unsure how to change this. Any support would be greatly appreciated.
I am using the Debut theme.
Thanks
Zac
Hi Zac
The theme customizer is context sensitive, meaning it displays different options depending on what page you're looking at.
So when you're in the theme customizer, navigate to the collection page and you'll see an option to change the number of items per row.
From your Shopify admin, go to Online Store > Themes.
Find the theme you want to edit, and then click Actions > Edit code.
In the Templates directory, click collection.liquid. ( collection-template.liquid in SECTIONS )
In the code editor, find the following code:
{% paginate collection.products by 9 %}
In the above example, the default number of products per page is 9. This number varies theme to theme. You will need to change this number to the number of products that you'd like to show on your collection pages. Use any number you like, as long as it is not more than 50.
Some themes use a variable called limit instead of a number to determine how many products will be shown per page. If your theme uses a limit variable, the code will look like this:
{% paginate collection.products by limit %}
If your theme uses a limit variable, you will need to replace limit with a number. As above, this is the number of products that will show on each collection page, and the number must not be more than 50. Note that replacing the limit variable with a number will remove the ability to make changes to the collection pages pagination settings from the theme editor. We recommend that you not edit your theme code unless you are unable to achieve the desired number of products per page from the theme editor.
Click Save.
User | Count |
---|---|
437 | |
193 | |
139 | |
57 | |
44 |