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 {#18829
  -cart: App\Entity\Order\Order {#7974 …}
  -cartItem: App\Entity\Order\OrderItem {#18802
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#18604 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#18831 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#18832 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#18828 …}
  }
}
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 {#18829
  -cart: App\Entity\Order\Order {#7974 …}
  -cartItem: App\Entity\Order\OrderItem {#18802
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#18604 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#18831 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#18832 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#18828 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#14944
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#14948 …}
  #channels: Doctrine\ORM\PersistentCollection {#14954 …}
  #mainTaxon: App\Entity\Taxonomy\Taxon {#10938 …}
  #reviews: Doctrine\ORM\PersistentCollection {#14964 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#14945 …}
  #id: 52
  #code: "P406-BOX-24"
  #attributes: Doctrine\ORM\PersistentCollection {#14950 …}
  #variants: Doctrine\ORM\PersistentCollection {#14958 …}
  #options: Doctrine\ORM\PersistentCollection {#14962 …}
  #associations: Doctrine\ORM\PersistentCollection {#14960 …}
  #createdAt: DateTime @1690967335 {#14942
    date: 2023-08-02 11:08:55.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1690967335 {#14943
    date: 2023-08-02 11:08:55.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#14967 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#14968
      #shortDescription: """
        <p>Kit pictogramme avec store &eacute;lectrique - fixation par le haut - 24V</p>\r\n
        \r\n
        <p>&nbsp;</p>\r\n
        \r\n
        <p>&nbsp;</p>
        """
      #id: 52
      #name: "P406. BOX. 24V - Pictogrammes lumineux de transport d’enfants avec store électrique"
      #slug: "p406-box-24"
      #description: """
        <p>Pictogrammes lumineux de transport d&rsquo;enfants avec store &eacute;lectrique</p>\r\n
        \r\n
        <p><strong>Caract&eacute;ristiques :</strong></p>\r\n
        \r\n
        <ul>\r\n
        \t<li>LED forte puissance, grand angle (60&deg;)</li>\r\n
        \t<li>Pictogramme avant (250mm x 250mm x 10mm) &eacute;clair&eacute; par 40 LED</li>\r\n
        \t<li>Pictogramme arri&egrave;re (400mm x 400mm x 10mm) &eacute;clair&eacute; par 56 LED</li>\r\n
        \t<li>Pictogramme occultable</li>\r\n
        \t<li>Arr&ecirc;t du store automatique</li>\r\n
        \t<li>Fonctionne avec une tension d&rsquo;alimentation de 24V</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
        </ul>\r\n
        \r\n
        <p><strong>Mode de fixation</strong><br />\r\n
        A suspendre</p>\r\n
        \r\n
        <p><strong>Exemple d&#39;application</strong><br />\r\n
        Cars, bus et v&eacute;hicules professionnels du transport de voyageur</p>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr_FR"
      #translatable: App\Entity\Product\Product {#14944}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#14848 …}
}
same as passed value

Resolved Options

View Variables