title:
  en: Product
  fr: Produit
icon: cart

tabs:
  content:
    label:
      en: Content
      fr: Contenu
    columns:
      - width: 2/3
        sections:
          main:
            type: fields
            fields:
              price:
                label:
                  en: Price (€)
                  fr: Prix (€)
                type: number
                min: 0
                step: 0.01
                required: true
                width: 1/4
              stock:
                label: Stock
                type: number
                min: 0
                default: 0
                help:
                  en: Edit through french version
                  fr: Partagé entre les versions FR et EN
                translate: false
                width: 1/4
              space:
                type: gap
                width: 2/4
              weight:
                label:
                  en: Weight (g)
                  fr: Poids (g)
                type: number
                min: 0
                default: 0
                help:
                  en: Weight in grams for shipping calculation
                  fr: Poids en grammes pour le calcul de la livraison
                translate: false
                width: 1/4
              length:
                label:
                  en: Length (cm)
                  fr: Longueur (cm)
                type: number
                min: 0
                default: 0
                help:
                  en: Package length in centimeters
                  fr: Longueur du colis en centimètres
                translate: false
                width: 1/4
              width:
                label:
                  en: Width (cm)
                  fr: Largeur (cm)
                type: number
                min: 0
                default: 0
                help:
                  en: Package width in centimeters
                  fr: Largeur du colis en centimètres
                translate: false
                width: 1/4
              height:
                label:
                  en: Height (cm)
                  fr: Hauteur (cm)
                type: number
                min: 0
                default: 0
                help:
                  en: Package height in centimeters
                  fr: Hauteur du colis en centimètres
                translate: false
                width: 1/4
              description:
                label: Description panier
                type: writer
                help: Visible dans le panier seulement.
              details:
                label:
                  en: Details
                  fr: Détails
                type: writer
              hasOptions:
                label:
                  en: Options
                  fr: Options
                type: toggle
                default: false
                width: 1/7
              optionLabel:
                label:
                  en: Option label
                  fr: Libellé de l'option
                type: text
                width: 3/7
                when:
                  hasOptions: true
              optionValues:
                label:
                  en: Option values
                  fr: Valeurs de l'option
                type: tags
                help:
                  en: "Comma-separated values (e.g.: XS, S, M, L, XL)"
                  fr: "Valeurs séparées par des virgules (ex: XS, S, M, L, XL)"
                when:
                  hasOptions: true
                width: 3/7

      - width: 1/3
        sections:
          images:
            type: files
            headline:
              en: Product Images
              fr: Images du produit
            template: image
            layout: cards
