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 {#16056
  -cart: App\Entity\Order\Order {#7982 …}
  -cartItem: App\Entity\Order\OrderItem {#16029
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#15859 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#16058 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#16059 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#16055 …}
  }
}
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 {#16056
  -cart: App\Entity\Order\Order {#7982 …}
  -cartItem: App\Entity\Order\OrderItem {#16029
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#15859 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#16058 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#16059 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#16055 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#6781
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6808 …}
  #channels: Doctrine\ORM\PersistentCollection {#6782 …}
  #mainTaxon: App\Entity\Taxonomy\Taxon {#6113 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6802 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6785 …}
  #id: 46
  #code: "MED-ARGENT"
  #attributes: Doctrine\ORM\PersistentCollection {#6791 …}
  #variants: Doctrine\ORM\PersistentCollection {#6793 …}
  #options: Doctrine\ORM\PersistentCollection {#6800 …}
  #associations: Doctrine\ORM\PersistentCollection {#6798 …}
  #createdAt: DateTime @1690899662 {#6779
    date: 2023-08-01 16:21:02.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1691144387 {#6780
    date: 2023-08-04 12:19:47.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6805 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#6806
      #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;, argent</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 argent</li>\r\n
        </ul>
        """
      #id: 46
      #name: "Médaille FNTV - Argent"
      #slug: "medaille-fntv-argent"
      #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; 20 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;, argent</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 {#6781}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#6238 …}
}
same as passed value

Resolved Options

View Variables