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 {#15906
  -cart: App\Entity\Order\Order {#7903 …}
  -cartItem: App\Entity\Order\OrderItem {#15879
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#15709 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#15908 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#15909 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#15905 …}
  }
}
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 {#15906
  -cart: App\Entity\Order\Order {#7903 …}
  -cartItem: App\Entity\Order\OrderItem {#15879
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#15709 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#15908 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#15909 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#15905 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#6786
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6813 …}
  #channels: Doctrine\ORM\PersistentCollection {#6787 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6331 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6807 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6790 …}
  #id: 13
  #code: "defibrillateur-HS1"
  #attributes: Doctrine\ORM\PersistentCollection {#6796 …}
  #variants: Doctrine\ORM\PersistentCollection {#6798 …}
  #options: Doctrine\ORM\PersistentCollection {#6805 …}
  #associations: Doctrine\ORM\PersistentCollection {#6803 …}
  #createdAt: DateTime @1689772263 {#6784
    date: 2023-07-19 15:11:03.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1689772401 {#6783
    date: 2023-07-19 15:13:21.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6810 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#6811
      #shortDescription: """
        <p>Permet d&rsquo;agir rapidement gr&acirc;ce &agrave; sa simplicit&eacute; d&rsquo;utilisation.</p>\r\n
        \r\n
        <p style="text-align:justify">Le kit comprend:</p>\r\n
        \r\n
        <ul>\r\n
        \t<li style="text-align:justify">1 D&eacute;fibrillateur HS1 (DAE) Philips</li>\r\n
        \t<li style="text-align:justify">1 Malette de transport</li>\r\n
        \t<li style="text-align:justify">1 Paire d&#39;&eacute;lectrodes adulte et 1 batterie</li>\r\n
        \t<li style="text-align:justify">1 Manuel d&#39;utilisation</li>\r\n
        \t<li style="text-align:justify">1 lot de 4 autocollants de signalisation</li>\r\n
        </ul>
        """
      #id: 13
      #name: "Défibrillateur Heartstart HS1"
      #slug: "defibrillateur-heartstart-hs1"
      #description: """
        <ul>\r\n
        \t<li>Facile &agrave; utiliser par des personnes non form&eacute;es</li>\r\n
        \t<li>Pr&ecirc;t &agrave; l&#39;emploi, compact et tr&egrave;s l&eacute;ger (1.5 kg)</li>\r\n
        \t<li>Les instructions s&#39;adaptent aux gestes et &agrave; la vitesse du secouriste</li>\r\n
        \t<li>Assistance au massage cardiaque en temps r&eacute;el</li>\r\n
        \t<li>Permet la d&eacute;fibrillation sur une surface humide ou m&eacute;tallique</li>\r\n
        \t<li>Auto-tests :&nbsp;journaliers,&nbsp;hebdomadaires,&nbsp;mensuels</li>\r\n
        \t<li>Quick Shock : choc d&eacute;livr&eacute; en 8 secondes environ</li>\r\n
        \t<li>Garantie de 8 ans !</li>\r\n
        </ul>\r\n
        \r\n
        <p>&nbsp;</p>\r\n
        \r\n
        <p><strong>Simplicit&eacute; d&#39;utilisation du HS1</strong></p>\r\n
        \r\n
        <p>Les indications permettent d&#39;ouvrir et de placer les &eacute;lectrodes tr&egrave;s rapidement et sans complication.<br />\r\n
        Pas &agrave; pas, une voix calme vous guide dans toutes les &eacute;tapes de l&#39;intervention.<br />\r\n
        Il s&#39;adapte &agrave; la vitesse de l&#39;intervenant en r&eacute;p&eacute;tant s&#39;il constate que le rythme n&#39;est pas assez soutenu, ou bien rattrape l&#39;utilisateur dans le cas contraire. Une fois les &eacute;lectrodes positionn&eacute;es, le guide vocal assiste la R&eacute;animation Cardio-Pulmonaire (RCP) &agrave; l&#39;aide d&#39;un m&eacute;tronome qui donne la cadence &agrave; suivre pour le massage cardiaque.<br />\r\n
        Le&nbsp;<strong>d&eacute;fibrillateur</strong>&nbsp;est d&#39;abord un appareil qui analyse le rythme cardiaque de la victime. Il offre une s&eacute;curit&eacute; maximale &agrave; ses utilisateurs puisqu&#39;il sait d&eacute;terminer dans quels cas il doit d&eacute;livrer un choc.</p>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr_FR"
      #translatable: App\Entity\Product\Product {#6786}
    }
  ]
  #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