Just wondering if anyone know's why all of the content blocks are limited to just 12 on the new 2.0 of Shopify?
We tried to increase it in the code, but it keeps on remaining limited at 12.
Does anyone know how to overcome this so we can add more? Or know if Shopify has any plans to increase this?
So the limit was indeed reduced from 250(?) to only 12. Following the backlash, Shopify decided to up it to 16. However, I still cannot see 16 on my theme (I saw something like 16/16, then 16/12 as well, and now I cannot get any more than 12 anymore)
I really hope that Content update coming this winter will eliminate this (huge) bottleneck
Je rencontre ce meme problème actuellement, impossible de faire une FAQ correcte avec seulement 12 blocks. Une réponse de Shopify serait la bienvenue, si ce n'est pas une mise a jour, au moins nous donner un code pour débloquer cette situation ...
Merci par avance.
With the legacy theme I was able to build a complicated "ingredients" section, with images for each ingredient of our teas. I used blocks for each ingredient, complete with an image, link to a collection of teas with that ingredient, and a blurb about that ingredient.
Now with only 16 blocks, this is impossible to do. What the heck Shopify? Why??
This is so screwed up. We have so many pages with over 16 categories. Are we supposed to change our entire website structure because of this? Create BS subcategories? At the very least they could have a "category list addition" that is designed to snug up to the regular one and make it appear as a single unit to users.
This seems to have been done for load speeds but really screws a lot of people, and their store designs, over - is there a way around if really needed, Shopify?
It possibly was to "improve load speeds", but that option should have been left to the theme developer to adjust – not Shopify. Some things make sense on Shopify's end, like removing SCSS, but a one size fits all "16 block limit" really messes up with stores like ours where we have a reason for the excess blocks.
I've contacted Shopify+ and created another thread on this topic, they don't seem too keen on providing an explanation or fix for this. We've resorted to looking for an app developer to build a custom app for our needs, which isn't a viable option for many other businesses.
I've been away from Shopify for a number of years and now I've come back I'm delighted by Sections etc, but confused and somewhat frustrated about limitations of other development decisions.
There are many scenarios why a website owner would require more than 16 repeatable Blocks in a section. It seems somewhat backward to have to include two or three sections to fulfil this need and wouldn't seem to speed anything up on either the Shopify admin or the client/developer side of things.
At the moment I'm attempting to create a collapsible accordion for an FAQ section with around 25 items; which is a fairly standard thing to do. With the 16 block limitation I would have to create two separate accordions in two sections; and then I would have to do something inefficient in the section liquid file like create a 'top of accordion' option and a 'bottom of accordion' option to ensure I can 'stitch' these two sections together at the front-end. This also makes these things more confusing than they need to be for the client.
There may be a good reason why 16 has been chosen as a limit – I wait to be educated by someone more knowledgable than myself!
Just found that having options for 'top of accordion' and 'bottom of accordion' wouldn't work as a <section> DIV is always included between sections!
So now, the only solution I can see to create an accordion of more than 16 items is to add the content 'flat' via the WYSIWIG on a Page with a <div class="accordion"> wrapped around the content, then include the Page as a Section and use some JS to wrap appropriate DIVs around the the content areas by looking at the Headings (H3s) ... seems complex for what I thought was going to be an easy task!
Perhaps another idea would be to break your FAQ's into different sections based on topics. Ours is broken into sections including "About Us", "Orders and Shipping", "Matcha FAQ", and "Loose Leaf Tea FAQ".
Of course, if one of these sections have more than 16, you'll want to refine that more or be SOL.
Another option, since it seems you understand how to code, would be to build it out in your meta as a JSON object and then use liquid to display that. You could go even a step further and write it in as JSON-LD so web crawlers can easily pick it up for SEO purposes. You can use this website to easily generate your FAQ, then use liquid to parse through all objects within "mainEntity". Then at the end of the FAQ section, just output this object as is within a script tag with type "type="application/ld+json"
Another option, since it seems you understand how to code, would be to build it out in your meta as a JSON object and then use liquid to display that
Oh, that would be interesting – are there any links to examples that you know of? Thanks for the suggestion @maxrfinch.
I've got a bit of a hack-job going on now with two sections and the JS just looks for the block items and headings and ignores the wrapping DIVs between sections. Styling feels a bit 'hacky' too. Happy to post code here if anyone requests or needs it, but it seems a little off-topic from the OP's question.