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 {#21137
  -cart: App\Entity\Order\Order {#11295 …}
  -cartItem: App\Entity\Order\OrderItem {#21115
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#21139 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#21140 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7832
      #id: 13
      #code: "pantone1_p13c2"
      #product: App\Entity\Product\Product {#6869
        #id: 3
        #code: "aspartame_sweetener_sticks_13"
        #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 {#68953 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7327 …}
        #createdAt: DateTime @1649100435 {#6850
          date: 2022-04-04 19:27:15.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1755636103 {#6888
          date: 2025-08-19 20:41:43.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: 3
            #name: "Custom Printed Blue Aspartame Sweetener Sticks"
            #slug: "printed-blue-sugar-sticks-tubes"
            #description: "<h3>Custom Printed Blue Aspartame Sugar Sticks, Sachets, and Tubes</h3><p><strong>Sweeten Your Brand with Custom Sugar Sticks!</strong></p><p><strong>Transform your everyday sugar packets into powerful branding tools with our custom-printed blue aspartame sugar sticks. Made with premium artificial aspartame sweetener, each tube contains 1.0 grams of sweetness, perfect for enhancing beverages while promoting your business. These sleek, easy-to-use sugar sachets offer a modern, waste-free alternative to traditional square packets.</strong></p><h4>Key Features</h4><ul><li><strong>Custom Branding Options</strong>: Print your logo or design in up to four Pantone PMS colors on coated brown paper.</li><li><strong>Effortless Promotion</strong>: Create a lasting impression with personalized sugar sticks that enhance every coffee, tea, or dessert experience.</li><li><strong>Eco-Friendly &amp; Tidy</strong>: Compact, easy-to-use tubes reduce waste and eliminate mess.</li></ul><h4>Versatile Sweetener Choices</h4><ul><li class="ql-indent-1"><strong>Organic Brown Cane Sugar.</strong></li><li class="ql-indent-1"><strong>White Sugar.</strong></li><li class="ql-indent-1"><strong>Sugar Substitutes in Pink (saccharin), Blue (aspartame), Green (stevia), and Yellow (sucralose).</strong></li></ul><h4>Order Information</h4><ul><li><strong>Minimum Order</strong>: 10 cases (20,000 sticks per flavor).</li><li><strong>Packaging</strong>: 2,000 sticks per case for optimal storage.</li><li>Dimensions</li></ul><p><br></p><h3>Elevate your brand’s visibility with stylish, custom-printed sugar sticks that your guests will love and remember. Perfect for cafes, restaurants, hotels, and events!</h3><p><br></p>"
            #metaKeywords: "Raw Sugar Packets, Sugar Packets For Coffee, Packets Of Sugar, Sweetener Packets, Splenda 2000 Packets, Blue Sugar Packets, Coffee Sugar Packets, Sugar Packets Bulk, Blue Packet Sugar, Custom Logo Sugar Packets"
            #metaDescription: "Custom printed sugar tubes are an inexpensive method to promote your business with every cup of coffee. Order from Sudek USA"
            #shortDescription: "Blue artificial Equal sweetener sugar tubes"
          }
        ]
        #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: 20000
        -minPrice: 3180
        -maxPrice: 12375
        -markup: 50
        -onlyBreakpoints: false
        #files: Doctrine\ORM\PersistentCollection {#5077 …}
        #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 {#5153 …}
        #labels: Doctrine\ORM\PersistentCollection {#5080 …}
        #callouts: Doctrine\ORM\PersistentCollection {#5109 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7850 …}
      #position: 1
      #createdAt: DateTime @1649262293 {#7813
        date: 2022-04-06 16:24:53.0 UTC (+00:00)
      }
      #updatedAt: DateTime @1707761614 {#7814
        date: 2024-02-12 18:13:34.0 UTC (+00:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7844 …}
      #translationsCache: []
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 3
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: null
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#7785 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7846 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7848 …}
      -packUnits: null
      -packLength: null
      -packWidth: null
      -packHeight: null
      -packWeight: null
      #tierPrices: Doctrine\ORM\PersistentCollection {#7840 …}
    }
    #productName: null
    #variantName: null
    -gift: false
    -note: null
    #files: Doctrine\Common\Collections\ArrayCollection {#21136 …}
    -filesUploaded: Doctrine\Common\Collections\ArrayCollection {#21134
      -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 {#21137
  -cart: App\Entity\Order\Order {#11295 …}
  -cartItem: App\Entity\Order\OrderItem {#21115
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#21139 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#21140 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#7832
      #id: 13
      #code: "pantone1_p13c2"
      #product: App\Entity\Product\Product {#6869
        #id: 3
        #code: "aspartame_sweetener_sticks_13"
        #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 {#68953 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7327 …}
        #createdAt: DateTime @1649100435 {#6850
          date: 2022-04-04 19:27:15.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1755636103 {#6888
          date: 2025-08-19 20:41:43.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: 3
            #name: "Custom Printed Blue Aspartame Sweetener Sticks"
            #slug: "printed-blue-sugar-sticks-tubes"
            #description: "<h3>Custom Printed Blue Aspartame Sugar Sticks, Sachets, and Tubes</h3><p><strong>Sweeten Your Brand with Custom Sugar Sticks!</strong></p><p><strong>Transform your everyday sugar packets into powerful branding tools with our custom-printed blue aspartame sugar sticks. Made with premium artificial aspartame sweetener, each tube contains 1.0 grams of sweetness, perfect for enhancing beverages while promoting your business. These sleek, easy-to-use sugar sachets offer a modern, waste-free alternative to traditional square packets.</strong></p><h4>Key Features</h4><ul><li><strong>Custom Branding Options</strong>: Print your logo or design in up to four Pantone PMS colors on coated brown paper.</li><li><strong>Effortless Promotion</strong>: Create a lasting impression with personalized sugar sticks that enhance every coffee, tea, or dessert experience.</li><li><strong>Eco-Friendly &amp; Tidy</strong>: Compact, easy-to-use tubes reduce waste and eliminate mess.</li></ul><h4>Versatile Sweetener Choices</h4><ul><li class="ql-indent-1"><strong>Organic Brown Cane Sugar.</strong></li><li class="ql-indent-1"><strong>White Sugar.</strong></li><li class="ql-indent-1"><strong>Sugar Substitutes in Pink (saccharin), Blue (aspartame), Green (stevia), and Yellow (sucralose).</strong></li></ul><h4>Order Information</h4><ul><li><strong>Minimum Order</strong>: 10 cases (20,000 sticks per flavor).</li><li><strong>Packaging</strong>: 2,000 sticks per case for optimal storage.</li><li>Dimensions</li></ul><p><br></p><h3>Elevate your brand’s visibility with stylish, custom-printed sugar sticks that your guests will love and remember. Perfect for cafes, restaurants, hotels, and events!</h3><p><br></p>"
            #metaKeywords: "Raw Sugar Packets, Sugar Packets For Coffee, Packets Of Sugar, Sweetener Packets, Splenda 2000 Packets, Blue Sugar Packets, Coffee Sugar Packets, Sugar Packets Bulk, Blue Packet Sugar, Custom Logo Sugar Packets"
            #metaDescription: "Custom printed sugar tubes are an inexpensive method to promote your business with every cup of coffee. Order from Sudek USA"
            #shortDescription: "Blue artificial Equal sweetener sugar tubes"
          }
        ]
        #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: 20000
        -minPrice: 3180
        -maxPrice: 12375
        -markup: 50
        -onlyBreakpoints: false
        #files: Doctrine\ORM\PersistentCollection {#5077 …}
        #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 {#5153 …}
        #labels: Doctrine\ORM\PersistentCollection {#5080 …}
        #callouts: Doctrine\ORM\PersistentCollection {#5109 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7850 …}
      #position: 1
      #createdAt: DateTime @1649262293 {#7813
        date: 2022-04-06 16:24:53.0 UTC (+00:00)
      }
      #updatedAt: DateTime @1707761614 {#7814
        date: 2024-02-12 18:13:34.0 UTC (+00:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7844 …}
      #translationsCache: []
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 3
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: null
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#7785 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7846 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7848 …}
      -packUnits: null
      -packLength: null
      -packWidth: null
      -packHeight: null
      -packWeight: null
      #tierPrices: Doctrine\ORM\PersistentCollection {#7840 …}
    }
    #productName: null
    #variantName: null
    -gift: false
    -note: null
    #files: Doctrine\Common\Collections\ArrayCollection {#21136 …}
    -filesUploaded: Doctrine\Common\Collections\ArrayCollection {#21134
      -elements: []
    }
  }
}
same as passed value
product
App\Entity\Product\Product {#6869
  #id: 3
  #code: "aspartame_sweetener_sticks_13"
  #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 {#68953 …}
    -isDirty: false
  }
  #associations: Doctrine\ORM\PersistentCollection {#7327 …}
  #createdAt: DateTime @1649100435 {#6850
    date: 2022-04-04 19:27:15.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1755636103 {#6888
    date: 2025-08-19 20:41:43.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: 3
      #name: "Custom Printed Blue Aspartame Sweetener Sticks"
      #slug: "printed-blue-sugar-sticks-tubes"
      #description: "<h3>Custom Printed Blue Aspartame Sugar Sticks, Sachets, and Tubes</h3><p><strong>Sweeten Your Brand with Custom Sugar Sticks!</strong></p><p><strong>Transform your everyday sugar packets into powerful branding tools with our custom-printed blue aspartame sugar sticks. Made with premium artificial aspartame sweetener, each tube contains 1.0 grams of sweetness, perfect for enhancing beverages while promoting your business. These sleek, easy-to-use sugar sachets offer a modern, waste-free alternative to traditional square packets.</strong></p><h4>Key Features</h4><ul><li><strong>Custom Branding Options</strong>: Print your logo or design in up to four Pantone PMS colors on coated brown paper.</li><li><strong>Effortless Promotion</strong>: Create a lasting impression with personalized sugar sticks that enhance every coffee, tea, or dessert experience.</li><li><strong>Eco-Friendly &amp; Tidy</strong>: Compact, easy-to-use tubes reduce waste and eliminate mess.</li></ul><h4>Versatile Sweetener Choices</h4><ul><li class="ql-indent-1"><strong>Organic Brown Cane Sugar.</strong></li><li class="ql-indent-1"><strong>White Sugar.</strong></li><li class="ql-indent-1"><strong>Sugar Substitutes in Pink (saccharin), Blue (aspartame), Green (stevia), and Yellow (sucralose).</strong></li></ul><h4>Order Information</h4><ul><li><strong>Minimum Order</strong>: 10 cases (20,000 sticks per flavor).</li><li><strong>Packaging</strong>: 2,000 sticks per case for optimal storage.</li><li>Dimensions</li></ul><p><br></p><h3>Elevate your brand’s visibility with stylish, custom-printed sugar sticks that your guests will love and remember. Perfect for cafes, restaurants, hotels, and events!</h3><p><br></p>"
      #metaKeywords: "Raw Sugar Packets, Sugar Packets For Coffee, Packets Of Sugar, Sweetener Packets, Splenda 2000 Packets, Blue Sugar Packets, Coffee Sugar Packets, Sugar Packets Bulk, Blue Packet Sugar, Custom Logo Sugar Packets"
      #metaDescription: "Custom printed sugar tubes are an inexpensive method to promote your business with every cup of coffee. Order from Sudek USA"
      #shortDescription: "Blue artificial Equal sweetener sugar tubes"
    }
  ]
  #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: 20000
  -minPrice: 3180
  -maxPrice: 12375
  -markup: 50
  -onlyBreakpoints: false
  #files: Doctrine\ORM\PersistentCollection {#5077 …}
  #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 {#5153 …}
  #labels: Doctrine\ORM\PersistentCollection {#5080 …}
  #callouts: Doctrine\ORM\PersistentCollection {#5109 …}
}
same as passed value

Resolved Options

View Variables