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 {#13644
  -cart: App\Entity\Order\Order {#8894 …}
  -cartItem: App\Entity\Order\OrderItem {#13622
    -cardSender: null
    -cardRecipientEmail: null
    -cardRecipientName: null
    -cardText: null
    -cardType: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6944
      -shortname: "1/2 pc"
      -synapsCode: "229FX0.5_WEB"
      #version: 10
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.2
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#7065 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7099 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7089 …}
      #id: 19
      #code: "229_1_2-EC"
      #product: App\Entity\Product\Product {#6298
        #giftCard: false
        -orderweight: 894
        -homepageweight: 0
        -datedispofrom: null
        -datedispoto: null
        -video: null
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6416 …}
        #channels: Doctrine\ORM\PersistentCollection {#6448 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6433 …}
        #reviews: Doctrine\ORM\PersistentCollection {#6933 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6434 …}
        #id: 8
        #code: "229"
        #attributes: Doctrine\ORM\PersistentCollection {#6574 …}
        #variants: Doctrine\ORM\PersistentCollection {#6631
          -snapshot: [ …2]
          -owner: App\Entity\Product\Product {#6298}
          -association: [ …16]
          -em: Doctrine\ORM\EntityManager {#4275 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#70228 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#6701 …}
          #initialized: true
        }
        #options: Doctrine\ORM\PersistentCollection {#6780 …}
        #associations: Doctrine\ORM\PersistentCollection {#6740 …}
        #createdAt: DateTime @1626093015 {#6390
          date: 2021-07-12 14:30:15.0 Europe/Berlin (+02:00)
        }
        #updatedAt: DateTime @1741605499 {#6387
          date: 2025-03-10 12:18:19.0 Europe/Berlin (+01:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6934 …}
        #translationsCache: [
          "fr" => App\Entity\Product\ProductTranslation {#6936
            -dispo_description: null
            #shortDescription: """
              Du lait cru, de l'ail et du poivre ! \r\n
              Ce fromage originaire de Limagne en Auvergne est atypique et n'a pas d'équivalent.
              """
            #id: 8
            #name: "GAPERON FERMIER"
            #slug: "gaperon-fermier"
            #description: "<p>Fabriqu&eacute; traditionnellement avec du babeurre (&agrave; savoir le r&eacute;sidu peu parfum&eacute; de la fabrication du beurre) appel&eacute; Gaspe en patois auvergnat, le Gaperon a toujours &eacute;t&eacute; truff&eacute; d&rsquo;ail et de poivre afin d&rsquo;en augmenter le go&ucirc;t. Suspendu en ext&eacute;rieur au regard de tous, il servait &agrave; montrer la richesse d&rsquo;une famille, car pour faire un Gaperon il fallait quantit&eacute; de babeurre ! De nos jours, ce fromage est fabriqu&eacute; directement avec du lait en gardant sa vivacit&eacute; et son authenticit&eacute;. Pas recommand&eacute; pour les soir&eacute;es mondaines, mais id&eacute;al pour les soir&eacute;es entre amis h&eacute;donistes&hellip;</p>"
            #metaKeywords: "Gaperon fermier, fromage, lait de vache, lait cru"
            #metaDescription: "Découvrez le Gaperon, un fromage atypique qui n'a pas d'équivalent."
            #locale: "fr"
            #translatable: App\Entity\Product\Product {#6298}
          }
        ]
        #currentLocale: "fr"
        #currentTranslation: null
        #fallbackLocale: "fr"
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7120 …}
      #position: 0
      #createdAt: DateTime @1626093015 {#6950
        date: 2021-07-12 14:30:15.0 Europe/Berlin (+02:00)
      }
      #updatedAt: DateTime @1723047038 {#6971
        date: 2024-08-07 18:10:38.0 Europe/Berlin (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7054 …}
      #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 {#13652 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13653 …}
    #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 {#13644
  -cart: App\Entity\Order\Order {#8894 …}
  -cartItem: App\Entity\Order\OrderItem {#13622
    -cardSender: null
    -cardRecipientEmail: null
    -cardRecipientName: null
    -cardText: null
    -cardType: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6944
      -shortname: "1/2 pc"
      -synapsCode: "229FX0.5_WEB"
      #version: 10
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.2
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#7065 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7099 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7089 …}
      #id: 19
      #code: "229_1_2-EC"
      #product: App\Entity\Product\Product {#6298
        #giftCard: false
        -orderweight: 894
        -homepageweight: 0
        -datedispofrom: null
        -datedispoto: null
        -video: null
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6416 …}
        #channels: Doctrine\ORM\PersistentCollection {#6448 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6433 …}
        #reviews: Doctrine\ORM\PersistentCollection {#6933 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6434 …}
        #id: 8
        #code: "229"
        #attributes: Doctrine\ORM\PersistentCollection {#6574 …}
        #variants: Doctrine\ORM\PersistentCollection {#6631
          -snapshot: [ …2]
          -owner: App\Entity\Product\Product {#6298}
          -association: [ …16]
          -em: Doctrine\ORM\EntityManager {#4275 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#70228 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#6701 …}
          #initialized: true
        }
        #options: Doctrine\ORM\PersistentCollection {#6780 …}
        #associations: Doctrine\ORM\PersistentCollection {#6740 …}
        #createdAt: DateTime @1626093015 {#6390
          date: 2021-07-12 14:30:15.0 Europe/Berlin (+02:00)
        }
        #updatedAt: DateTime @1741605499 {#6387
          date: 2025-03-10 12:18:19.0 Europe/Berlin (+01:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6934 …}
        #translationsCache: [
          "fr" => App\Entity\Product\ProductTranslation {#6936
            -dispo_description: null
            #shortDescription: """
              Du lait cru, de l'ail et du poivre ! \r\n
              Ce fromage originaire de Limagne en Auvergne est atypique et n'a pas d'équivalent.
              """
            #id: 8
            #name: "GAPERON FERMIER"
            #slug: "gaperon-fermier"
            #description: "<p>Fabriqu&eacute; traditionnellement avec du babeurre (&agrave; savoir le r&eacute;sidu peu parfum&eacute; de la fabrication du beurre) appel&eacute; Gaspe en patois auvergnat, le Gaperon a toujours &eacute;t&eacute; truff&eacute; d&rsquo;ail et de poivre afin d&rsquo;en augmenter le go&ucirc;t. Suspendu en ext&eacute;rieur au regard de tous, il servait &agrave; montrer la richesse d&rsquo;une famille, car pour faire un Gaperon il fallait quantit&eacute; de babeurre ! De nos jours, ce fromage est fabriqu&eacute; directement avec du lait en gardant sa vivacit&eacute; et son authenticit&eacute;. Pas recommand&eacute; pour les soir&eacute;es mondaines, mais id&eacute;al pour les soir&eacute;es entre amis h&eacute;donistes&hellip;</p>"
            #metaKeywords: "Gaperon fermier, fromage, lait de vache, lait cru"
            #metaDescription: "Découvrez le Gaperon, un fromage atypique qui n'a pas d'équivalent."
            #locale: "fr"
            #translatable: App\Entity\Product\Product {#6298}
          }
        ]
        #currentLocale: "fr"
        #currentTranslation: null
        #fallbackLocale: "fr"
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7120 …}
      #position: 0
      #createdAt: DateTime @1626093015 {#6950
        date: 2021-07-12 14:30:15.0 Europe/Berlin (+02:00)
      }
      #updatedAt: DateTime @1723047038 {#6971
        date: 2024-08-07 18:10:38.0 Europe/Berlin (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7054 …}
      #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 {#13652 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13653 …}
    #adjustmentsTotal: 0
  }
}
same as passed value
product
App\Entity\Product\Product {#6298
  #giftCard: false
  -orderweight: 894
  -homepageweight: 0
  -datedispofrom: null
  -datedispoto: null
  -video: null
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6416 …}
  #channels: Doctrine\ORM\PersistentCollection {#6448 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6433 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6933 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6434 …}
  #id: 8
  #code: "229"
  #attributes: Doctrine\ORM\PersistentCollection {#6574 …}
  #variants: Doctrine\ORM\PersistentCollection {#6631
    -snapshot: [ …2]
    -owner: App\Entity\Product\Product {#6298}
    -association: [ …16]
    -em: Doctrine\ORM\EntityManager {#4275 …}
    -backRefFieldName: "product"
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#70228 …}
    -isDirty: false
    #collection: Doctrine\Common\Collections\ArrayCollection {#6701 …}
    #initialized: true
  }
  #options: Doctrine\ORM\PersistentCollection {#6780 …}
  #associations: Doctrine\ORM\PersistentCollection {#6740 …}
  #createdAt: DateTime @1626093015 {#6390
    date: 2021-07-12 14:30:15.0 Europe/Berlin (+02:00)
  }
  #updatedAt: DateTime @1741605499 {#6387
    date: 2025-03-10 12:18:19.0 Europe/Berlin (+01:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6934 …}
  #translationsCache: [
    "fr" => App\Entity\Product\ProductTranslation {#6936
      -dispo_description: null
      #shortDescription: """
        Du lait cru, de l'ail et du poivre ! \r\n
        Ce fromage originaire de Limagne en Auvergne est atypique et n'a pas d'équivalent.
        """
      #id: 8
      #name: "GAPERON FERMIER"
      #slug: "gaperon-fermier"
      #description: "<p>Fabriqu&eacute; traditionnellement avec du babeurre (&agrave; savoir le r&eacute;sidu peu parfum&eacute; de la fabrication du beurre) appel&eacute; Gaspe en patois auvergnat, le Gaperon a toujours &eacute;t&eacute; truff&eacute; d&rsquo;ail et de poivre afin d&rsquo;en augmenter le go&ucirc;t. Suspendu en ext&eacute;rieur au regard de tous, il servait &agrave; montrer la richesse d&rsquo;une famille, car pour faire un Gaperon il fallait quantit&eacute; de babeurre ! De nos jours, ce fromage est fabriqu&eacute; directement avec du lait en gardant sa vivacit&eacute; et son authenticit&eacute;. Pas recommand&eacute; pour les soir&eacute;es mondaines, mais id&eacute;al pour les soir&eacute;es entre amis h&eacute;donistes&hellip;</p>"
      #metaKeywords: "Gaperon fermier, fromage, lait de vache, lait cru"
      #metaDescription: "Découvrez le Gaperon, un fromage atypique qui n'a pas d'équivalent."
      #locale: "fr"
      #translatable: App\Entity\Product\Product {#6298}
    }
  ]
  #currentLocale: "fr"
  #currentTranslation: null
  #fallbackLocale: "fr"
}
same as passed value

Resolved Options

View Variables