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 {#15263
  -cart: App\Entity\Order\Order {#7926 …}
  -cartItem: App\Entity\Order\OrderItem {#15258
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#15065 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#15287 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#15288 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#15284 …}
  }
}
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 {#15263
  -cart: App\Entity\Order\Order {#7926 …}
  -cartItem: App\Entity\Order\OrderItem {#15258
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#15065 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#15287 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#15288 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#15284 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#6215
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6775 …}
  #channels: Doctrine\ORM\PersistentCollection {#6026 …}
  #mainTaxon: App\Entity\Taxonomy\Taxon {#6113 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6769 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6251 …}
  #id: 11
  #code: "GPS-SNOOPER-AC6600"
  #attributes: Doctrine\ORM\PersistentCollection {#6426 …}
  #variants: Doctrine\ORM\PersistentCollection {#6479 …}
  #options: Doctrine\ORM\PersistentCollection {#6622 …}
  #associations: Doctrine\ORM\PersistentCollection {#6582 …}
  #createdAt: DateTime @1689767932 {#6190
    date: 2023-07-19 13:58:52.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1689772357 {#6368
    date: 2023-07-19 15:12:37.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6770 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#6772
      #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: App\Entity\Product\Product {#6215}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#6213 …}
}
same as passed value

Resolved Options

View Variables