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 {#13042
  -cart: App\Entity\Order\Order {#7974 …}
  -cartItem: App\Entity\Order\OrderItem {#12511
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#15192 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13049 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13057 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#13017 …}
  }
}
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 {#13042
  -cart: App\Entity\Order\Order {#7974 …}
  -cartItem: App\Entity\Order\OrderItem {#12511
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#15192 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13049 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13057 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#13017 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#14911
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#14922 …}
  #channels: Doctrine\ORM\PersistentCollection {#14925 …}
  #mainTaxon: App\Entity\Taxonomy\Taxon {#10938 …}
  #reviews: Doctrine\ORM\PersistentCollection {#14914 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#14930 …}
  #id: 55
  #code: "PIC400-E"
  #attributes: Doctrine\ORM\PersistentCollection {#14923 …}
  #variants: Doctrine\ORM\PersistentCollection {#14920 …}
  #options: Doctrine\ORM\PersistentCollection {#14908 …}
  #associations: Doctrine\ORM\PersistentCollection {#14916 …}
  #createdAt: DateTime @1690969083 {#14924
    date: 2023-08-02 11:38:03.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1690969083 {#14921
    date: 2023-08-02 11:38:03.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#14910 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#14907
      #shortDescription: "<p>1 pictogramme arri&egrave;re transports d&#39;enfants pour ext&eacute;rieur.</p>"
      #id: 55
      #name: "PIC400 - Pictogramme arrière extérieur"
      #slug: "pic400-e"
      #description: """
        <ul>\r\n
        \t<li>Fonctionne avec une tension d&rsquo;alimentation de 12/24Vdc.</li>\r\n
        \t<li>Compos&eacute; d&rsquo;une face r&eacute;tror&eacute;fl&eacute;chissante jaune de qualit&eacute; micro prismatique haute intensit&eacute;, pour une grande visibilit&eacute;.</li>\r\n
        \t<li>Clignotement LED&nbsp;d&eacute;clench&eacute; automatiquement par ouverture des portes</li>\r\n
        \t<li>Alimentation permanente&nbsp;(clignotement continue jusqu&rsquo;&agrave; 20 secondes apr&egrave;s la fermeture des portes)</li>\r\n
        \t<li>Indice de protection sp&eacute;cial IP69K install&eacute;, assurant l&rsquo;&eacute;tanch&eacute;it&eacute; du&nbsp;panneau transport d&rsquo;enfant lumineux LED.</li>\r\n
        \t<li>Temp&eacute;ratures dans lesquelles il doit &ecirc;tre utilis&eacute; se trouvent entre -30&deg;C et +60&deg;C.</li>\r\n
        \t<li>Equip&eacute; de protection contre les inversions de polarit&eacute;.</li>\r\n
        \t<li>Angle d&rsquo;&eacute;clairage :&nbsp;60&deg;</li>\r\n
        \t<li>Verrouillage &agrave; cl&eacute;&nbsp;int&eacute;gr&eacute; afin d&rsquo;assurer le maintien du masque</li>\r\n
        </ul>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr_FR"
      #translatable: App\Entity\Product\Product {#14911}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#14891 …}
}
same as passed value

Resolved Options

View Variables