Theme app extension settings not displaying value in theme editor

I’m seeing a strange behavior on my app blocks where previously saved setting values are not being displayed on the settings section in the theme editor. When I check the code for the template being used on the page, I can see the previously saved values in the app blocks’ settings; however, the theme editor UI fails to display them. Saving the theme editor essentially wipes out any existing setting values as the UI perceives all of the values as being null.

Example app block setting:

{% schema %}
  {
    "name": "Example Block",
    "target": "section",
    "javascript": "example-block.js",
    "settings": [
      {
        "type": "textarea",
        "id": "settingId",
      }
    ]
  }
{% endschema %}

Example code for template used on page:

"blocks": {
        "{app-block-hash}": {
          "type": "shopify:\/\/apps\/app-name\/blocks\/example-block\/{hash}",
          "settings": {
            "settingId": "example value here"
          }
        }
}

I’m using fake values above, but essentially I would expect “example value here” to be populated in the Example Block’s setting for the textarea “settingId”. However, all settings (for all input types) come back as null.

3 Likes

We are seeing same issue and many of our clients have reported this problem.

2 Likes

We are seeing this as well.

2 Likes

We are also seeing the same issue, and it’s now beginning to impact storefronts, as previous values are being lost in cache.

Ultimately, the functionality of the app is being lost due to this issue. Have logged 3 cases with both Shopify Plus Support & Shopify Partner Support since Monday (5/8/2023) and still waiting for a response.

2 Likes