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 {#16219
  -cart: App\Entity\Order\Order {#8108 …}
  -cartItem: App\Entity\Order\OrderItem {#16192
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#16022 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#16221 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#16222 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#16218 …}
  }
}
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 {#16219
  -cart: App\Entity\Order\Order {#8108 …}
  -cartItem: App\Entity\Order\OrderItem {#16192
    #vendor: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#16022 …}
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#16221 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#16222 …}
    #adjustmentsTotal: 0
    #productBundleOrderItems: Doctrine\Common\Collections\ArrayCollection {#16218 …}
  }
}
same as passed value
product
App\Entity\Product\Product {#6782
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6811 …}
  #channels: Doctrine\ORM\PersistentCollection {#6785 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6783 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6805 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6788 …}
  #id: 19
  #code: "8021"
  #attributes: Doctrine\ORM\PersistentCollection {#6794 …}
  #variants: Doctrine\ORM\PersistentCollection {#6796 …}
  #options: Doctrine\ORM\PersistentCollection {#6803 …}
  #associations: Doctrine\ORM\PersistentCollection {#6801 …}
  #createdAt: DateTime @1690360846 {#6780
    date: 2023-07-26 10:40:46.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1690360847 {#6779
    date: 2023-07-26 10:40:47.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6808 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#6809
      #shortDescription: """
        <ul>\r\n
        \t<li>Masque bouche &agrave; bouche avec &eacute;lastiques de fixation au niveau des oreilles</li>\r\n
        \t<li>Valve anti-retour</li>\r\n
        \t<li>Instructions d&rsquo;utilisation&nbsp;imprim&eacute;es sur le masque</li>\r\n
        </ul>
        """
      #id: 19
      #name: "Masque Ventilation"
      #slug: "masque-ventilation"
      #description: """
        <p>Le masque bouche &agrave; bouche est &agrave; usage unique, avec un &eacute;lastiques de fixation au niveau des oreilles.&nbsp;La valve anti-retour permet une insufflation efficace sans risque de contagion par la salive, le sang ou la peau.<br />\r\n
        <br />\r\n
        Le masque bouche &agrave; bouche avec soupape est id&eacute;al pour intervenir en cas de besoin. Il est tr&egrave;s appr&eacute;ci&eacute; de tous les professionnels et les personnes qui l&#39;utilisent lors de situation &agrave; risque.</p>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr_FR"
      #translatable: App\Entity\Product\Product {#6782}
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #productBundle: null
  #vendor: Proxies\__CG__\App\Entity\Vendor\Vendor {#6784 …}
}
same as passed value

Resolved Options

View Variables