secondaryTabs:
  fields:
    shop_name:
        label: pixel.shop::lang.fields.shop_name
        type: text
        span: auto
        tab: 'pixel.shop::lang.fields.shop'

    shop_email:
        label: pixel.shop::lang.fields.shop_email
        type: text
        span: auto
        tab: 'pixel.shop::lang.fields.shop'

    shop_address:
        label: pixel.shop::lang.fields.address
        type: textarea
        size: tiny
        span: full
        tab: 'pixel.shop::lang.fields.shop'

    default_image:
        label: 'pixel.shop::lang.fields.default_image'
        type: fileupload
        mode: image
        span: auto
        tab: 'pixel.shop::lang.fields.shop'

    new_order_notify:
        label: 'pixel.shop::lang.fields.new_order_notify'
        type: text
        span: auto
        tab: 'pixel.shop::lang.fields.shop'

    price_with_tax:
        tab: 'pixel.shop::lang.fields.tax'
        label: pixel.shop::lang.fields.price_with_tax
        type: switch
        span: full

    taxes:
        prompt: 'Add new item'
        span: full
        type: repeater
        tab: 'pixel.shop::lang.fields.tax'
        form:
            fields:
                name:
                    label: 'pixel.shop::lang.fields.name'
                    oc.commentPosition: ''
                    span: auto
                    type: text
                percent:
                    label: 'pixel.shop::lang.fields.percent'
                    oc.commentPosition: ''
                    span: auto
                    type: number

    billing_custom_fields:
        label: 'pixel.shop::lang.fields.billing_address'
        prompt: 'pixel.shop::lang.fields.add_custom_field'
        span: auto
        type: repeater
        tab: 'pixel.shop::lang.fields.custom_fields'
        form: 
          fields: 
            label:
              label: 'pixel.shop::lang.fields.label'
              span: auto
              type: text
            field:
              label: 'pixel.shop::lang.fields.type'
              span: auto
              type: dropdown
              options:
                  text: 'Input Text'
                  select: 'Select'
                  checkbox: 'Checkbox'
                  radio: 'Radio'
            placeholder:
              label: Placeholder
              span: left
              type: text
              trigger: 
                action: show
                field: field
                condition: value[text]
            values:
              label: 'pixel.shop::lang.fields.values'
              span: left
              type: taglist
              placeholder: 'x,y,z...'
              trigger: 
                action: hide
                field: field
                condition: value[text]
            rules:
              label: 'pixel.shop::lang.fields.rules'
              span: right
              type: text
              placeholder: 'Ex, required|min:3'
    
    shipping_custom_fields:
        label: 'pixel.shop::lang.fields.shipping_address'
        prompt: 'pixel.shop::lang.fields.add_custom_field'
        span: auto
        type: repeater
        tab: 'pixel.shop::lang.fields.custom_fields'
        form: 
          fields: 
            label:
              label: 'pixel.shop::lang.fields.label'
              span: auto
              type: text
            field:
              label: 'pixel.shop::lang.fields.type'
              span: auto
              type: dropdown
              options:
                  text: 'Input Text'
                  select: 'Select'
                  checkbox: 'Checkbox'
                  radio: 'Radio'
            placeholder:
              label: Placeholder
              span: left
              type: text
              trigger: 
                action: show
                field: field
                condition: value[text]
            values:
              label: 'pixel.shop::lang.fields.values'
              span: left
              type: taglist
              placeholder: 'x,y,z...'
              trigger: 
                action: hide
                field: field
                condition: value[text]
            rules:
              label: 'pixel.shop::lang.fields.rules'
              span: right
              type: text
              placeholder: 'Ex, required|min:3'

    customer_custom_fields:
        label: 'pixel.shop::lang.fields.customer_info'
        prompt: 'pixel.shop::lang.fields.add_custom_field'
        span: auto
        type: repeater
        tab: 'pixel.shop::lang.fields.custom_fields'
        form: 
          fields: 
            label:
              label: 'pixel.shop::lang.fields.label'
              span: auto
              type: text
            field:
              label: 'pixel.shop::lang.fields.type'
              span: auto
              type: dropdown
              options:
                  text: 'Input Text'
                  select: 'Select'
                  checkbox: 'Checkbox'
                  radio: 'Radio'
            placeholder:
              label: Placeholder
              span: left
              type: text
              trigger: 
                action: show
                field: field
                condition: value[text]
            values:
              label: 'pixel.shop::lang.fields.values'
              span: left
              type: taglist
              placeholder: Options separated by commas
              trigger: 
                action: hide
                field: field
                condition: value[text]
            rules:
              label: 'pixel.shop::lang.fields.rules'
              span: right
              type: text
              placeholder: 'Ex, required|min:3'