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 {#17622
  -cart: App\Entity\Order\Order {#7977 …}
  -cartItem: App\Entity\Order\OrderItem {#17606
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6043 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#17615 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#17614 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#17620 …}
  }
}
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 {#17622
  -cart: App\Entity\Order\Order {#7977 …}
  -cartItem: App\Entity\Order\OrderItem {#17606
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6043 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#17615 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#17614 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#17620 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#6040
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6154 …}
  #channels: Doctrine\ORM\PersistentCollection {#6169 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6150 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6662 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6174 …}
  #id: 53
  #code: "P250-BOXM"
  #attributes: Doctrine\ORM\PersistentCollection {#6319 …}
  #variants: Doctrine\ORM\PersistentCollection {#6372 …}
  #options: Doctrine\ORM\PersistentCollection {#6515 …}
  #associations: Doctrine\ORM\PersistentCollection {#6475 …}
  #createdAt: DateTime @1690967749 {#6107
    date: 2023-08-02 11:15:49.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1690967750 {#6104
    date: 2023-08-02 11:15:50.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6663 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#6665
      #shortDescription: "<p>Pictogramme lumineux de transport d&rsquo;enfants avec store manuel.</p>"
      #id: 53
      #name: "P250.BOXM - Pictogramme lumineux de transport d’enfants avec store manuel"
      #slug: "p250-boxm"
      #description: """
        <p><strong>Caract&eacute;ristiques :</strong></p>\r\n
        \r\n
        <ul>\r\n
        \t<li>LED forte puissance, grand angle (60&deg;)</li>\r\n
        \t<li>Pictogramme avant (250mm x 250mm x 10mm) &eacute;clair&eacute; par 40 LED</li>\r\n
        \t<li>Pictogramme occultable</li>\r\n
        \t<li>Mont&eacute;e et descente du rideau manuelle gr&acirc;ce &agrave; une vis molet&eacute;e</li>\r\n
        \t<li>12/24V</li>\r\n
        </ul>\r\n
        \r\n
        <p><strong>Mode de fixation :</strong><br />\r\n
        A suspendre</p>\r\n
        \r\n
        <p><strong>Exemple d&#39;application :</strong><br />\r\n
        Cars, bus et v&eacute;hicules professionnels du transport de voyageur</p>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr_FR"
      #translatable: App\Entity\Product\Product {#6040}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#6151 …}
}
same as passed value

Resolved Options

View Variables