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 {#13701
  -cart: App\Entity\Order\Order {#8956 …}
  -cartItem: App\Entity\Order\OrderItem {#13679
    -cardSender: null
    -cardRecipientEmail: null
    -cardRecipientName: null
    -cardText: null
    -cardType: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7006
      -shortname: "(MIN. 250GR)"
      -synapsCode: "145x0.250_WEB"
      #version: 4
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.25
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#7122 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7156 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7146 …}
      #id: 35
      #code: "145_1_8-EC"
      #product: App\Entity\Product\Product {#6346
        #giftCard: false
        -orderweight: 998
        -homepageweight: 0
        -datedispofrom: null
        -datedispoto: null
        -video: null
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6464 …}
        #channels: Doctrine\ORM\PersistentCollection {#6496 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6481 …}
        #reviews: Doctrine\ORM\PersistentCollection {#6981 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6482 …}
        #id: 21
        #code: "145"
        #attributes: Doctrine\ORM\PersistentCollection {#6622 …}
        #variants: Doctrine\ORM\PersistentCollection {#6679
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#6346}
          -association: [ …16]
          -em: Doctrine\ORM\EntityManager {#4275 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#70682 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#6749 …}
          #initialized: true
        }
        #options: Doctrine\ORM\PersistentCollection {#6828 …}
        #associations: Doctrine\ORM\PersistentCollection {#6788 …}
        #createdAt: DateTime @1626093016 {#6438
          date: 2021-07-12 14:30:16.0 Europe/Berlin (+02:00)
        }
        #updatedAt: DateTime @1693404759 {#6435
          date: 2023-08-30 16:12:39.0 Europe/Berlin (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6982 …}
        #translationsCache: [
          "fr" => App\Entity\Product\ProductTranslation {#6984
            -dispo_description: null
            #shortDescription: "Partez au coeur du parc des volcans d'Auvergne avec ce fromage à la forme originale et au goût suave !"
            #id: 21
            #name: "LAVORT BIO"
            #slug: "lavort"
            #description: "<p>Le Lavort est une cr&eacute;ation d&rsquo;un producteur du Massif Central, qui revenant d&rsquo;un voyage en Espagne a repris l&rsquo;id&eacute;e originale de la forme d&rsquo;un fromage ib&eacute;rique, le Queso de Tronchon. Sa forme de boulet aplati est d&rsquo;origine m&eacute;di&eacute;vale, comme les boulets de canon. L&rsquo;heureux hasard fait que cette forme &eacute;voque aussi le creux des volcans auvergnats. Le parrain de ce fromage n&rsquo;est autre que le c&eacute;l&egrave;bre chef roannais Pierre Troisgros, qui en a assur&eacute; la promotion dans le monde entier. Dor&eacute;navant il est produit par notre Laiterie de la C&ocirc;te Roannaise, avec du lait produit localement, cru et BIO. Le Lavort est affin&eacute; dans notre Tunnel de la Collonge pendant au moins 2 mois.&nbsp;</p>"
            #metaKeywords: "Lavort, fromage, brebis"
            #metaDescription: "Découvrez le Lavort et son goût suave !"
            #locale: "fr"
            #translatable: App\Entity\Product\Product {#6346}
          }
        ]
        #currentLocale: "fr"
        #currentTranslation: null
        #fallbackLocale: "fr"
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7177 …}
      #position: 0
      #createdAt: DateTime @1626093016 {#7003
        date: 2021-07-12 14:30:16.0 Europe/Berlin (+02:00)
      }
      #updatedAt: DateTime @1688993780 {#7028
        date: 2023-07-10 14:56:20.0 Europe/Berlin (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7111 …}
      #translationsCache: []
      #currentLocale: "fr"
      #currentTranslation: null
      #fallbackLocale: "fr"
    }
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13709 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13710 …}
    #adjustmentsTotal: 0
  }
}
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 {#13701
  -cart: App\Entity\Order\Order {#8956 …}
  -cartItem: App\Entity\Order\OrderItem {#13679
    -cardSender: null
    -cardRecipientEmail: null
    -cardRecipientName: null
    -cardText: null
    -cardType: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7006
      -shortname: "(MIN. 250GR)"
      -synapsCode: "145x0.250_WEB"
      #version: 4
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.25
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#7122 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7156 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7146 …}
      #id: 35
      #code: "145_1_8-EC"
      #product: App\Entity\Product\Product {#6346
        #giftCard: false
        -orderweight: 998
        -homepageweight: 0
        -datedispofrom: null
        -datedispoto: null
        -video: null
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6464 …}
        #channels: Doctrine\ORM\PersistentCollection {#6496 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6481 …}
        #reviews: Doctrine\ORM\PersistentCollection {#6981 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6482 …}
        #id: 21
        #code: "145"
        #attributes: Doctrine\ORM\PersistentCollection {#6622 …}
        #variants: Doctrine\ORM\PersistentCollection {#6679
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#6346}
          -association: [ …16]
          -em: Doctrine\ORM\EntityManager {#4275 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#70682 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#6749 …}
          #initialized: true
        }
        #options: Doctrine\ORM\PersistentCollection {#6828 …}
        #associations: Doctrine\ORM\PersistentCollection {#6788 …}
        #createdAt: DateTime @1626093016 {#6438
          date: 2021-07-12 14:30:16.0 Europe/Berlin (+02:00)
        }
        #updatedAt: DateTime @1693404759 {#6435
          date: 2023-08-30 16:12:39.0 Europe/Berlin (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6982 …}
        #translationsCache: [
          "fr" => App\Entity\Product\ProductTranslation {#6984
            -dispo_description: null
            #shortDescription: "Partez au coeur du parc des volcans d'Auvergne avec ce fromage à la forme originale et au goût suave !"
            #id: 21
            #name: "LAVORT BIO"
            #slug: "lavort"
            #description: "<p>Le Lavort est une cr&eacute;ation d&rsquo;un producteur du Massif Central, qui revenant d&rsquo;un voyage en Espagne a repris l&rsquo;id&eacute;e originale de la forme d&rsquo;un fromage ib&eacute;rique, le Queso de Tronchon. Sa forme de boulet aplati est d&rsquo;origine m&eacute;di&eacute;vale, comme les boulets de canon. L&rsquo;heureux hasard fait que cette forme &eacute;voque aussi le creux des volcans auvergnats. Le parrain de ce fromage n&rsquo;est autre que le c&eacute;l&egrave;bre chef roannais Pierre Troisgros, qui en a assur&eacute; la promotion dans le monde entier. Dor&eacute;navant il est produit par notre Laiterie de la C&ocirc;te Roannaise, avec du lait produit localement, cru et BIO. Le Lavort est affin&eacute; dans notre Tunnel de la Collonge pendant au moins 2 mois.&nbsp;</p>"
            #metaKeywords: "Lavort, fromage, brebis"
            #metaDescription: "Découvrez le Lavort et son goût suave !"
            #locale: "fr"
            #translatable: App\Entity\Product\Product {#6346}
          }
        ]
        #currentLocale: "fr"
        #currentTranslation: null
        #fallbackLocale: "fr"
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7177 …}
      #position: 0
      #createdAt: DateTime @1626093016 {#7003
        date: 2021-07-12 14:30:16.0 Europe/Berlin (+02:00)
      }
      #updatedAt: DateTime @1688993780 {#7028
        date: 2023-07-10 14:56:20.0 Europe/Berlin (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7111 …}
      #translationsCache: []
      #currentLocale: "fr"
      #currentTranslation: null
      #fallbackLocale: "fr"
    }
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13709 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13710 …}
    #adjustmentsTotal: 0
  }
}
same as passed value
product
App\Entity\Product\Product {#6346
  #giftCard: false
  -orderweight: 998
  -homepageweight: 0
  -datedispofrom: null
  -datedispoto: null
  -video: null
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6464 …}
  #channels: Doctrine\ORM\PersistentCollection {#6496 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6481 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6981 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6482 …}
  #id: 21
  #code: "145"
  #attributes: Doctrine\ORM\PersistentCollection {#6622 …}
  #variants: Doctrine\ORM\PersistentCollection {#6679
    -snapshot: [ …4]
    -owner: App\Entity\Product\Product {#6346}
    -association: [ …16]
    -em: Doctrine\ORM\EntityManager {#4275 …}
    -backRefFieldName: "product"
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#70682 …}
    -isDirty: false
    #collection: Doctrine\Common\Collections\ArrayCollection {#6749 …}
    #initialized: true
  }
  #options: Doctrine\ORM\PersistentCollection {#6828 …}
  #associations: Doctrine\ORM\PersistentCollection {#6788 …}
  #createdAt: DateTime @1626093016 {#6438
    date: 2021-07-12 14:30:16.0 Europe/Berlin (+02:00)
  }
  #updatedAt: DateTime @1693404759 {#6435
    date: 2023-08-30 16:12:39.0 Europe/Berlin (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6982 …}
  #translationsCache: [
    "fr" => App\Entity\Product\ProductTranslation {#6984
      -dispo_description: null
      #shortDescription: "Partez au coeur du parc des volcans d'Auvergne avec ce fromage à la forme originale et au goût suave !"
      #id: 21
      #name: "LAVORT BIO"
      #slug: "lavort"
      #description: "<p>Le Lavort est une cr&eacute;ation d&rsquo;un producteur du Massif Central, qui revenant d&rsquo;un voyage en Espagne a repris l&rsquo;id&eacute;e originale de la forme d&rsquo;un fromage ib&eacute;rique, le Queso de Tronchon. Sa forme de boulet aplati est d&rsquo;origine m&eacute;di&eacute;vale, comme les boulets de canon. L&rsquo;heureux hasard fait que cette forme &eacute;voque aussi le creux des volcans auvergnats. Le parrain de ce fromage n&rsquo;est autre que le c&eacute;l&egrave;bre chef roannais Pierre Troisgros, qui en a assur&eacute; la promotion dans le monde entier. Dor&eacute;navant il est produit par notre Laiterie de la C&ocirc;te Roannaise, avec du lait produit localement, cru et BIO. Le Lavort est affin&eacute; dans notre Tunnel de la Collonge pendant au moins 2 mois.&nbsp;</p>"
      #metaKeywords: "Lavort, fromage, brebis"
      #metaDescription: "Découvrez le Lavort et son goût suave !"
      #locale: "fr"
      #translatable: App\Entity\Product\Product {#6346}
    }
  ]
  #currentLocale: "fr"
  #currentTranslation: null
  #fallbackLocale: "fr"
}
same as passed value

Resolved Options

View Variables