Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Codeblock
languagejson
{
    "repositories": [
        {
            "repository": "shopGroup",
            "documents": [
                {
                    "type": "base",
                    "placeholder": [
                        {
                            "name": "label",
                            "pattern": "{{ output=$1 }} / {{ output=$3 }}",
                            "modifier": {
                                "WEIGHT": "0"
                            }
                        },
                        {
                            "name": "description",
                            "pattern": "{{ output=$2 }}<br />{{ output=$4 }}",
                            "modifier": {
                                "WEIGHT": "0"
                            }
                        },
                        {
                            "name": "image",
                            "pattern": "{{ output=$5 }}",
                            "isImage": true,
                            "modifier": {
                                "WEIGHT": "0"
                            }
                        },
                        {
                            "name": "keywords",
                            "pattern": "{{ output=$3 }}",
                            "modifier": {
                                "WEIGHT": "1"
                            }
                        }
                    ],
                    "trigger": [
                        ["shopArticle", "shopGroup"],
                        ["shopGroup"]
                    ],
                    "node": {
                        "repository": "shopGroup",
                        "properties": [
                            {
                                "number": 1,
                                "name": "shopGroupName"
                            },
                            {
                                "number": 2,
                                "name": "shopGroupDescription"
                            }
                        ],
                        "nodes": [
                            {
                                "repository": "shopArticle",
                                "properties": [
                                    {
                                        "number": 3,
                                        "name": "shopArticleName"
                                    },
                                    {
                                        "number": 4,
                                        "name": "shopArticleDescription"
                                    },
                                    {
                                        "number": 5,
                                        "name": "shopArticleImage1"
                                    }
                                ]
                            }
                        ]
                    }
                }
            ]
        }
    ]
}

...