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 {#17520
  -cart: App\Entity\Order\Order {#8427 …}
  -cartItem: App\Entity\Order\OrderItem {#17493
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7097 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#17522 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#17523 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#17519 …}
  }
}
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 {#17520
  -cart: App\Entity\Order\Order {#8427 …}
  -cartItem: App\Entity\Order\OrderItem {#17493
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7097 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#17522 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#17523 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#17519 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#7067
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#7093 …}
  #channels: Doctrine\ORM\PersistentCollection {#7068 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7021 …}
  #reviews: Doctrine\ORM\PersistentCollection {#7087 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#7071 …}
  #id: 30
  #code: "10101"
  #attributes: Doctrine\ORM\PersistentCollection {#7081 …}
  #variants: Doctrine\ORM\PersistentCollection {#7096 …}
  #options: Doctrine\ORM\PersistentCollection {#7085 …}
  #associations: Doctrine\ORM\PersistentCollection {#7077 …}
  #createdAt: DateTime @1690367479 {#7065
    date: 2023-07-26 12:31:19.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1690367479 {#7064
    date: 2023-07-26 12:31:19.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#7090 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#7091
      #shortDescription: """
        <p>La composition pour la trousse de premiers secours destin&eacute; des professionnels en Ateliers / Garages vous permet de r&eacute;approvisionner vos stock de produits de soins et de rester pr&ecirc;t en cas d&#39;accident.</p>\r\n
        \r\n
        <p>Vous trouverez suffisamment de composant pour venir en aide &agrave; 10 personnes maximum. La recharge est parfaitement adapt&eacute;e pour r&eacute;pondre efficacement aux besoins du&nbsp;personnel employ&eacute; dans les ateliers ou les garages.</p>
        """
      #id: 30
      #name: "Composition pour trousse Ateliers / Garages"
      #slug: "kit-reassort-pour-trousse-ateliers-garages"
      #description: """
        <p>Composition :</p>\r\n
        \r\n
        <ul>\r\n
        \t<li>1 ciseau pour trousse</li>\r\n
        \t<li>1 pince&nbsp;&agrave;&nbsp;&eacute;chardes</li>\r\n
        \t<li>1 couverture de survie</li>\r\n
        \t<li>1 &eacute;charpe de Mayor</li>\r\n
        \t<li>1 doigtier cuir pouce</li>\r\n
        \t<li>3 rouleaux panse-doigt 2 m x 3,8 cm</li>\r\n
        \t<li>20 pansements assortis</li>\r\n
        \t<li>1 antiseptique chlorhexidine Vapo 100 ml</li>\r\n
        \t<li>5 dosettes de s&eacute;rum physiologique</li>\r\n
        \t<li>2 bandes de gaze 3 m x 5 cm</li>\r\n
        \t<li>2 bandes de gaze 3 m x 7 cm</li>\r\n
        \t<li>12 &eacute;pingles de s&ucirc;ret&eacute;</li>\r\n
        \t<li>1 cr&egrave;me Arnica coups et chocs</li>\r\n
        \t<li>1 sac de froid instantan&eacute; 10x10 cm</li>\r\n
        \t<li>4 gants vinyle</li>\r\n
        \t<li>3 lingettes gel hydroalcoolique</li>\r\n
        \t<li>1 sparadrap microporeux 2.5 cm x 5 m</li>\r\n
        \t<li>1 coussin h&eacute;mostatique d&rsquo;urgence 10x10x3 cm</li>\r\n
        \t<li>1 spray gel br&ucirc;lures 50&nbsp;ml</li>\r\n
        \t<li>10 compresses st&eacute;riles 5 x 5</li>\r\n
        \t<li>1 masque bouche &agrave; bouche</li>\r\n
        \t<li>1 manuel de 1ers secours</li>\r\n
        </ul>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr_FR"
      #translatable: App\Entity\Product\Product {#7067}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#7022 …}
}
same as passed value

Resolved Options

View Variables