Dynamic section not showing up in admin editor.

RoaldKamman
Shopify Partner
19 1 5

Hey there, 

I made sure to add the {{content_for_index}} in the index.liquid file. 

I validated my JSON and a preset is present. 

Below there are some images. The one with the question mark is my situation with the other image showing what it should look like. 

 Notshowing.PNGshouldbethis.PNG

Here follows my code: 

 

{% schema %}
  {
    "name": "Pricing",
    "class": "section-pricing",
    "tag": "section",
    "settings": [
      {
        "id": "title",
        "type": "text",
        "label": "Title",
        "default": "Pricing"
      },
      {
        "id": "description",
        "type": "textarea",
        "label": "Description",
        "default": "Quickly build an effective pricing table for your potential customers with this Bootstrap example. It’s built with default Bootstrap components and utilities with little customization."
      }
    ],
    "blocks": [
      {
        "type": "tier",
        "name": "Tier",
        "limit": 4,
        "settings": [
          {
            "id": "tier_name",
            "type": "text",
            "label": "Tier Name",
            "default": "Free"
          },
          {
            "id": "tier_price",
            "type": "text",
            "label": "Tier Price",
            "default": "0"
          },
          {
            "id": "tier_date",
            "type": "select",
            "label": "Tier Date",
            "options": [
              {
                "value": "dy",
                "label": "Daily"
              },
              {
                "value": "mo",
                "label": "Monthly"
              },
              {
                "value": "yr",
                "label": "Yearly"
              }
            ],
            "default": "mo"
          },
          {
            "id": "tier_description",
            "type": "textarea",
            "label": "Tier Description",
            "info": "Seperate by a comma",
            "default": "10 users included, 2GB of storage, Email support, Help center access",
            "placeholder": "example a, example b, example c"
          },
          {
            "id": "tier_button_style",
            "type": "select",
            "label": "Button Style",
            "options": [
              {
                "value": "outline",
                "label": "Outline"
              },
              {
                "value": "filled",
                "label": "Filled"
              }
            ],
            "default": "outline"
          },
          {
            "id": "tier_button_text",
            "type": "text",
            "label": "Button Text",
            "default": "Sign Up"
          },
          {
            "id": "tier_button_link",
            "type": "text",
            "label": "Tier Link URL",
            "default": "#"
          }
        ]
      }
    ],
    "presets": [
      {
        "category": "Pricing Component",
        "name": "Pricing",
        "settings": {
          "title": "Pricing",
          "description": "Quickly build an effective pricing table for your potential customers with this Bootstrap example. It’s built with default Bootstrap components and utilities with little customization."
        }
      }
    ]
  }
{% endschema %}

 

Appreciate any help,
 
Roald
“If we can really understand the problem, the answer will come out of it, because the answer is not separate from the problem. ” ― Jiddu Krishnamurti
Replies 4 (4)

RoaldKamman
Shopify Partner
19 1 5

Just adding a screen share of this to the topic. 

https://www.loom.com/share/92985395f4464bd18a2d392a26a8c164

“If we can really understand the problem, the answer will come out of it, because the answer is not separate from the problem. ” ― Jiddu Krishnamurti
RoaldKamman
Shopify Partner
19 1 5

Other things I tried: 

Ayomikun Gbenga asked: Where did you add your {{content_for_layout}}?
 
within the main tag of my theme.liquid
contentforlayout.PNG
 
Ayomikun Gbenga asked: is your Config.yml configuration is correct?
 
- I checked within my settings and it appears to be correct. 
config.yml.PNGmanageprivateapps.PNG
“If we can really understand the problem, the answer will come out of it, because the answer is not separate from the problem. ” ― Jiddu Krishnamurti
RoaldKamman
Shopify Partner
19 1 5

Continued process of elimination: 

Ayomikun Gbenga said: Ok. The password should be in " "

- Okay, I put it in " " but the problem persists.

 

I'm currently tracking another related bug report since I remember when I downloaded the theme it got stuck on 99% and there is an open issue on Shopify themekit's GitHub account. I will clone a new store with an older version of themekit to ensure I'm running a version that's complete and isn't missing any vital data.

 

I also remembered incorrectly that it was the download. It was the download of a different theme that got stuck. Still going to try version 1.0.3 anyway. 

 

I replicated the bug in themekit version 1.0.3, the problem remains unsolved. 

 

GitHub link with all the code: https://github.com/Roaldkamman/rjktheme

“If we can really understand the problem, the answer will come out of it, because the answer is not separate from the problem. ” ― Jiddu Krishnamurti
RoaldKamman
Shopify Partner
19 1 5

Attaching ThemeKit GitHub issue: 

https://github.com/Shopify/themekit/issues/837

“If we can really understand the problem, the answer will come out of it, because the answer is not separate from the problem. ” ― Jiddu Krishnamurti