Forms
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 {#20998 -cart: App\Entity\Order\Order {#11155 …} -cartItem: App\Entity\Order\OrderItem {#20976 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#21000 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#21001 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#7788 #id: 25800 #code: "cen_p4277_stock-white" #product: App\Entity\Product\Product {#6869 #id: 3724 #code: "stock_plain_sugar_sticks" #attributes: Doctrine\ORM\PersistentCollection {#7403 …} #variants: Doctrine\ORM\PersistentCollection {#7040 …} #options: Doctrine\ORM\PersistentCollection {#7504 #collection: Doctrine\Common\Collections\ArrayCollection {#7457 …} #initialized: true -snapshot: [ …1] -owner: App\Entity\Product\Product {#6869} -association: [ …21] -em: Doctrine\ORM\EntityManager {#333 …} -backRefFieldName: null -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#63126 …} -isDirty: false } #associations: Doctrine\ORM\PersistentCollection {#7441 …} #createdAt: DateTime @1718736913 {#6850 : 2024-06-18 18:55:13.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6888 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7664 …} #translationsCache: [ "en_US" => App\Entity\Product\ProductTranslation {#7666 #locale: "en_US" #translatable: App\Entity\Product\Product {#6869} #id: 3724 #name: "Plain Stock Sugar Packets, Sugar Sticks, Sugar Tubes" #slug: "stock-plain-sugar-sticks" #description: "<h2>Limited Stock </h2><p><br></p><p><span style="color: inherit;">Enhance your business with our plain sugar sticks/tubes, providing a practical alternative to custom-printed options. Maintain a clean and professional look without the need for additional branding.</span></p><p><strong style="color: inherit;">Product Details:</strong></p><p><strong style="color: inherit;">Contents:</strong><span style="color: inherit;"> Each single-use tube contains 1.0 gram of sugar.</span></p><p><strong style="color: inherit;">Varieties:</strong><span style="color: inherit;"> Available in multiple sweetener options:</span></p><ul><li><span style="color: inherit;"> Demerara Sugar (brown sugar stick packets)</span></li><li><span style="color: inherit;"> White Sugar (white sugar sticks/tubes)</span></li><li><span style="color: inherit;"> Pink Sweetener (pink sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Blue Sweetener (blue sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Green Sweetener (green sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Yellow Sweetener (yellow sugar substitute sticks/tubes)</span></li></ul><p><span style="color: inherit;">Our plain sugar sticks and tubes are designed to meet your business needs with simplicity and efficiency. Choose from a range of sweeteners to best suit your customers' preferences.</span></p>" #metaKeywords: "Plain sugar sticks, plain sugar tubes, single-use sugar tubes, Demerara sugar sticks, brown sugar stick packets, white sugar sticks, white sugar tubes, pink sweetener sticks, pink sugar sticks, blue sweetener sticks, blue sugar tubes, green sweetener sticks, green sugar tubes, yellow sweetener sticks, yellow sugar tubes, restaurant sugar sticks" #metaDescription: null #shortDescription: "" } ] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #variantSelectionMethod: "match" #productTaxons: Doctrine\ORM\PersistentCollection {#7258 …} #channels: Doctrine\ORM\PersistentCollection {#7232 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6893 …} #reviews: Doctrine\ORM\PersistentCollection {#7662 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#7274 …} -ean: null -minQuantity: 2000 -minPrice: 1600 -maxPrice: 6000 -markup: 10 -onlyBreakpoints: false #files: Doctrine\ORM\PersistentCollection {#7135 …} #referenceableContent: Proxies\__CG__\Dedi\SyliusSEOPlugin\Entity\SEOContent {#7655 …} #SEOBrand: null #SEOGtin8: null #SEOGtin13: null #SEOGtin14: null #SEOMpn: null #SEOIsbn: null #SEOSku: null #SEOOfferAggregated: false #brand: Proxies\__CG__\App\Entity\Brand\Brand {#7213 …} #labels: Doctrine\ORM\PersistentCollection {#7138 …} #callouts: Doctrine\ORM\PersistentCollection {#7172 …} } #optionValues: Doctrine\ORM\PersistentCollection {#7922 …} #position: 1 #createdAt: DateTime @1720718191 {#7773 : 2024-07-11 17:16:31.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6858 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7888 …} #translationsCache: [] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #version: 29 #onHold: 0 #onHand: 0 #tracked: false #weight: null #width: null #height: null #depth: null #taxCategory: null #shippingCategory: null #channelPricings: Doctrine\ORM\PersistentCollection {#7930 …} #shippingRequired: true #images: Doctrine\ORM\PersistentCollection {#7923 …} -packUnits: null -packLength: null -packWidth: null -packHeight: null -packWeight: null #tierPrices: Doctrine\ORM\PersistentCollection {#7800 …} } #productName: null #variantName: null -gift: false -note: null #files: Doctrine\Common\Collections\ArrayCollection {#20997 …} -filesUploaded: Doctrine\Common\Collections\ArrayCollection {#20995 -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 {#20998 -cart: App\Entity\Order\Order {#11155 …} -cartItem: App\Entity\Order\OrderItem {#20976 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#21000 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#21001 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#7788 #id: 25800 #code: "cen_p4277_stock-white" #product: App\Entity\Product\Product {#6869 #id: 3724 #code: "stock_plain_sugar_sticks" #attributes: Doctrine\ORM\PersistentCollection {#7403 …} #variants: Doctrine\ORM\PersistentCollection {#7040 …} #options: Doctrine\ORM\PersistentCollection {#7504 #collection: Doctrine\Common\Collections\ArrayCollection {#7457 …} #initialized: true -snapshot: [ …1] -owner: App\Entity\Product\Product {#6869} -association: [ …21] -em: Doctrine\ORM\EntityManager {#333 …} -backRefFieldName: null -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#63126 …} -isDirty: false } #associations: Doctrine\ORM\PersistentCollection {#7441 …} #createdAt: DateTime @1718736913 {#6850 : 2024-06-18 18:55:13.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6888 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7664 …} #translationsCache: [ "en_US" => App\Entity\Product\ProductTranslation {#7666 #locale: "en_US" #translatable: App\Entity\Product\Product {#6869} #id: 3724 #name: "Plain Stock Sugar Packets, Sugar Sticks, Sugar Tubes" #slug: "stock-plain-sugar-sticks" #description: "<h2>Limited Stock </h2><p><br></p><p><span style="color: inherit;">Enhance your business with our plain sugar sticks/tubes, providing a practical alternative to custom-printed options. Maintain a clean and professional look without the need for additional branding.</span></p><p><strong style="color: inherit;">Product Details:</strong></p><p><strong style="color: inherit;">Contents:</strong><span style="color: inherit;"> Each single-use tube contains 1.0 gram of sugar.</span></p><p><strong style="color: inherit;">Varieties:</strong><span style="color: inherit;"> Available in multiple sweetener options:</span></p><ul><li><span style="color: inherit;"> Demerara Sugar (brown sugar stick packets)</span></li><li><span style="color: inherit;"> White Sugar (white sugar sticks/tubes)</span></li><li><span style="color: inherit;"> Pink Sweetener (pink sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Blue Sweetener (blue sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Green Sweetener (green sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Yellow Sweetener (yellow sugar substitute sticks/tubes)</span></li></ul><p><span style="color: inherit;">Our plain sugar sticks and tubes are designed to meet your business needs with simplicity and efficiency. Choose from a range of sweeteners to best suit your customers' preferences.</span></p>" #metaKeywords: "Plain sugar sticks, plain sugar tubes, single-use sugar tubes, Demerara sugar sticks, brown sugar stick packets, white sugar sticks, white sugar tubes, pink sweetener sticks, pink sugar sticks, blue sweetener sticks, blue sugar tubes, green sweetener sticks, green sugar tubes, yellow sweetener sticks, yellow sugar tubes, restaurant sugar sticks" #metaDescription: null #shortDescription: "" } ] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #variantSelectionMethod: "match" #productTaxons: Doctrine\ORM\PersistentCollection {#7258 …} #channels: Doctrine\ORM\PersistentCollection {#7232 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6893 …} #reviews: Doctrine\ORM\PersistentCollection {#7662 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#7274 …} -ean: null -minQuantity: 2000 -minPrice: 1600 -maxPrice: 6000 -markup: 10 -onlyBreakpoints: false #files: Doctrine\ORM\PersistentCollection {#7135 …} #referenceableContent: Proxies\__CG__\Dedi\SyliusSEOPlugin\Entity\SEOContent {#7655 …} #SEOBrand: null #SEOGtin8: null #SEOGtin13: null #SEOGtin14: null #SEOMpn: null #SEOIsbn: null #SEOSku: null #SEOOfferAggregated: false #brand: Proxies\__CG__\App\Entity\Brand\Brand {#7213 …} #labels: Doctrine\ORM\PersistentCollection {#7138 …} #callouts: Doctrine\ORM\PersistentCollection {#7172 …} } #optionValues: Doctrine\ORM\PersistentCollection {#7922 …} #position: 1 #createdAt: DateTime @1720718191 {#7773 : 2024-07-11 17:16:31.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6858 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7888 …} #translationsCache: [] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #version: 29 #onHold: 0 #onHand: 0 #tracked: false #weight: null #width: null #height: null #depth: null #taxCategory: null #shippingCategory: null #channelPricings: Doctrine\ORM\PersistentCollection {#7930 …} #shippingRequired: true #images: Doctrine\ORM\PersistentCollection {#7923 …} -packUnits: null -packLength: null -packWidth: null -packHeight: null -packWeight: null #tierPrices: Doctrine\ORM\PersistentCollection {#7800 …} } #productName: null #variantName: null -gift: false -note: null #files: Doctrine\Common\Collections\ArrayCollection {#20997 …} -filesUploaded: Doctrine\Common\Collections\ArrayCollection {#20995 -elements: [] } } } |
same as passed value |
| product | App\Entity\Product\Product {#6869 #id: 3724 #code: "stock_plain_sugar_sticks" #attributes: Doctrine\ORM\PersistentCollection {#7403 …} #variants: Doctrine\ORM\PersistentCollection {#7040 …} #options: Doctrine\ORM\PersistentCollection {#7504 #collection: Doctrine\Common\Collections\ArrayCollection {#7457 …} #initialized: true -snapshot: [ …1] -owner: App\Entity\Product\Product {#6869} -association: [ …21] -em: Doctrine\ORM\EntityManager {#333 …} -backRefFieldName: null -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#63126 …} -isDirty: false } #associations: Doctrine\ORM\PersistentCollection {#7441 …} #createdAt: DateTime @1718736913 {#6850 : 2024-06-18 18:55:13.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6888 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7664 …} #translationsCache: [ "en_US" => App\Entity\Product\ProductTranslation {#7666 #locale: "en_US" #translatable: App\Entity\Product\Product {#6869} #id: 3724 #name: "Plain Stock Sugar Packets, Sugar Sticks, Sugar Tubes" #slug: "stock-plain-sugar-sticks" #description: "<h2>Limited Stock </h2><p><br></p><p><span style="color: inherit;">Enhance your business with our plain sugar sticks/tubes, providing a practical alternative to custom-printed options. Maintain a clean and professional look without the need for additional branding.</span></p><p><strong style="color: inherit;">Product Details:</strong></p><p><strong style="color: inherit;">Contents:</strong><span style="color: inherit;"> Each single-use tube contains 1.0 gram of sugar.</span></p><p><strong style="color: inherit;">Varieties:</strong><span style="color: inherit;"> Available in multiple sweetener options:</span></p><ul><li><span style="color: inherit;"> Demerara Sugar (brown sugar stick packets)</span></li><li><span style="color: inherit;"> White Sugar (white sugar sticks/tubes)</span></li><li><span style="color: inherit;"> Pink Sweetener (pink sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Blue Sweetener (blue sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Green Sweetener (green sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Yellow Sweetener (yellow sugar substitute sticks/tubes)</span></li></ul><p><span style="color: inherit;">Our plain sugar sticks and tubes are designed to meet your business needs with simplicity and efficiency. Choose from a range of sweeteners to best suit your customers' preferences.</span></p>" #metaKeywords: "Plain sugar sticks, plain sugar tubes, single-use sugar tubes, Demerara sugar sticks, brown sugar stick packets, white sugar sticks, white sugar tubes, pink sweetener sticks, pink sugar sticks, blue sweetener sticks, blue sugar tubes, green sweetener sticks, green sugar tubes, yellow sweetener sticks, yellow sugar tubes, restaurant sugar sticks" #metaDescription: null #shortDescription: "" } ] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #variantSelectionMethod: "match" #productTaxons: Doctrine\ORM\PersistentCollection {#7258 …} #channels: Doctrine\ORM\PersistentCollection {#7232 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6893 …} #reviews: Doctrine\ORM\PersistentCollection {#7662 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#7274 …} -ean: null -minQuantity: 2000 -minPrice: 1600 -maxPrice: 6000 -markup: 10 -onlyBreakpoints: false #files: Doctrine\ORM\PersistentCollection {#7135 …} #referenceableContent: Proxies\__CG__\Dedi\SyliusSEOPlugin\Entity\SEOContent {#7655 …} #SEOBrand: null #SEOGtin8: null #SEOGtin13: null #SEOGtin14: null #SEOMpn: null #SEOIsbn: null #SEOSku: null #SEOOfferAggregated: false #brand: Proxies\__CG__\App\Entity\Brand\Brand {#7213 …} #labels: Doctrine\ORM\PersistentCollection {#7138 …} #callouts: Doctrine\ORM\PersistentCollection {#7172 …} } |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | true |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#9662 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#9661 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#9664 …} -namespace: Closure() {#9677 …} } |
| data | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#20998 -cart: App\Entity\Order\Order {#11155 …} -cartItem: App\Entity\Order\OrderItem {#20976 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#21000 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#21001 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#7788 #id: 25800 #code: "cen_p4277_stock-white" #product: App\Entity\Product\Product {#6869 #id: 3724 #code: "stock_plain_sugar_sticks" #attributes: Doctrine\ORM\PersistentCollection {#7403 …} #variants: Doctrine\ORM\PersistentCollection {#7040 …} #options: Doctrine\ORM\PersistentCollection {#7504 #collection: Doctrine\Common\Collections\ArrayCollection {#7457 …} #initialized: true -snapshot: [ …1] -owner: App\Entity\Product\Product {#6869} -association: [ …21] -em: Doctrine\ORM\EntityManager {#333 …} -backRefFieldName: null -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#63126 …} -isDirty: false } #associations: Doctrine\ORM\PersistentCollection {#7441 …} #createdAt: DateTime @1718736913 {#6850 : 2024-06-18 18:55:13.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6888 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7664 …} #translationsCache: [ "en_US" => App\Entity\Product\ProductTranslation {#7666 #locale: "en_US" #translatable: App\Entity\Product\Product {#6869} #id: 3724 #name: "Plain Stock Sugar Packets, Sugar Sticks, Sugar Tubes" #slug: "stock-plain-sugar-sticks" #description: "<h2>Limited Stock </h2><p><br></p><p><span style="color: inherit;">Enhance your business with our plain sugar sticks/tubes, providing a practical alternative to custom-printed options. Maintain a clean and professional look without the need for additional branding.</span></p><p><strong style="color: inherit;">Product Details:</strong></p><p><strong style="color: inherit;">Contents:</strong><span style="color: inherit;"> Each single-use tube contains 1.0 gram of sugar.</span></p><p><strong style="color: inherit;">Varieties:</strong><span style="color: inherit;"> Available in multiple sweetener options:</span></p><ul><li><span style="color: inherit;"> Demerara Sugar (brown sugar stick packets)</span></li><li><span style="color: inherit;"> White Sugar (white sugar sticks/tubes)</span></li><li><span style="color: inherit;"> Pink Sweetener (pink sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Blue Sweetener (blue sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Green Sweetener (green sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Yellow Sweetener (yellow sugar substitute sticks/tubes)</span></li></ul><p><span style="color: inherit;">Our plain sugar sticks and tubes are designed to meet your business needs with simplicity and efficiency. Choose from a range of sweeteners to best suit your customers' preferences.</span></p>" #metaKeywords: "Plain sugar sticks, plain sugar tubes, single-use sugar tubes, Demerara sugar sticks, brown sugar stick packets, white sugar sticks, white sugar tubes, pink sweetener sticks, pink sugar sticks, blue sweetener sticks, blue sugar tubes, green sweetener sticks, green sugar tubes, yellow sweetener sticks, yellow sugar tubes, restaurant sugar sticks" #metaDescription: null #shortDescription: "" } ] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #variantSelectionMethod: "match" #productTaxons: Doctrine\ORM\PersistentCollection {#7258 …} #channels: Doctrine\ORM\PersistentCollection {#7232 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6893 …} #reviews: Doctrine\ORM\PersistentCollection {#7662 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#7274 …} -ean: null -minQuantity: 2000 -minPrice: 1600 -maxPrice: 6000 -markup: 10 -onlyBreakpoints: false #files: Doctrine\ORM\PersistentCollection {#7135 …} #referenceableContent: Proxies\__CG__\Dedi\SyliusSEOPlugin\Entity\SEOContent {#7655 …} #SEOBrand: null #SEOGtin8: null #SEOGtin13: null #SEOGtin14: null #SEOMpn: null #SEOIsbn: null #SEOSku: null #SEOOfferAggregated: false #brand: Proxies\__CG__\App\Entity\Brand\Brand {#7213 …} #labels: Doctrine\ORM\PersistentCollection {#7138 …} #callouts: Doctrine\ORM\PersistentCollection {#7172 …} } #optionValues: Doctrine\ORM\PersistentCollection {#7922 …} #position: 1 #createdAt: DateTime @1720718191 {#7773 : 2024-07-11 17:16:31.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6858 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7888 …} #translationsCache: [] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #version: 29 #onHold: 0 #onHand: 0 #tracked: false #weight: null #width: null #height: null #depth: null #taxCategory: null #shippingCategory: null #channelPricings: Doctrine\ORM\PersistentCollection {#7930 …} #shippingRequired: true #images: Doctrine\ORM\PersistentCollection {#7923 …} -packUnits: null -packLength: null -packWidth: null -packHeight: null -packWeight: null #tierPrices: Doctrine\ORM\PersistentCollection {#7800 …} } #productName: null #variantName: null -gift: false -note: null #files: Doctrine\Common\Collections\ArrayCollection {#20997 …} -filesUploaded: Doctrine\Common\Collections\ArrayCollection {#20995 -elements: [] } } } |
| data_class | "Sylius\Bundle\OrderBundle\Controller\AddToCartCommand" |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#21017 : "Symfony\Component\Form\Extension\Core\Type\FormType" : Symfony\Component\Form\Extension\Core\Type\FormType {#20996 …} : { : "Sylius\Bundle\OrderBundle\Controller\AddToCartCommand" } } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| legacy_error_messages | true |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| product | App\Entity\Product\Product {#6869 #id: 3724 #code: "stock_plain_sugar_sticks" #attributes: Doctrine\ORM\PersistentCollection {#7403 …} #variants: Doctrine\ORM\PersistentCollection {#7040 …} #options: Doctrine\ORM\PersistentCollection {#7504 #collection: Doctrine\Common\Collections\ArrayCollection {#7457 …} #initialized: true -snapshot: [ …1] -owner: App\Entity\Product\Product {#6869} -association: [ …21] -em: Doctrine\ORM\EntityManager {#333 …} -backRefFieldName: null -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#63126 …} -isDirty: false } #associations: Doctrine\ORM\PersistentCollection {#7441 …} #createdAt: DateTime @1718736913 {#6850 : 2024-06-18 18:55:13.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6888 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7664 …} #translationsCache: [ "en_US" => App\Entity\Product\ProductTranslation {#7666 #locale: "en_US" #translatable: App\Entity\Product\Product {#6869} #id: 3724 #name: "Plain Stock Sugar Packets, Sugar Sticks, Sugar Tubes" #slug: "stock-plain-sugar-sticks" #description: "<h2>Limited Stock </h2><p><br></p><p><span style="color: inherit;">Enhance your business with our plain sugar sticks/tubes, providing a practical alternative to custom-printed options. Maintain a clean and professional look without the need for additional branding.</span></p><p><strong style="color: inherit;">Product Details:</strong></p><p><strong style="color: inherit;">Contents:</strong><span style="color: inherit;"> Each single-use tube contains 1.0 gram of sugar.</span></p><p><strong style="color: inherit;">Varieties:</strong><span style="color: inherit;"> Available in multiple sweetener options:</span></p><ul><li><span style="color: inherit;"> Demerara Sugar (brown sugar stick packets)</span></li><li><span style="color: inherit;"> White Sugar (white sugar sticks/tubes)</span></li><li><span style="color: inherit;"> Pink Sweetener (pink sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Blue Sweetener (blue sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Green Sweetener (green sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Yellow Sweetener (yellow sugar substitute sticks/tubes)</span></li></ul><p><span style="color: inherit;">Our plain sugar sticks and tubes are designed to meet your business needs with simplicity and efficiency. Choose from a range of sweeteners to best suit your customers' preferences.</span></p>" #metaKeywords: "Plain sugar sticks, plain sugar tubes, single-use sugar tubes, Demerara sugar sticks, brown sugar stick packets, white sugar sticks, white sugar tubes, pink sweetener sticks, pink sugar sticks, blue sweetener sticks, blue sugar tubes, green sweetener sticks, green sugar tubes, yellow sweetener sticks, yellow sugar tubes, restaurant sugar sticks" #metaDescription: null #shortDescription: "" } ] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #variantSelectionMethod: "match" #productTaxons: Doctrine\ORM\PersistentCollection {#7258 …} #channels: Doctrine\ORM\PersistentCollection {#7232 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6893 …} #reviews: Doctrine\ORM\PersistentCollection {#7662 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#7274 …} -ean: null -minQuantity: 2000 -minPrice: 1600 -maxPrice: 6000 -markup: 10 -onlyBreakpoints: false #files: Doctrine\ORM\PersistentCollection {#7135 …} #referenceableContent: Proxies\__CG__\Dedi\SyliusSEOPlugin\Entity\SEOContent {#7655 …} #SEOBrand: null #SEOGtin8: null #SEOGtin13: null #SEOGtin14: null #SEOMpn: null #SEOIsbn: null #SEOSku: null #SEOOfferAggregated: false #brand: Proxies\__CG__\App\Entity\Brand\Brand {#7213 …} #labels: Doctrine\ORM\PersistentCollection {#7138 …} #callouts: Doctrine\ORM\PersistentCollection {#7172 …} } |
| property_path | null |
| required | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#21019 : "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" : Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension {#20980 …} : { : Symfony\Component\Translation\DataCollectorTranslator {#2615 …} : "validators" : Closure() {#21018 …} } } |
| validation_groups | [
"sylius"
] |
View Variables
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "sylius_add_to_cart" "_sylius_add_to_cart" ] |
| cache_key | "_sylius_add_to_cart_sylius_add_to_cart" |
| compound | true |
| data | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#20998 -cart: App\Entity\Order\Order {#11155 …} -cartItem: App\Entity\Order\OrderItem {#20976 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#21000 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#21001 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#7788 #id: 25800 #code: "cen_p4277_stock-white" #product: App\Entity\Product\Product {#6869 #id: 3724 #code: "stock_plain_sugar_sticks" #attributes: Doctrine\ORM\PersistentCollection {#7403 …} #variants: Doctrine\ORM\PersistentCollection {#7040 …} #options: Doctrine\ORM\PersistentCollection {#7504 #collection: Doctrine\Common\Collections\ArrayCollection {#7457 …} #initialized: true -snapshot: [ …1] -owner: App\Entity\Product\Product {#6869} -association: [ …21] -em: Doctrine\ORM\EntityManager {#333 …} -backRefFieldName: null -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#63126 …} -isDirty: false } #associations: Doctrine\ORM\PersistentCollection {#7441 …} #createdAt: DateTime @1718736913 {#6850 : 2024-06-18 18:55:13.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6888 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7664 …} #translationsCache: [ "en_US" => App\Entity\Product\ProductTranslation {#7666 #locale: "en_US" #translatable: App\Entity\Product\Product {#6869} #id: 3724 #name: "Plain Stock Sugar Packets, Sugar Sticks, Sugar Tubes" #slug: "stock-plain-sugar-sticks" #description: "<h2>Limited Stock </h2><p><br></p><p><span style="color: inherit;">Enhance your business with our plain sugar sticks/tubes, providing a practical alternative to custom-printed options. Maintain a clean and professional look without the need for additional branding.</span></p><p><strong style="color: inherit;">Product Details:</strong></p><p><strong style="color: inherit;">Contents:</strong><span style="color: inherit;"> Each single-use tube contains 1.0 gram of sugar.</span></p><p><strong style="color: inherit;">Varieties:</strong><span style="color: inherit;"> Available in multiple sweetener options:</span></p><ul><li><span style="color: inherit;"> Demerara Sugar (brown sugar stick packets)</span></li><li><span style="color: inherit;"> White Sugar (white sugar sticks/tubes)</span></li><li><span style="color: inherit;"> Pink Sweetener (pink sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Blue Sweetener (blue sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Green Sweetener (green sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Yellow Sweetener (yellow sugar substitute sticks/tubes)</span></li></ul><p><span style="color: inherit;">Our plain sugar sticks and tubes are designed to meet your business needs with simplicity and efficiency. Choose from a range of sweeteners to best suit your customers' preferences.</span></p>" #metaKeywords: "Plain sugar sticks, plain sugar tubes, single-use sugar tubes, Demerara sugar sticks, brown sugar stick packets, white sugar sticks, white sugar tubes, pink sweetener sticks, pink sugar sticks, blue sweetener sticks, blue sugar tubes, green sweetener sticks, green sugar tubes, yellow sweetener sticks, yellow sugar tubes, restaurant sugar sticks" #metaDescription: null #shortDescription: "" } ] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #variantSelectionMethod: "match" #productTaxons: Doctrine\ORM\PersistentCollection {#7258 …} #channels: Doctrine\ORM\PersistentCollection {#7232 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6893 …} #reviews: Doctrine\ORM\PersistentCollection {#7662 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#7274 …} -ean: null -minQuantity: 2000 -minPrice: 1600 -maxPrice: 6000 -markup: 10 -onlyBreakpoints: false #files: Doctrine\ORM\PersistentCollection {#7135 …} #referenceableContent: Proxies\__CG__\Dedi\SyliusSEOPlugin\Entity\SEOContent {#7655 …} #SEOBrand: null #SEOGtin8: null #SEOGtin13: null #SEOGtin14: null #SEOMpn: null #SEOIsbn: null #SEOSku: null #SEOOfferAggregated: false #brand: Proxies\__CG__\App\Entity\Brand\Brand {#7213 …} #labels: Doctrine\ORM\PersistentCollection {#7138 …} #callouts: Doctrine\ORM\PersistentCollection {#7172 …} } #optionValues: Doctrine\ORM\PersistentCollection {#7922 …} #position: 1 #createdAt: DateTime @1720718191 {#7773 : 2024-07-11 17:16:31.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6858 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7888 …} #translationsCache: [] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #version: 29 #onHold: 0 #onHand: 0 #tracked: false #weight: null #width: null #height: null #depth: null #taxCategory: null #shippingCategory: null #channelPricings: Doctrine\ORM\PersistentCollection {#7930 …} #shippingRequired: true #images: Doctrine\ORM\PersistentCollection {#7923 …} -packUnits: null -packLength: null -packWidth: null -packHeight: null -packWeight: null #tierPrices: Doctrine\ORM\PersistentCollection {#7800 …} } #productName: null #variantName: null -gift: false -note: null #files: Doctrine\Common\Collections\ArrayCollection {#20997 …} -filesUploaded: Doctrine\Common\Collections\ArrayCollection {#20995 -elements: [] } } } |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#21038 -form: Symfony\Component\Form\Form {#21044 …} -errors: [] } |
| form | Symfony\Component\Form\FormView {#21020 …5} |
| full_name | "sylius_add_to_cart" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_add_to_cart" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | true |
| name | "sylius_add_to_cart" |
| priority | 0 |
| required | true |
| row_attr | [] |
| size | null |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_add_to_cart" |
| valid | true |
| value | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#20998 -cart: App\Entity\Order\Order {#11155 …} -cartItem: App\Entity\Order\OrderItem {#20976 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#21000 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#21001 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#7788 #id: 25800 #code: "cen_p4277_stock-white" #product: App\Entity\Product\Product {#6869 #id: 3724 #code: "stock_plain_sugar_sticks" #attributes: Doctrine\ORM\PersistentCollection {#7403 …} #variants: Doctrine\ORM\PersistentCollection {#7040 …} #options: Doctrine\ORM\PersistentCollection {#7504 #collection: Doctrine\Common\Collections\ArrayCollection {#7457 …} #initialized: true -snapshot: [ …1] -owner: App\Entity\Product\Product {#6869} -association: [ …21] -em: Doctrine\ORM\EntityManager {#333 …} -backRefFieldName: null -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#63126 …} -isDirty: false } #associations: Doctrine\ORM\PersistentCollection {#7441 …} #createdAt: DateTime @1718736913 {#6850 : 2024-06-18 18:55:13.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6888 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7664 …} #translationsCache: [ "en_US" => App\Entity\Product\ProductTranslation {#7666 #locale: "en_US" #translatable: App\Entity\Product\Product {#6869} #id: 3724 #name: "Plain Stock Sugar Packets, Sugar Sticks, Sugar Tubes" #slug: "stock-plain-sugar-sticks" #description: "<h2>Limited Stock </h2><p><br></p><p><span style="color: inherit;">Enhance your business with our plain sugar sticks/tubes, providing a practical alternative to custom-printed options. Maintain a clean and professional look without the need for additional branding.</span></p><p><strong style="color: inherit;">Product Details:</strong></p><p><strong style="color: inherit;">Contents:</strong><span style="color: inherit;"> Each single-use tube contains 1.0 gram of sugar.</span></p><p><strong style="color: inherit;">Varieties:</strong><span style="color: inherit;"> Available in multiple sweetener options:</span></p><ul><li><span style="color: inherit;"> Demerara Sugar (brown sugar stick packets)</span></li><li><span style="color: inherit;"> White Sugar (white sugar sticks/tubes)</span></li><li><span style="color: inherit;"> Pink Sweetener (pink sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Blue Sweetener (blue sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Green Sweetener (green sugar substitute sticks/tubes)</span></li><li><span style="color: inherit;"> Yellow Sweetener (yellow sugar substitute sticks/tubes)</span></li></ul><p><span style="color: inherit;">Our plain sugar sticks and tubes are designed to meet your business needs with simplicity and efficiency. Choose from a range of sweeteners to best suit your customers' preferences.</span></p>" #metaKeywords: "Plain sugar sticks, plain sugar tubes, single-use sugar tubes, Demerara sugar sticks, brown sugar stick packets, white sugar sticks, white sugar tubes, pink sweetener sticks, pink sugar sticks, blue sweetener sticks, blue sugar tubes, green sweetener sticks, green sugar tubes, yellow sweetener sticks, yellow sugar tubes, restaurant sugar sticks" #metaDescription: null #shortDescription: "" } ] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #variantSelectionMethod: "match" #productTaxons: Doctrine\ORM\PersistentCollection {#7258 …} #channels: Doctrine\ORM\PersistentCollection {#7232 …} #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6893 …} #reviews: Doctrine\ORM\PersistentCollection {#7662 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#7274 …} -ean: null -minQuantity: 2000 -minPrice: 1600 -maxPrice: 6000 -markup: 10 -onlyBreakpoints: false #files: Doctrine\ORM\PersistentCollection {#7135 …} #referenceableContent: Proxies\__CG__\Dedi\SyliusSEOPlugin\Entity\SEOContent {#7655 …} #SEOBrand: null #SEOGtin8: null #SEOGtin13: null #SEOGtin14: null #SEOMpn: null #SEOIsbn: null #SEOSku: null #SEOOfferAggregated: false #brand: Proxies\__CG__\App\Entity\Brand\Brand {#7213 …} #labels: Doctrine\ORM\PersistentCollection {#7138 …} #callouts: Doctrine\ORM\PersistentCollection {#7172 …} } #optionValues: Doctrine\ORM\PersistentCollection {#7922 …} #position: 1 #createdAt: DateTime @1720718191 {#7773 : 2024-07-11 17:16:31.0 UTC (+00:00) } #updatedAt: DateTime @1758217258 {#6858 : 2025-09-18 17:40:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#7888 …} #translationsCache: [] #currentLocale: "en_US" #currentTranslation: null #fallbackLocale: "en_US" #version: 29 #onHold: 0 #onHand: 0 #tracked: false #weight: null #width: null #height: null #depth: null #taxCategory: null #shippingCategory: null #channelPricings: Doctrine\ORM\PersistentCollection {#7930 …} #shippingRequired: true #images: Doctrine\ORM\PersistentCollection {#7923 …} -packUnits: null -packLength: null -packWidth: null -packHeight: null -packWeight: null #tierPrices: Doctrine\ORM\PersistentCollection {#7800 …} } #productName: null #variantName: null -gift: false -note: null #files: Doctrine\Common\Collections\ArrayCollection {#20997 …} -filesUploaded: Doctrine\Common\Collections\ArrayCollection {#20995 -elements: [] } } } |