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 {#18037
  -cart: App\Entity\Order\Order {#8080 …}
  -cartItem: App\Entity\Order\OrderItem {#18010
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#17840 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#18039 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#18040 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#18036 …}
  }
}
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 {#18037
  -cart: App\Entity\Order\Order {#8080 …}
  -cartItem: App\Entity\Order\OrderItem {#18010
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#17840 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#18039 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#18040 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#18036 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#6875
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6899 …}
  #channels: Doctrine\ORM\PersistentCollection {#6876 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6782 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6893 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6879 …}
  #id: 45
  #code: "MED-BRONZE"
  #attributes: Doctrine\ORM\PersistentCollection {#6885 …}
  #variants: Doctrine\ORM\PersistentCollection {#6881 …}
  #options: Doctrine\ORM\PersistentCollection {#6891 …}
  #associations: Doctrine\ORM\PersistentCollection {#6889 …}
  #createdAt: DateTime @1690899478 {#6873
    date: 2023-08-01 16:17:58.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1690899478 {#6872
    date: 2023-08-01 16:17:58.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6896 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#6897
      #shortDescription: """
        <p style="text-align:center"><strong>Pour toute demande de m&eacute;dailles, merci de t&eacute;l&eacute;charger, remplir, signer et nous renvoyer le&nbsp;<a href="http://fntv-services.com/img/cms/formulaires-medailles%20procedure.pdf" target="_blank"><span style="color:#c0392b">formulaire</span></a>&nbsp;de demande de m&eacute;daille</strong></p>\r\n
        \r\n
        <p>M&eacute;daille en m&eacute;tal estamp&eacute;, bronze</p>\r\n
        \r\n
        <ul>\r\n
        \t<li>Diam&egrave;tre 60mm</li>\r\n
        \t<li>Epaisseur 5mm</li>\r\n
        \t<li>Finition bronze</li>\r\n
        </ul>
        """
      #id: 45
      #name: "Médaille FNTV - Bronze"
      #slug: "medaille-fntv-bronze"
      #description: """
        <p style="text-align:center"><strong>Pour toute demande de m&eacute;dailles, merci de t&eacute;l&eacute;charger, remplir, signer et nous renvoyer le&nbsp;<a href="http://fntv-services.com/img/cms/formulaires-medailles%20procedure.pdf" target="_blank"><span style="color:#c0392b">formulaire</span></a>&nbsp;de demande de m&eacute;daille</strong></p>\r\n
        \r\n
        <p>Elle est attribu&eacute;e au salari&eacute; ayant travaill&eacute; 10 ans sans interruption dans la profession.</p>\r\n
        \r\n
        <ul>\r\n
        \t<li>M&eacute;daille en m&eacute;tal estamp&eacute;, bronze</li>\r\n
        \t<li>Pr&eacute;sentation en boite cadeau bleue</li>\r\n
        \t<li>Chevalet plastic de pr&eacute;sentation</li>\r\n
        \t<li>Dipl&ocirc;me au nom de l&rsquo;adh&eacute;rent</li>\r\n
        </ul>\r\n
        \r\n
        <p>Pr&eacute;voir&nbsp;6 semaines de d&eacute;lais</p>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr_FR"
      #translatable: App\Entity\Product\Product {#6875}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#6322 …}
}
same as passed value

Resolved Options

View Variables