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 {#13751
  -cart: App\Entity\Order\Order {#8973 …}
  -cartItem: App\Entity\Order\OrderItem {#13729
    -cardSender: null
    -cardRecipientEmail: null
    -cardRecipientName: null
    -cardText: null
    -cardType: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6961
      -shortname: "(MIN. 150 GR)"
      -synapsCode: "125x0.150_WEB"
      #version: 5
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.15
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#7077 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7111 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7101 …}
      #id: 205
      #code: "125_1_16-EC"
      #product: App\Entity\Product\Product {#6298
        #giftCard: false
        -orderweight: 0
        -homepageweight: 0
        -datedispofrom: null
        -datedispoto: null
        -video: null
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6416 …}
        #channels: Doctrine\ORM\PersistentCollection {#6448 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6433 …}
        #reviews: Doctrine\ORM\PersistentCollection {#6933 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6434 …}
        #id: 103
        #code: "125"
        #attributes: Doctrine\ORM\PersistentCollection {#6574 …}
        #variants: Doctrine\ORM\PersistentCollection {#6631
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#6298}
          -association: [ …16]
          -em: Doctrine\ORM\EntityManager {#4275 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#60107 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#6701 …}
          #initialized: true
        }
        #options: Doctrine\ORM\PersistentCollection {#6780 …}
        #associations: Doctrine\ORM\PersistentCollection {#6740 …}
        #createdAt: DateTime @1626093034 {#6390
          date: 2021-07-12 14:30:34.0 Europe/Berlin (+02:00)
        }
        #updatedAt: DateTime @1626093034 {#6387
          date: 2021-07-12 14:30:34.0 Europe/Berlin (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6934 …}
        #translationsCache: [
          "fr" => App\Entity\Product\ProductTranslation {#6936
            -dispo_description: null
            #shortDescription: "Premier fromage reconnu Appellation Origine en 1925, le Roquefort est fondant, puissant et alléchant !"
            #id: 103
            #name: "ROQUEFORT SELECTION AOP"
            #slug: "roquefort-selection-aop"
            #description: "<p>N&eacute; selon la l&eacute;gende suite &agrave; une n&eacute;gligence &laquo; amoureuse &raquo; d&rsquo;un berger qui oublia fromage et pain de seigle dans une grotte du Combalou, retrouvant son fromage bleui mais savoureux, le Roquefort est surtout un fromage unique au monde ! Chaque pi&egrave;ce de Roquefort doit &ecirc;tre affin&eacute;e dans les caves de la montagne qui surplombe le village de Roquefort, parcourues de chemin&eacute;es appel&eacute;es fleurines qui permettent les mouvements d&rsquo;air et le d&eacute;veloppement d&rsquo;une microflore sp&eacute;cifique.</p>"
            #metaKeywords: "Roquefort Sélection AOP, fromage, bleu, brebis"
            #metaDescription: "Découvrez notre Roquefort Sélection AOP, un fromage unique au monde !"
            #locale: "fr"
            #translatable: App\Entity\Product\Product {#6298}
          }
        ]
        #currentLocale: "fr"
        #currentTranslation: null
        #fallbackLocale: "fr"
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7132 …}
      #position: 0
      #createdAt: DateTime @1626093034 {#6959
        date: 2021-07-12 14:30:34.0 Europe/Berlin (+02:00)
      }
      #updatedAt: DateTime @1689945572 {#6983
        date: 2023-07-21 15:19:32.0 Europe/Berlin (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7066 …}
      #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 {#13759 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13760 …}
    #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 {#13751
  -cart: App\Entity\Order\Order {#8973 …}
  -cartItem: App\Entity\Order\OrderItem {#13729
    -cardSender: null
    -cardRecipientEmail: null
    -cardRecipientName: null
    -cardText: null
    -cardType: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6961
      -shortname: "(MIN. 150 GR)"
      -synapsCode: "125x0.150_WEB"
      #version: 5
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.15
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#7077 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7111 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7101 …}
      #id: 205
      #code: "125_1_16-EC"
      #product: App\Entity\Product\Product {#6298
        #giftCard: false
        -orderweight: 0
        -homepageweight: 0
        -datedispofrom: null
        -datedispoto: null
        -video: null
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6416 …}
        #channels: Doctrine\ORM\PersistentCollection {#6448 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6433 …}
        #reviews: Doctrine\ORM\PersistentCollection {#6933 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6434 …}
        #id: 103
        #code: "125"
        #attributes: Doctrine\ORM\PersistentCollection {#6574 …}
        #variants: Doctrine\ORM\PersistentCollection {#6631
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#6298}
          -association: [ …16]
          -em: Doctrine\ORM\EntityManager {#4275 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#60107 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#6701 …}
          #initialized: true
        }
        #options: Doctrine\ORM\PersistentCollection {#6780 …}
        #associations: Doctrine\ORM\PersistentCollection {#6740 …}
        #createdAt: DateTime @1626093034 {#6390
          date: 2021-07-12 14:30:34.0 Europe/Berlin (+02:00)
        }
        #updatedAt: DateTime @1626093034 {#6387
          date: 2021-07-12 14:30:34.0 Europe/Berlin (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6934 …}
        #translationsCache: [
          "fr" => App\Entity\Product\ProductTranslation {#6936
            -dispo_description: null
            #shortDescription: "Premier fromage reconnu Appellation Origine en 1925, le Roquefort est fondant, puissant et alléchant !"
            #id: 103
            #name: "ROQUEFORT SELECTION AOP"
            #slug: "roquefort-selection-aop"
            #description: "<p>N&eacute; selon la l&eacute;gende suite &agrave; une n&eacute;gligence &laquo; amoureuse &raquo; d&rsquo;un berger qui oublia fromage et pain de seigle dans une grotte du Combalou, retrouvant son fromage bleui mais savoureux, le Roquefort est surtout un fromage unique au monde ! Chaque pi&egrave;ce de Roquefort doit &ecirc;tre affin&eacute;e dans les caves de la montagne qui surplombe le village de Roquefort, parcourues de chemin&eacute;es appel&eacute;es fleurines qui permettent les mouvements d&rsquo;air et le d&eacute;veloppement d&rsquo;une microflore sp&eacute;cifique.</p>"
            #metaKeywords: "Roquefort Sélection AOP, fromage, bleu, brebis"
            #metaDescription: "Découvrez notre Roquefort Sélection AOP, un fromage unique au monde !"
            #locale: "fr"
            #translatable: App\Entity\Product\Product {#6298}
          }
        ]
        #currentLocale: "fr"
        #currentTranslation: null
        #fallbackLocale: "fr"
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7132 …}
      #position: 0
      #createdAt: DateTime @1626093034 {#6959
        date: 2021-07-12 14:30:34.0 Europe/Berlin (+02:00)
      }
      #updatedAt: DateTime @1689945572 {#6983
        date: 2023-07-21 15:19:32.0 Europe/Berlin (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7066 …}
      #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 {#13759 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13760 …}
    #adjustmentsTotal: 0
  }
}
same as passed value
product
App\Entity\Product\Product {#6298
  #giftCard: false
  -orderweight: 0
  -homepageweight: 0
  -datedispofrom: null
  -datedispoto: null
  -video: null
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6416 …}
  #channels: Doctrine\ORM\PersistentCollection {#6448 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6433 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6933 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6434 …}
  #id: 103
  #code: "125"
  #attributes: Doctrine\ORM\PersistentCollection {#6574 …}
  #variants: Doctrine\ORM\PersistentCollection {#6631
    -snapshot: [ …4]
    -owner: App\Entity\Product\Product {#6298}
    -association: [ …16]
    -em: Doctrine\ORM\EntityManager {#4275 …}
    -backRefFieldName: "product"
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#60107 …}
    -isDirty: false
    #collection: Doctrine\Common\Collections\ArrayCollection {#6701 …}
    #initialized: true
  }
  #options: Doctrine\ORM\PersistentCollection {#6780 …}
  #associations: Doctrine\ORM\PersistentCollection {#6740 …}
  #createdAt: DateTime @1626093034 {#6390
    date: 2021-07-12 14:30:34.0 Europe/Berlin (+02:00)
  }
  #updatedAt: DateTime @1626093034 {#6387
    date: 2021-07-12 14:30:34.0 Europe/Berlin (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6934 …}
  #translationsCache: [
    "fr" => App\Entity\Product\ProductTranslation {#6936
      -dispo_description: null
      #shortDescription: "Premier fromage reconnu Appellation Origine en 1925, le Roquefort est fondant, puissant et alléchant !"
      #id: 103
      #name: "ROQUEFORT SELECTION AOP"
      #slug: "roquefort-selection-aop"
      #description: "<p>N&eacute; selon la l&eacute;gende suite &agrave; une n&eacute;gligence &laquo; amoureuse &raquo; d&rsquo;un berger qui oublia fromage et pain de seigle dans une grotte du Combalou, retrouvant son fromage bleui mais savoureux, le Roquefort est surtout un fromage unique au monde ! Chaque pi&egrave;ce de Roquefort doit &ecirc;tre affin&eacute;e dans les caves de la montagne qui surplombe le village de Roquefort, parcourues de chemin&eacute;es appel&eacute;es fleurines qui permettent les mouvements d&rsquo;air et le d&eacute;veloppement d&rsquo;une microflore sp&eacute;cifique.</p>"
      #metaKeywords: "Roquefort Sélection AOP, fromage, bleu, brebis"
      #metaDescription: "Découvrez notre Roquefort Sélection AOP, un fromage unique au monde !"
      #locale: "fr"
      #translatable: App\Entity\Product\Product {#6298}
    }
  ]
  #currentLocale: "fr"
  #currentTranslation: null
  #fallbackLocale: "fr"
}
same as passed value

Resolved Options

View Variables