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 {#16105
  -cart: App\Entity\Order\Order {#7056 …}
  -cartItem: App\Entity\Order\OrderItem {#16078
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#14291 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#16107 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#16108 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#16104 …}
  }
}
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 {#16105
  -cart: App\Entity\Order\Order {#7056 …}
  -cartItem: App\Entity\Order\OrderItem {#16078
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#14291 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#16107 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#16108 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#16104 …}
  }
}
same as passed value
product
Proxies\__CG__\App\Entity\Product\Product {#14303
  +__isInitialized__: true
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#15688 …}
  #channels: Doctrine\ORM\PersistentCollection {#15692 …}
  #mainTaxon: App\Entity\Taxonomy\Taxon {#10718 …}
  #reviews: Doctrine\ORM\PersistentCollection {#15702 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#15690 …}
  #id: 11
  #code: "GPS-SNOOPER-AC6600"
  #attributes: Doctrine\ORM\PersistentCollection {#15694 …}
  #variants: Doctrine\ORM\PersistentCollection {#15696 …}
  #options: Doctrine\ORM\PersistentCollection {#15700 …}
  #associations: Doctrine\ORM\PersistentCollection {#15698 …}
  #createdAt: DateTime @1689767932 {#15683
    date: 2023-07-19 13:58:52.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1689772357 {#15684
    date: 2023-07-19 15:12:37.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#15686 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#15709
      #shortDescription: """
        <ul>\r\n
        \t<li>Prise en compte du gabarit</li>\r\n
        \t<li>Contient les points d&rsquo;int&eacute;r&ecirc;t sp&eacute;cifiques autocars</li>\r\n
        \t<li>Ecran 7&rsquo;&rsquo; HD Fluide (18cm)</li>\r\n
        \t<li>Mise &agrave; jour Cartes et Info Trafic + zones de contr&ocirc;le vitesse gratuits &agrave; vie</li>\r\n
        \t<li>Bluetooth</li>\r\n
        \t<li>Entr&eacute;e vid&eacute;o cam&eacute;ra de recul filaire</li>\r\n
        \t<li>Support de fixation aliment&eacute; et aimant&eacute;</li>\r\n
        \t<li>Livrable sous 48 heures gratuitement</li>\r\n
        </ul>
        """
      #id: 11
      #name: "GPS SNOOPER AC6600"
      #slug: "gps-snooper-ac6600"
      #description: """
        <p><u><strong>Contenu du pack GPS SNOOPER AC6600</strong></u></p>\r\n
        \r\n
        <ul>\r\n
        \t<li>GPS Autocars et Bus SNOOPER AC6600 - S&eacute;rie 6</li>\r\n
        \t<li>Support ventouse aimant&eacute; et aliment&eacute;</li>\r\n
        \t<li>C&acirc;ble allume-cigare 12/24V</li>\r\n
        \t<li>C&acirc;ble de connexion USB</li>\r\n
        \t<li>Disque adh&eacute;sif tableau de bord</li>\r\n
        \t<li>Housse de protection rigide</li>\r\n
        </ul>\r\n
        \r\n
        <p>&nbsp;</p>\r\n
        \r\n
        <p><u><strong>Avantages Autocars</strong></u></p>\r\n
        \r\n
        <ul>\r\n
        \t<li>Calcul de l&#39;itin&eacute;raire en fonction du gabarit : Vous pouvez m&eacute;moriser jusqu&#39;&agrave; 10 gabarits diff&eacute;rents !</li>\r\n
        \t<li>Alertes d&#39;&eacute;cartement d&#39;itin&eacute;raire adapt&eacute; et de for&ccedil;ace</li>\r\n
        \t<li>Moteur de recherche par Parking Autocar</li>\r\n
        \t<li>Contient les points d&#39;int&eacute;r&ecirc;ts Autocar : retrouvez facilement les offices de tourismes, les lieux touristiques, monuments, &eacute;difices, parc et jardins, restaurants d&rsquo;autoroute, complexes sportifs...</li>\r\n
        \t<li>Gestion des temps de conduite</li>\r\n
        \t<li>Planification d&#39;une tourn&eacute;e &agrave; plusieurs &eacute;tapes</li>\r\n
        </ul>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr_FR"
      #translatable: Proxies\__CG__\App\Entity\Product\Product {#14303 …2}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#15685 …}
   …2
}
same as passed value

Resolved Options

View Variables