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 {#18083
  -cart: App\Entity\Order\Order {#8080 …}
  -cartItem: App\Entity\Order\OrderItem {#18056
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#17886 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#18085 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#18086 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#18082 …}
  }
}
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 {#18083
  -cart: App\Entity\Order\Order {#8080 …}
  -cartItem: App\Entity\Order\OrderItem {#18056
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#17886 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#18085 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#18086 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#18082 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#6876
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6900 …}
  #channels: Doctrine\ORM\PersistentCollection {#6877 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6845 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6894 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6880 …}
  #id: 45
  #code: "MED-BRONZE"
  #attributes: Doctrine\ORM\PersistentCollection {#6886 …}
  #variants: Doctrine\ORM\PersistentCollection {#6882 …}
  #options: Doctrine\ORM\PersistentCollection {#6892 …}
  #associations: Doctrine\ORM\PersistentCollection {#6890 …}
  #createdAt: DateTime @1690899478 {#6874
    date: 2023-08-01 16:17:58.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1690899478 {#6873
    date: 2023-08-01 16:17:58.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6897 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#6898
      #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 {#6876}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#6816 …}
}
same as passed value

Resolved Options

View Variables