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 {#17500
  -cart: App\Entity\Order\Order {#8410 …}
  -cartItem: App\Entity\Order\OrderItem {#17473
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7088 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#17502 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#17503 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#17499 …}
  }
}
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 {#17500
  -cart: App\Entity\Order\Order {#8410 …}
  -cartItem: App\Entity\Order\OrderItem {#17473
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7088 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#17502 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#17503 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#17499 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#7058
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#7084 …}
  #channels: Doctrine\ORM\PersistentCollection {#7059 …}
  #mainTaxon: App\Entity\Taxonomy\Taxon {#6113 …}
  #reviews: Doctrine\ORM\PersistentCollection {#7078 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#7062 …}
  #id: 27
  #code: "10087"
  #attributes: Doctrine\ORM\PersistentCollection {#7072 …}
  #variants: Doctrine\ORM\PersistentCollection {#7087 …}
  #options: Doctrine\ORM\PersistentCollection {#7076 …}
  #associations: Doctrine\ORM\PersistentCollection {#7068 …}
  #createdAt: DateTime @1690366063 {#7054
    date: 2023-07-26 12:07:43.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1690366064 {#7055
    date: 2023-07-26 12:07:44.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#7081 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#7082
      #shortDescription: """
        <p>Trousses de secours d&eacute;di&eacute;es &agrave; la m&eacute;decine du travail et &agrave; ses fonctions (pour 8 &agrave; 10 personnes). Les trousses de premiers soins vous offrent une large gamme&nbsp;de produits pour faire face &agrave; de nombreuses situations courantes en milieu de travail.</p>\r\n
        \r\n
        <p>L&eacute;ger et r&eacute;sistant, ce kit de soins contient, entre autres, une vari&eacute;t&eacute; de pansements pour les soins l&eacute;gers, des pansements compressifs, diff&eacute;rents types de pansements, des masques bouche-&agrave;-bouche et bien d&#39;autres produits.</p>
        """
      #id: 27
      #name: "Trousse de secours complète Médecine du travail"
      #slug: "trousse-complete-medecine-du-travail"
      #description: """
        <p>Composition de la trousse (pour 8 &agrave; 10 personnes) :</p>\r\n
        \r\n
        <ul>\r\n
        \t<li>1 trousse (Dimensions 32 cm x 28 cm x 11,9 cm)</li>\r\n
        \t<li>1 paire de ciseaux</li>\r\n
        \t<li>1 pince &agrave; &eacute;chardes</li>\r\n
        \t<li>3 bandes de gaze 3 m x 7 cm</li>\r\n
        \t<li>3 bandes de gaze 3 m x 10 cm</li>\r\n
        \t<li>1 bande cr&ecirc;pe 4 m x 10 cm</li>\r\n
        \t<li>1 sparadrap microporeux 2.5 cm x 5 m</li>\r\n
        \t<li>1 antiseptique chlorhexidine 50 ml</li>\r\n
        \t<li>10 dosettes s&eacute;rum physiologique</li>\r\n
        \t<li>1 coussin compressif 10 x 10 x 3 cm</li>\r\n
        \t<li>1 couverture de survie</li>\r\n
        \t<li>1 masque bouche &agrave; bouche</li>\r\n
        \t<li>1 &eacute;charpe triangulaire</li>\r\n
        \t<li>10 compresses st&eacute;riles 20 x 20</li>\r\n
        \t<li>10 compresses st&eacute;riles 30 x 30</li>\r\n
        \t<li>40 pansements assortis</li>\r\n
        \t<li>12 &eacute;pingles de s&ucirc;ret&eacute;</li>\r\n
        \t<li>5 paires de gants vinyle</li>\r\n
        \t<li>1 gel br&ucirc;lures vapo&nbsp;50 ml</li>\r\n
        \t<li>1 cr&egrave;me arnica 50 ml</li>\r\n
        \t<li>1 manuel de premiers secours</li>\r\n
        </ul>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr_FR"
      #translatable: App\Entity\Product\Product {#7058}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#6421 …}
}
same as passed value

Resolved Options

View Variables