Forms

  • sylius_add_to_cart
    • cartItem
    • _token

sylius_add_to_cart

"Sylius\Bundle\CoreBundle\Form\Type\Order\AddToCartType"

Default Data

Property Value
Model Format same as normalized format
Normalized Format
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#13671
  -cart: App\Entity\Order\Order {#9019 …}
  -cartItem: App\Entity\Order\OrderItem {#13649
    -cardSender: null
    -cardRecipientEmail: null
    -cardRecipientName: null
    -cardText: null
    -cardType: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7149
      -shortname: "27/06/25 - 15h00"
      -synapsCode: null
      #version: 20
      #onHold: 0
      #onHand: 6
      #tracked: true
      #weight: null
      #width: null
      #height: null
      #depth: null
      #taxCategory: null
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7177 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7179 …}
      #id: 351
      #code: "27-06-25"
      #product: App\Entity\Product\Product {#6346
        #giftCard: false
        -orderweight: 10000
        -homepageweight: 10000
        -datedispofrom: null
        -datedispoto: null
        -video: null
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6384 …}
        #channels: Doctrine\ORM\PersistentCollection {#6486 …}
        #mainTaxon: null
        #reviews: Doctrine\ORM\PersistentCollection {#6971 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6472 …}
        #id: 160
        #code: "visite_tunnel"
        #attributes: Doctrine\ORM\PersistentCollection {#6612 …}
        #variants: Doctrine\ORM\PersistentCollection {#6669
          -snapshot: [ …21]
          -owner: App\Entity\Product\Product {#6346}
          -association: [ …16]
          -em: Doctrine\ORM\EntityManager {#4275 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#46167 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#6739 …}
          #initialized: true
        }
        #options: Doctrine\ORM\PersistentCollection {#6818 …}
        #associations: Doctrine\ORM\PersistentCollection {#6778 …}
        #createdAt: DateTime @1728314469 {#6438
          date: 2024-10-07 17:21:09.0 Europe/Berlin (+02:00)
        }
        #updatedAt: DateTime @1730907924 {#6435
          date: 2024-11-06 16:45:24.0 Europe/Berlin (+01:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6972 …}
        #translationsCache: [
          "fr" => App\Entity\Product\ProductTranslation {#6974
            -dispo_description: null
            #shortDescription: """
              NOUVELLES DATES\r\n
              Rendez-nous visite et découvrez l'histoire insolite du Tunnel de la Collonge
              """
            #id: 160
            #name: "VISITE DU TUNNEL DE LA COLLONGE"
            #slug: "visite-du-tunnel-de-la-collonge"
            #description: """
              <p>Le <a href="https://www.mons-fromages.com/fr/page/tunnel-de-la-collonge-a-ambierle">Tunnel de la Collonge</a> ouvre ses portes.&nbsp;<br />\r\n
              Localis&eacute; &agrave; Ambierle, dans la Loire, la Maison Mons vous accueille dans un cadre exceptionnel: le Tunnel de la Collonge.&nbsp;<br />\r\n
              Ancien tunnel ferroviaire, nous l&rsquo;avons am&eacute;nag&eacute; en un lieu de pr&eacute;dilection pour l&rsquo;affinage de nos fromages de garde.&nbsp;</p>\r\n
              \r\n
              <p>Retrouvez-nous pour une visite du Tunnel et une d&eacute;gustation de 1 fromage et 1 verre de vin blanc local.</p>\r\n
              \r\n
              <p>Places limit&eacute;es &agrave; 25 personnes par date.</p>\r\n
              \r\n
              <p><strong>Un livret d&#39;accueil d&eacute;taillant votre visite vous sera envoy&eacute; par e-mail &agrave; l&#39;approche de la date.</strong></p>\r\n
              \r\n
              <p>Pour toutes questions, contactez Monica: lacollonge@mons-fromagerie.fr</p>\r\n
              \r\n
              <p><em>Un minimum de 10 inscriptions est requis par visite. Si ce seuil n&#39;est pas atteint, nous nous r&eacute;servons le droit d&#39;annuler la visite. Dans ce cas, vous serez pr&eacute;venus &agrave; l&#39;avance et aurez le choix entre un remboursement ou la possibilit&eacute; de reporter votre participation &agrave; une autre date.&nbsp;</em></p>
              """
            #metaKeywords: "tunnel, visite, site exceptionnel, fromage, unique, cadeau"
            #metaDescription: "À la découverte des secrets d'affinage de la Maison Mons"
            #locale: "fr"
            #translatable: App\Entity\Product\Product {#6346}
          }
        ]
        #currentLocale: "fr"
        #currentTranslation: null
        #fallbackLocale: "fr"
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7181 …}
      #position: 1
      #createdAt: DateTime @1746621042 {#7175
        date: 2025-05-07 14:30:42.0 Europe/Berlin (+02:00)
      }
      #updatedAt: DateTime @1750187053 {#7150
        date: 2025-06-17 21:04:13.0 Europe/Berlin (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7151 …}
      #translationsCache: []
      #currentLocale: "fr"
      #currentTranslation: null
      #fallbackLocale: "fr"
    }
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13679 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13680 …}
    #adjustmentsTotal: 0
  }
}
View Format same as normalized format

Submitted Data

This form was not submitted.

Passed Options

Option Passed Value Resolved Value
data
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#13671
  -cart: App\Entity\Order\Order {#9019 …}
  -cartItem: App\Entity\Order\OrderItem {#13649
    -cardSender: null
    -cardRecipientEmail: null
    -cardRecipientName: null
    -cardText: null
    -cardType: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7149
      -shortname: "27/06/25 - 15h00"
      -synapsCode: null
      #version: 20
      #onHold: 0
      #onHand: 6
      #tracked: true
      #weight: null
      #width: null
      #height: null
      #depth: null
      #taxCategory: null
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7177 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7179 …}
      #id: 351
      #code: "27-06-25"
      #product: App\Entity\Product\Product {#6346
        #giftCard: false
        -orderweight: 10000
        -homepageweight: 10000
        -datedispofrom: null
        -datedispoto: null
        -video: null
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6384 …}
        #channels: Doctrine\ORM\PersistentCollection {#6486 …}
        #mainTaxon: null
        #reviews: Doctrine\ORM\PersistentCollection {#6971 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6472 …}
        #id: 160
        #code: "visite_tunnel"
        #attributes: Doctrine\ORM\PersistentCollection {#6612 …}
        #variants: Doctrine\ORM\PersistentCollection {#6669
          -snapshot: [ …21]
          -owner: App\Entity\Product\Product {#6346}
          -association: [ …16]
          -em: Doctrine\ORM\EntityManager {#4275 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#46167 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#6739 …}
          #initialized: true
        }
        #options: Doctrine\ORM\PersistentCollection {#6818 …}
        #associations: Doctrine\ORM\PersistentCollection {#6778 …}
        #createdAt: DateTime @1728314469 {#6438
          date: 2024-10-07 17:21:09.0 Europe/Berlin (+02:00)
        }
        #updatedAt: DateTime @1730907924 {#6435
          date: 2024-11-06 16:45:24.0 Europe/Berlin (+01:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6972 …}
        #translationsCache: [
          "fr" => App\Entity\Product\ProductTranslation {#6974
            -dispo_description: null
            #shortDescription: """
              NOUVELLES DATES\r\n
              Rendez-nous visite et découvrez l'histoire insolite du Tunnel de la Collonge
              """
            #id: 160
            #name: "VISITE DU TUNNEL DE LA COLLONGE"
            #slug: "visite-du-tunnel-de-la-collonge"
            #description: """
              <p>Le <a href="https://www.mons-fromages.com/fr/page/tunnel-de-la-collonge-a-ambierle">Tunnel de la Collonge</a> ouvre ses portes.&nbsp;<br />\r\n
              Localis&eacute; &agrave; Ambierle, dans la Loire, la Maison Mons vous accueille dans un cadre exceptionnel: le Tunnel de la Collonge.&nbsp;<br />\r\n
              Ancien tunnel ferroviaire, nous l&rsquo;avons am&eacute;nag&eacute; en un lieu de pr&eacute;dilection pour l&rsquo;affinage de nos fromages de garde.&nbsp;</p>\r\n
              \r\n
              <p>Retrouvez-nous pour une visite du Tunnel et une d&eacute;gustation de 1 fromage et 1 verre de vin blanc local.</p>\r\n
              \r\n
              <p>Places limit&eacute;es &agrave; 25 personnes par date.</p>\r\n
              \r\n
              <p><strong>Un livret d&#39;accueil d&eacute;taillant votre visite vous sera envoy&eacute; par e-mail &agrave; l&#39;approche de la date.</strong></p>\r\n
              \r\n
              <p>Pour toutes questions, contactez Monica: lacollonge@mons-fromagerie.fr</p>\r\n
              \r\n
              <p><em>Un minimum de 10 inscriptions est requis par visite. Si ce seuil n&#39;est pas atteint, nous nous r&eacute;servons le droit d&#39;annuler la visite. Dans ce cas, vous serez pr&eacute;venus &agrave; l&#39;avance et aurez le choix entre un remboursement ou la possibilit&eacute; de reporter votre participation &agrave; une autre date.&nbsp;</em></p>
              """
            #metaKeywords: "tunnel, visite, site exceptionnel, fromage, unique, cadeau"
            #metaDescription: "À la découverte des secrets d'affinage de la Maison Mons"
            #locale: "fr"
            #translatable: App\Entity\Product\Product {#6346}
          }
        ]
        #currentLocale: "fr"
        #currentTranslation: null
        #fallbackLocale: "fr"
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7181 …}
      #position: 1
      #createdAt: DateTime @1746621042 {#7175
        date: 2025-05-07 14:30:42.0 Europe/Berlin (+02:00)
      }
      #updatedAt: DateTime @1750187053 {#7150
        date: 2025-06-17 21:04:13.0 Europe/Berlin (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7151 …}
      #translationsCache: []
      #currentLocale: "fr"
      #currentTranslation: null
      #fallbackLocale: "fr"
    }
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13679 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13680 …}
    #adjustmentsTotal: 0
  }
}
same as passed value
product
App\Entity\Product\Product {#6346
  #giftCard: false
  -orderweight: 10000
  -homepageweight: 10000
  -datedispofrom: null
  -datedispoto: null
  -video: null
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6384 …}
  #channels: Doctrine\ORM\PersistentCollection {#6486 …}
  #mainTaxon: null
  #reviews: Doctrine\ORM\PersistentCollection {#6971 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6472 …}
  #id: 160
  #code: "visite_tunnel"
  #attributes: Doctrine\ORM\PersistentCollection {#6612 …}
  #variants: Doctrine\ORM\PersistentCollection {#6669
    -snapshot: [ …21]
    -owner: App\Entity\Product\Product {#6346}
    -association: [ …16]
    -em: Doctrine\ORM\EntityManager {#4275 …}
    -backRefFieldName: "product"
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#46167 …}
    -isDirty: false
    #collection: Doctrine\Common\Collections\ArrayCollection {#6739 …}
    #initialized: true
  }
  #options: Doctrine\ORM\PersistentCollection {#6818 …}
  #associations: Doctrine\ORM\PersistentCollection {#6778 …}
  #createdAt: DateTime @1728314469 {#6438
    date: 2024-10-07 17:21:09.0 Europe/Berlin (+02:00)
  }
  #updatedAt: DateTime @1730907924 {#6435
    date: 2024-11-06 16:45:24.0 Europe/Berlin (+01:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6972 …}
  #translationsCache: [
    "fr" => App\Entity\Product\ProductTranslation {#6974
      -dispo_description: null
      #shortDescription: """
        NOUVELLES DATES\r\n
        Rendez-nous visite et découvrez l'histoire insolite du Tunnel de la Collonge
        """
      #id: 160
      #name: "VISITE DU TUNNEL DE LA COLLONGE"
      #slug: "visite-du-tunnel-de-la-collonge"
      #description: """
        <p>Le <a href="https://www.mons-fromages.com/fr/page/tunnel-de-la-collonge-a-ambierle">Tunnel de la Collonge</a> ouvre ses portes.&nbsp;<br />\r\n
        Localis&eacute; &agrave; Ambierle, dans la Loire, la Maison Mons vous accueille dans un cadre exceptionnel: le Tunnel de la Collonge.&nbsp;<br />\r\n
        Ancien tunnel ferroviaire, nous l&rsquo;avons am&eacute;nag&eacute; en un lieu de pr&eacute;dilection pour l&rsquo;affinage de nos fromages de garde.&nbsp;</p>\r\n
        \r\n
        <p>Retrouvez-nous pour une visite du Tunnel et une d&eacute;gustation de 1 fromage et 1 verre de vin blanc local.</p>\r\n
        \r\n
        <p>Places limit&eacute;es &agrave; 25 personnes par date.</p>\r\n
        \r\n
        <p><strong>Un livret d&#39;accueil d&eacute;taillant votre visite vous sera envoy&eacute; par e-mail &agrave; l&#39;approche de la date.</strong></p>\r\n
        \r\n
        <p>Pour toutes questions, contactez Monica: lacollonge@mons-fromagerie.fr</p>\r\n
        \r\n
        <p><em>Un minimum de 10 inscriptions est requis par visite. Si ce seuil n&#39;est pas atteint, nous nous r&eacute;servons le droit d&#39;annuler la visite. Dans ce cas, vous serez pr&eacute;venus &agrave; l&#39;avance et aurez le choix entre un remboursement ou la possibilit&eacute; de reporter votre participation &agrave; une autre date.&nbsp;</em></p>
        """
      #metaKeywords: "tunnel, visite, site exceptionnel, fromage, unique, cadeau"
      #metaDescription: "À la découverte des secrets d'affinage de la Maison Mons"
      #locale: "fr"
      #translatable: App\Entity\Product\Product {#6346}
    }
  ]
  #currentLocale: "fr"
  #currentTranslation: null
  #fallbackLocale: "fr"
}
same as passed value

Resolved Options

View Variables