What about the section categories in the presets for themes 2.0

BlKOut
Shopify Partner
20 0 7

Hello everyone !

Being a theme developer, the intuitive side of customization in the editor is very important to me.

Previously, when declaring a new dynamically usable section, we used in the {% schema %} tag the "presets" like this:

 

 

"presets": [
      {
        "name": {
          "en": "Collections List",
          "fr": "Liste de collections",
          "es": "Lista de colecciones",
          "it": "Elenco delle collezioni",
          "de": "Liste der Sammlungen"
        },
        "category": {
          "en": "Collection",
          "fr": "Collection",
          "es": "Colección",
          "it": "Collezione",
          "de": "Sammlung"
        },
        "blocks": [
          {
            "type": "collection"
          },
          {
            "type": "collection"
          },
          {
            "type": "collection"
          }
        ]
      }
    ]

 

As you can see, a "category" part is represented there and we can call it as we wish (Image / Text / Video / Testimony / Slideshow / Etc...)
Thus, in the old editor, when we wanted to add a section, they were classified according to these categories, very practical to sort them and allow the user to find easily, especially in a theme with a large number of sections.

From now on, since the appearance of the new theme editor, the use of this attribute "categorie" is still present, but the sorting is not done anymore and we have instead a selector where all the sections are arranged one after the other without demarcation :

2.JPG

 

 

 

 

 

 

 

 

 

 

 

Do you have any idea how to get them sorted again, or is this something that the Shopify developers are planning to fix?

Thank you in advance,
Nathan - Co-Founder of Phantom Thème

 

Replies 0 (0)