Theme Code Error

Highlighted
New Member
3 0 0

Hello, Can someone help me figure out what's wrong in the below code as its giving an error in the theme customising  

{% include 'products-1' %} 
 
{% schema %}
{
  "name": "Collection Tabs",
  "class": "index-section",
"settings": [
      {
        "type": "header",
        "content": "Select the collection to show products from"
      },
      {
        "type": "select",
        "id": "products_tab_layout",
        "label": "Select section layout",
        "options": [
          {
            "value": "products-tab-design1",
            "label": "Design 1"
          },
          {
            "value": "products-tab-design2",
            "label": "Design 2"
          }
        ]
      },
  {
      "type": "select",
      "id": "listing_rows",
      "label": "No of product rows",
      "options": [
          {
          "value": "1",
          "label": "1"
          },
          {
          "value": "2",
          "label": "2"
          }
        ],
        "default": "2"
      },
      {
        "type": "text",
        "id": "products_tab_title",
        "label": "Title Text"
      },
      {
        "type": "collection",
        "id": "products_tab_collection1",
        "label": "Collection for Tab 1"
      },
      {
        "type": "collection",
        "id": "products_tab_collection2",
        "label": "Collection for Tab 2"
      },
      {
        "type": "collection",
        "id": "products_tab_collection3",
        "label": "Collection for Tab 3"
      },
      {
        "type": "collection",
        "id": "products_tab_collection4",
        "label": "Collection for Tab 4"
      },
      {
        "type": "collection",
        "id": "products_tab_collection5",
        "label": "Collection for Tab 5"
      },
      {
        "type": "text",
        "id": "products_tab_count",
        "label": "No of products to show",
        "default": "8"
      }
    ],
  "presets": [
    {
      "name": "Collection Tabs",
      "category": "Collection"
    }
  ]
}
{% endschema %}

 

0 Likes
Highlighted
Shopify Partner
60 7 35

Hi @MohammedEzzat,

Karl from Shogun here.

Do you mind sharing more information about the error message you are seeing? Error messages are usually a pretty good sign of what's going wrong with the code, once you know the right place to look.

Karl Jones | Team Lead, Technical Support, Shogun
support@getshogun.com | Try Shogun Page Builder for Shopify for FREE!

If you found my answer helpful, please make it as the solution!
0 Likes