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 {#19963
  -cart: App\Entity\Order\Order {#11054 …}
  -cartItem: App\Entity\Order\OrderItem {#19941
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#19965 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#19966 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7691
      #id: 7715
      #code: "koozie_55915"
      #product: App\Entity\Product\Product {#6869
        #id: 1323
        #code: "koozie_55915"
        #attributes: Doctrine\ORM\PersistentCollection {#7289 …}
        #variants: Doctrine\ORM\PersistentCollection {#7040 …}
        #options: Doctrine\ORM\PersistentCollection {#7390
          #collection: Doctrine\Common\Collections\ArrayCollection {#7343 …}
          #initialized: true
          -snapshot: [ …3]
          -owner: App\Entity\Product\Product {#6869}
          -association: [ …21]
          -em: Doctrine\ORM\EntityManager {#333 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#57887 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7327 …}
        #createdAt: DateTime @1686504650 {#6850
          date: 2023-06-11 17:30:50.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1754254156 {#6888
          date: 2025-08-03 20:49:16.0 UTC (+00:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#7550 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#7552
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#6869}
            #id: 1323
            #name: "Twist Highlighter-Pen Stylus Combo"
            #slug: "twist-highlighter-pen-stylus-combo-55915"
            #description: "<p>Our custom printed pen-highlighter-stylus combination is the ultimate multitasker's dream. With its sleek and modern design, this writing instrument is as stylish as it is functional. The pen features a smooth twist-action mechanism for effortless writing, while the built-in highlighter adds convenience for highlighting important notes or passages. On top of that, the integrated stylus allows for seamless navigation on touchscreens, making it perfect for digital devices. With our custom printing option, you can showcase your brand or logo on this versatile pen, making it a great promotional item or corporate gift. Stay organized and efficient with the pen-highlighter-stylus combination.</p>"
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: ""
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7144 …}
        #channels: Doctrine\ORM\PersistentCollection {#7118 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6893 …}
        #reviews: Doctrine\ORM\PersistentCollection {#7548 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#7160 …}
        -ean: null
        -minQuantity: 150
        -minPrice: 71126
        -maxPrice: 100355
        -markup: 40
        -onlyBreakpoints: false
        #files: Doctrine\ORM\PersistentCollection {#5079 …}
        #referenceableContent: Proxies\__CG__\Dedi\SyliusSEOPlugin\Entity\SEOContent {#7541 …}
        #SEOBrand: null
        #SEOGtin8: null
        #SEOGtin13: null
        #SEOGtin14: null
        #SEOMpn: null
        #SEOIsbn: null
        #SEOSku: null
        #SEOOfferAggregated: false
        #brand: Proxies\__CG__\App\Entity\Brand\Brand {#5155 …}
        #labels: Doctrine\ORM\PersistentCollection {#5082 …}
        #callouts: Doctrine\ORM\PersistentCollection {#5117 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7821 …}
      #position: 1
      #createdAt: DateTime @1686504650 {#7690
        date: 2023-06-11 17:30:50.0 UTC (+00:00)
      }
      #updatedAt: DateTime @1754254156 {#6858
        date: 2025-08-03 20:49:16.0 UTC (+00:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7787 …}
      #translationsCache: []
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 7
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 29.0
      #width: 11.875
      #height: 14.25
      #depth: 15.25
      #taxCategory: null
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7829 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7822 …}
      -packUnits: null
      -packLength: null
      -packWidth: null
      -packHeight: null
      -packWeight: null
      #tierPrices: Doctrine\ORM\PersistentCollection {#7699 …}
    }
    #productName: null
    #variantName: null
    -gift: false
    -note: null
    #files: Doctrine\Common\Collections\ArrayCollection {#19962 …}
    -filesUploaded: Doctrine\Common\Collections\ArrayCollection {#19960
      -elements: []
    }
  }
}
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 {#19963
  -cart: App\Entity\Order\Order {#11054 …}
  -cartItem: App\Entity\Order\OrderItem {#19941
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#19965 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#19966 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7691
      #id: 7715
      #code: "koozie_55915"
      #product: App\Entity\Product\Product {#6869
        #id: 1323
        #code: "koozie_55915"
        #attributes: Doctrine\ORM\PersistentCollection {#7289 …}
        #variants: Doctrine\ORM\PersistentCollection {#7040 …}
        #options: Doctrine\ORM\PersistentCollection {#7390
          #collection: Doctrine\Common\Collections\ArrayCollection {#7343 …}
          #initialized: true
          -snapshot: [ …3]
          -owner: App\Entity\Product\Product {#6869}
          -association: [ …21]
          -em: Doctrine\ORM\EntityManager {#333 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#57887 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7327 …}
        #createdAt: DateTime @1686504650 {#6850
          date: 2023-06-11 17:30:50.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1754254156 {#6888
          date: 2025-08-03 20:49:16.0 UTC (+00:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#7550 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#7552
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#6869}
            #id: 1323
            #name: "Twist Highlighter-Pen Stylus Combo"
            #slug: "twist-highlighter-pen-stylus-combo-55915"
            #description: "<p>Our custom printed pen-highlighter-stylus combination is the ultimate multitasker's dream. With its sleek and modern design, this writing instrument is as stylish as it is functional. The pen features a smooth twist-action mechanism for effortless writing, while the built-in highlighter adds convenience for highlighting important notes or passages. On top of that, the integrated stylus allows for seamless navigation on touchscreens, making it perfect for digital devices. With our custom printing option, you can showcase your brand or logo on this versatile pen, making it a great promotional item or corporate gift. Stay organized and efficient with the pen-highlighter-stylus combination.</p>"
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: ""
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7144 …}
        #channels: Doctrine\ORM\PersistentCollection {#7118 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6893 …}
        #reviews: Doctrine\ORM\PersistentCollection {#7548 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#7160 …}
        -ean: null
        -minQuantity: 150
        -minPrice: 71126
        -maxPrice: 100355
        -markup: 40
        -onlyBreakpoints: false
        #files: Doctrine\ORM\PersistentCollection {#5079 …}
        #referenceableContent: Proxies\__CG__\Dedi\SyliusSEOPlugin\Entity\SEOContent {#7541 …}
        #SEOBrand: null
        #SEOGtin8: null
        #SEOGtin13: null
        #SEOGtin14: null
        #SEOMpn: null
        #SEOIsbn: null
        #SEOSku: null
        #SEOOfferAggregated: false
        #brand: Proxies\__CG__\App\Entity\Brand\Brand {#5155 …}
        #labels: Doctrine\ORM\PersistentCollection {#5082 …}
        #callouts: Doctrine\ORM\PersistentCollection {#5117 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7821 …}
      #position: 1
      #createdAt: DateTime @1686504650 {#7690
        date: 2023-06-11 17:30:50.0 UTC (+00:00)
      }
      #updatedAt: DateTime @1754254156 {#6858
        date: 2025-08-03 20:49:16.0 UTC (+00:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7787 …}
      #translationsCache: []
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 7
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 29.0
      #width: 11.875
      #height: 14.25
      #depth: 15.25
      #taxCategory: null
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7829 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7822 …}
      -packUnits: null
      -packLength: null
      -packWidth: null
      -packHeight: null
      -packWeight: null
      #tierPrices: Doctrine\ORM\PersistentCollection {#7699 …}
    }
    #productName: null
    #variantName: null
    -gift: false
    -note: null
    #files: Doctrine\Common\Collections\ArrayCollection {#19962 …}
    -filesUploaded: Doctrine\Common\Collections\ArrayCollection {#19960
      -elements: []
    }
  }
}
same as passed value
product
App\Entity\Product\Product {#6869
  #id: 1323
  #code: "koozie_55915"
  #attributes: Doctrine\ORM\PersistentCollection {#7289 …}
  #variants: Doctrine\ORM\PersistentCollection {#7040 …}
  #options: Doctrine\ORM\PersistentCollection {#7390
    #collection: Doctrine\Common\Collections\ArrayCollection {#7343 …}
    #initialized: true
    -snapshot: [ …3]
    -owner: App\Entity\Product\Product {#6869}
    -association: [ …21]
    -em: Doctrine\ORM\EntityManager {#333 …}
    -backRefFieldName: null
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#57887 …}
    -isDirty: false
  }
  #associations: Doctrine\ORM\PersistentCollection {#7327 …}
  #createdAt: DateTime @1686504650 {#6850
    date: 2023-06-11 17:30:50.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1754254156 {#6888
    date: 2025-08-03 20:49:16.0 UTC (+00:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#7550 …}
  #translationsCache: [
    "en_US" => App\Entity\Product\ProductTranslation {#7552
      #locale: "en_US"
      #translatable: App\Entity\Product\Product {#6869}
      #id: 1323
      #name: "Twist Highlighter-Pen Stylus Combo"
      #slug: "twist-highlighter-pen-stylus-combo-55915"
      #description: "<p>Our custom printed pen-highlighter-stylus combination is the ultimate multitasker's dream. With its sleek and modern design, this writing instrument is as stylish as it is functional. The pen features a smooth twist-action mechanism for effortless writing, while the built-in highlighter adds convenience for highlighting important notes or passages. On top of that, the integrated stylus allows for seamless navigation on touchscreens, making it perfect for digital devices. With our custom printing option, you can showcase your brand or logo on this versatile pen, making it a great promotional item or corporate gift. Stay organized and efficient with the pen-highlighter-stylus combination.</p>"
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: ""
    }
  ]
  #currentLocale: "en_US"
  #currentTranslation: null
  #fallbackLocale: "en_US"
  #variantSelectionMethod: "match"
  #productTaxons: Doctrine\ORM\PersistentCollection {#7144 …}
  #channels: Doctrine\ORM\PersistentCollection {#7118 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6893 …}
  #reviews: Doctrine\ORM\PersistentCollection {#7548 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#7160 …}
  -ean: null
  -minQuantity: 150
  -minPrice: 71126
  -maxPrice: 100355
  -markup: 40
  -onlyBreakpoints: false
  #files: Doctrine\ORM\PersistentCollection {#5079 …}
  #referenceableContent: Proxies\__CG__\Dedi\SyliusSEOPlugin\Entity\SEOContent {#7541 …}
  #SEOBrand: null
  #SEOGtin8: null
  #SEOGtin13: null
  #SEOGtin14: null
  #SEOMpn: null
  #SEOIsbn: null
  #SEOSku: null
  #SEOOfferAggregated: false
  #brand: Proxies\__CG__\App\Entity\Brand\Brand {#5155 …}
  #labels: Doctrine\ORM\PersistentCollection {#5082 …}
  #callouts: Doctrine\ORM\PersistentCollection {#5117 …}
}
same as passed value

Resolved Options

View Variables