Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleJSON Schema

localized properties must be adapted to match your e-shop languages.

Code Block
languagejson
{
  "title": "Text with Link",
  "type": "object",
  "properties": {
    "text": {
      "type": "object",
      "title": "Title",
      "properties": {
        "de": {
          "type": "string",
          "description": "Set Title in German."
        },
        "fr": {
          "type": "string",
          "description": "Set Title in French."
        }      }
    },
    "alt_text": {
      "type": "object",
      "title": "Show More Button Title",
      "properties": {
        "de": {
          "type": "string",
          "description": "Set alt-text in German."
        },
        "fr": {
          "type": "string",
          "description": "Set alt-text in French."
        }      }
    },
    "link": {
      "type": "object",
      "title": "Link (URL)",
      "properties": {
        "de": {
          "type": "string",
          "description": "Set link in German."
        },
        "fr": {
          "type": "string",
          "description": "Set link in French."
        }      }
    },
    "accessor": {
      "type": "string",
      "description": "hits accessor (typically leave empty)"
    }
  }
}

Complete Layout Block:

View file
nametext_with_link.json