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 {#17899
  -cart: App\Entity\Order\Order {#8322 …}
  -cartItem: App\Entity\Order\OrderItem {#17872
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7132 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#17901 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#17902 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#17898 …}
  }
}
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 {#17899
  -cart: App\Entity\Order\Order {#8322 …}
  -cartItem: App\Entity\Order\OrderItem {#17872
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7132 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#17901 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#17902 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#17898 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#7102
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#7128 …}
  #channels: Doctrine\ORM\PersistentCollection {#7103 …}
  #mainTaxon: App\Entity\Taxonomy\Taxon {#6113 …}
  #reviews: Doctrine\ORM\PersistentCollection {#7122 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#7106 …}
  #id: 10
  #code: "PIC250-400S"
  #attributes: Doctrine\ORM\PersistentCollection {#7116 …}
  #variants: Doctrine\ORM\PersistentCollection {#7131 …}
  #options: Doctrine\ORM\PersistentCollection {#7120 …}
  #associations: Doctrine\ORM\PersistentCollection {#7112 …}
  #createdAt: DateTime @1687810988 {#7098
    date: 2023-06-26 22:23:08.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1690965456 {#7099
    date: 2023-08-02 10:37:36.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#7125 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#7126
      #shortDescription: """
        <p><strong>Jeu de pictogramme 250 et 400 avec support et connecteurs</strong></p>\r\n
        \r\n
        <ul>\r\n
        \t<li>PIC 250 mesure 250x250 mm (sans le support)&nbsp;et poss&egrave;de 40 LED. Il se place &agrave; l&rsquo;avant du v&eacute;hicule de transport d&rsquo;enfant.</li>\r\n
        \t<li>PIC 400 mesure 400x400 mm (sans le support) et poss&egrave;de 56 LED. Il se place &agrave; l&rsquo;arri&egrave;re du v&eacute;hicule de transport d&rsquo;enfant.</li>\r\n
        </ul>
        """
      #id: 10
      #name: "PIC250/400.S - Pictogrammes lumineux de transport d’enfants avec supports + connecteurs"
      #slug: "pic250-400-s"
      #description: """
        <p>Jeu de pictogramme 250 et 400.&nbsp;Pictogrammes avec supports + connecteurs.</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>Compos&eacute; d&rsquo;une face r&eacute;tror&eacute;fl&eacute;chissante jaune de qualit&eacute; micro prismatique haute intensit&eacute; qui offre une grande visibilit&eacute;</li>\r\n
        \t<li>Support avec connectique int&eacute;gr&eacute;e</li>\r\n
        \t<li>Clignotement de ce pictogramme LED est automatiquement d&eacute;clench&eacute; par l&rsquo;ouverture des portes</li>\r\n
        \t<li>Pictogramme occult&eacute; par simple retournement dans son support</li>\r\n
        \t<li>Tension d&rsquo;alimentation 12/24 V</li>\r\n
        \t<li>Ce pictogramme lumineux pour transport d&rsquo;enfant consomme peu : 13.5 Vdc</li>\r\n
        </ul>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr_FR"
      #translatable: App\Entity\Product\Product {#7102}
    }
  ]
  #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