Section

[Landing] Product

15 个模板实例,14 个 section 配置,1 类 block。

真实模板变体

Schema

{
  "name": "[Landing] Product",
  "settings": [
    {
      "type": "textarea",
      "id": "subheading",
      "label": "Subheading"
    },
    {
      "type": "textarea",
      "id": "heading",
      "label": "Heading"
    },
    {
      "type": "textarea",
      "id": "description",
      "label": "Description"
    },
    {
      "type": "product",
      "id": "product",
      "label": "Product"
    },
    {
      "type": "select",
      "id": "discount_type",
      "label": "Discount type",
      "options": [
        {
          "value": "percentage",
          "label": "Percentage"
        },
        {
          "value": "fixed_amount",
          "label": "Fixed amount"
        }
      ],
      "default": "percentage"
    },
    {
      "type": "text",
      "id": "discount_amount",
      "label": "Discount amount"
    },
    {
      "type": "text",
      "id": "discount_code",
      "label": "Discount code"
    },
    {
      "type": "textarea",
      "id": "options_titles",
      "label": "Variant titles"
    },
    {
      "type": "textarea",
      "id": "options_media",
      "label": "Variant images"
    },
    {
      "type": "header",
      "content": "Colors"
    },
    {
      "type": "color",
      "id": "bg_color",
      "label": "Background color"
    },
    {
      "type": "color",
      "id": "accent_color",
      "label": "Accent color",
      "info": "Will be used for buttons and text highlights"
    },
    {
      "type": "color",
      "id": "text_color",
      "label": "Text color"
    },
    {
      "type": "color",
      "id": "button_text_color",
      "label": "Button text color"
    }
  ],
  "blocks": [
    {
      "type": "accordion",
      "name": "Accordion",
      "settings": [
        {
          "type": "text",
          "id": "title",
          "label": "Title"
        },
        {
          "type": "richtext",
          "id": "content",
          "label": "Content"
        }
      ]
    }
  ],
  "presets": [
    {
      "name": "[Landing] Product",
      "category": "Content"
    }
  ]
}