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 {#17492
  -cart: App\Entity\Order\Order {#8106 …}
  -cartItem: App\Entity\Order\OrderItem {#17465
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#17295 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#17494 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#17495 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#17491 …}
  }
}
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 {#17492
  -cart: App\Entity\Order\Order {#8106 …}
  -cartItem: App\Entity\Order\OrderItem {#17465
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#17295 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#17494 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#17495 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#17491 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#6847
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6871 …}
  #channels: Doctrine\ORM\PersistentCollection {#6848 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6331 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6865 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6851 …}
  #id: 29
  #code: "10100"
  #attributes: Doctrine\ORM\PersistentCollection {#6857 …}
  #variants: Doctrine\ORM\PersistentCollection {#6853 …}
  #options: Doctrine\ORM\PersistentCollection {#6863 …}
  #associations: Doctrine\ORM\PersistentCollection {#6861 …}
  #createdAt: DateTime @1690367107 {#6845
    date: 2023-07-26 12:25:07.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1690367107 {#6844
    date: 2023-07-26 12:25:07.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6868 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#6869
      #shortDescription: """
        <p>Les trousses de secours pour les ateliers et les garages sont adapt&eacute;es pour r&eacute;pondre efficacement aux besoins de ce milieu. Le kit d&#39;urgence comporte tous les composants essentiels pour dispenser les premiers soins en cas d&#39;accidents sur votre lieu de travail.</p>\r\n
        \r\n
        <p>Avec la trousse de secours, il est possible de venir en aide &agrave; un maximum de 10 personnes. Au del&agrave; de cette limite, il est fort probable de devoir renouveler les composants de votre trousse afin de&nbsp;rester pr&eacute;par&eacute; en cas de nouvel accident.</p>
        """
      #id: 29
      #name: "Trousse de secours complète - Ateliers / Garages"
      #slug: "trousse-complete-ateliers-garages"
      #description: """
        <p>Composition de la trousse :</p>\r\n
        \r\n
        <ul>\r\n
        \t<li>1 trousse 32 x 28 x 11.9 cm</li>\r\n
        \t<li>1 ciseau pour trousse</li>\r\n
        \t<li>1 pince &agrave; &eacute;chardes</li>\r\n
        \t<li>1 couverture de survie</li>\r\n
        \t<li>1 &eacute;charpe de Mayor</li>\r\n
        \t<li>1 doigtier cuir pouce</li>\r\n
        \t<li>3 rouleaux panse-doigt 2m x 3,8cm</li>\r\n
        \t<li>20 pansements assortis</li>\r\n
        \t<li>1 antiseptique chlorhexidine Vapo 100ml</li>\r\n
        \t<li>5 dosettes de s&eacute;rum physiologique</li>\r\n
        \t<li>2 bandes de gaze 3m x 5cm</li>\r\n
        \t<li>2 bandes de gaze 3m x 7cm</li>\r\n
        \t<li>12 &eacute;pingles de s&ucirc;ret&eacute;</li>\r\n
        \t<li>1 cr&egrave;me Arnica coups et chocs</li>\r\n
        \t<li>1 sac de froid instantan&eacute; 10x10cm</li>\r\n
        \t<li>4 gants vinyle</li>\r\n
        \t<li>3 lingettes&nbsp;gel hydroalcoolique</li>\r\n
        \t<li>1 sparadrap microporeux 2.5cm x 5m</li>\r\n
        \t<li>1 coussin h&eacute;mostatique d&rsquo;urgence 10x10x3cm</li>\r\n
        \t<li>1 gel br&ucirc;lures spray 50ml</li>\r\n
        \t<li>10 compresses st&eacute;riles 5 x 5</li>\r\n
        \t<li>1 masque bouche &agrave; bouche</li>\r\n
        \t<li>1 manuel de 1ers secours</li>\r\n
        </ul>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr_FR"
      #translatable: App\Entity\Product\Product {#6847}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#6330 …}
}
same as passed value

Resolved Options

View Variables