Forms

  • sylius_shop_add_to_cart
    • cartItem
    • _token

sylius_shop_add_to_cart

Form type:
"Sylius\Bundle\ShopBundle\Form\Type\AddToCartType"

Errors

This form has no errors.

Default Data

Property Value
Model Format same as normalized format
Normalized Format
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#13096
  -cart: App\Entity\Order\Order {#13074 …}
  -cartItem: App\Entity\Order\OrderItem {#13085
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13112 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13078 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8426 …}
    #productName: null
    #variantName: null
  }
}
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 {#13096
  -cart: App\Entity\Order\Order {#13074 …}
  -cartItem: App\Entity\Order\OrderItem {#13085
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13112 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13078 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8426 …}
    #productName: null
    #variantName: null
  }
}
same as passed value
product
App\Entity\Product\Product {#7466
  #id: 45
  #code: "BIO-2474"
  #attributes: Doctrine\ORM\PersistentCollection {#8070 …}
  #variants: Doctrine\ORM\PersistentCollection {#8283 …}
  #options: Doctrine\ORM\PersistentCollection {#8411 …}
  #associations: Doctrine\ORM\PersistentCollection {#8351 …}
  #createdAt: DateTime @1784996368 {#7378
    date: 2026-07-25 18:19:28.0 Europe/Berlin (+02:00)
  }
  #updatedAt: DateTime @1784996368 {#7536
    date: 2026-07-25 18:19:28.0 Europe/Berlin (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#8410 …}
  #translationsCache: [
    "en_US" => App\Entity\Product\ProductTranslation {#8413
      #locale: "en_US"
      #translatable: App\Entity\Product\Product {#7466}
      #id: 90
      #name: "Balsam vegan emolient 400 ml"
      #slug: "balsam-vegan-emolient-400-ml"
      #description: """
        <p>Emollients are substances deposited on the surface of the hair in the form of a hydrophobic film that protects it from the influence of harmful external factors (weather, pollution, strong styling agents, high temperature, UV rays) and protects it from excessive evaporation of water. They are essential for maintaining the PEH balance of the strands.</p>\n
        <p>Bioélixire&#8217;s &#8221; Essence of Nature&#8221; vegan emollient conditioner uses a wealth of natural plant extracts and oils to strengthen and moisturize hair, and is highly effective in protecting it from damage and dryness. The silicone-free, vegan formula contains up to 98% natural ingredients. The addition of hydrolyzed proteins (corn, soy and wheat), glycerin, betaine and panthenol are responsible for its deep conditioning and nourishing properties. The emollient conditioner &#8222;Essence of Nature &#8221; makes it easier to comb the hair, also prevents frizz and static.</p>\n
        <h2>For the care of which hair will the emollient conditioner &#8222;Nature&#8217;s Essence&#8221; work?</h2>\n
        <p>Emollients are a very important ingredient in the care of hair of any type, regardless of the degree of porosity, because they are responsible for their protection and proper level of hydration. Emollient conditioner &#8222;Nature&#8217;s essence&#8221; works especially well for strands that are very damaged, brittle, dull, dry, difficult to comb and frizzy.</p>\n
        <p>The most important active ingredients in the emollient conditioner &#8221; Essence of Nature &#8222;.</p>\n
        <p>Aloe &#8211; contains vitamins A, E and B vitamins, amino acids, folic acid, fatty acids, polysaccharides, minerals (including magnesium, copper, sodium, calcium, potassium, iron) and more than 200 other valuable nutrients. It has moisturizing, regenerating (stimulates collagen production), antioxidant properties, helps fight dandruff, regulates sebaceous glands, stimulates and nourishes hair follicles.</p>\n
        <p>Coconut oil &#8211; contains vitamins A, C and E and B vitamins, folic acid, fatty acids palmitic, lauric, omega 6 and 9 and minerals (including iron, potassium, zinc). It has moisturizing, smoothing and shining properties, and intensively nourishes. It acts as a natural UV filter. Has a soothing and anti dandruff effect on the scalp, stimulates hair follicles.</p>\n
        <p>Avocado oil &#8211; contains vitamins A, E, D and B7, unsaturated fatty acids, carotenoids and tocopherols. It has protective (seals hair scales), strengthening, elasticizing, moisturizing and shining properties, nourishes strands. It accelerates hair growth, prevents hair breakage and makes it easier to comb.</p>\n
        <p>Mango butter &#8211; contains vitamins E, A, K, C and B vitamins, omega-9, stearic and palmitic acid, minerals (including copper, calcium, magnesium, potassium) and polyphenols. It has shining properties, protecting against external factors and water loss, smoothing and soothing, strongly nourishes the strands. It supports the reconstruction of the hydrolipidic mantle of the skin and replenishes micro-pores in the hair scales, facilitates combing.</p>\n
        <h2>How to apply emollient conditioner &#8221; Essence of Nature&#8221;?</h2>\n
        <p>Apply the emollient conditioner evenly to wet, towel-drained hair, starting from the ends and gradually moving higher and higher, and leave it on for 3-5 minutes. The longer it stays on the strands, the more it will soften them. To enhance its effect, you can extend this time to 30 minutes. After that, just rinse it off generously with warm water. The formula of the emollient conditioner &#8222;Essence of Nature&#8221; has been developed so that it can be used during washing the head with the OMO method (conditioner/washing/conditioner) at its last or first and last stage.</p>\n
        <p>The conditioner is free from: SLS, sulfates, silicones, DEA, TEA, MEA, EDTA, MIT, PEG, PPG, mineral oil, artificial colors, lanolin, thiazolinone, benzophenone, DMDM Hydantoin, imidazolidinyl urea.</p>\n
        <p>Composition: Aqua (Water), Stearamidopropyl Dimethylamine, Cetyl Alcohol, Myristyl Alcohol, Lactic Acid, Aloe Barbadensis Leaf Juice, Mangifera Indica Seed Butter (Mangifera Indica (Mango) Seed Butter), Persea Gratissima Oil (Persea Gratissima (Avocado) Oil), Cocos Nucifera Oil (Coconut) Oil), Ribes Nigrum Leaf Extract (Ribes Nigrum (Black Currant) Leaf Extract), Lycium Barbarum Fruit Extract, Leuconostoc/radish Root Ferment Filtrate, Hydrolyzed Corn Protein, Hydrolyzed Soy Protein, Hydrolyzed Wheat Protein, Panthenol, Tocopherol, Betaine, Lecithin, Glycerin, Ascorbyl Palmitate, Guar Hydroxypropyltrimonium Chloride, Sodium Benzoate, Sodium Dehydroacetate, Parfum (Fragrance).</p>
        """
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: ""
    }
  ]
  #currentLocale: "en_US"
  #currentTranslation: null
  #fallbackLocale: "en_US"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#7733 …}
  #channels: Doctrine\ORM\PersistentCollection {#7929 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7429 …}
  #reviews: Doctrine\ORM\PersistentCollection {#7846 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#7931 …}
  #productType: null
}
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 {#7325
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#7338 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#7339 …}
  -namespace: Closure() {#7341 …}
}
data
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#13096
  -cart: App\Entity\Order\Order {#13074 …}
  -cartItem: App\Entity\Order\OrderItem {#13085
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13112 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13078 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8426 …}
    #productName: null
    #variantName: null
  }
}
data_class
"Sylius\Bundle\OrderBundle\Controller\AddToCartCommand"
disabled
false
empty_data
Closure(FormInterface $form) {#13211
  class: "Symfony\Component\Form\Extension\Core\Type\FormType"
  use: {
    $class: "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
[]
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 {#7466
  #id: 45
  #code: "BIO-2474"
  #attributes: Doctrine\ORM\PersistentCollection {#8070 …}
  #variants: Doctrine\ORM\PersistentCollection {#8283 …}
  #options: Doctrine\ORM\PersistentCollection {#8411 …}
  #associations: Doctrine\ORM\PersistentCollection {#8351 …}
  #createdAt: DateTime @1784996368 {#7378
    date: 2026-07-25 18:19:28.0 Europe/Berlin (+02:00)
  }
  #updatedAt: DateTime @1784996368 {#7536
    date: 2026-07-25 18:19:28.0 Europe/Berlin (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#8410 …}
  #translationsCache: [
    "en_US" => App\Entity\Product\ProductTranslation {#8413
      #locale: "en_US"
      #translatable: App\Entity\Product\Product {#7466}
      #id: 90
      #name: "Balsam vegan emolient 400 ml"
      #slug: "balsam-vegan-emolient-400-ml"
      #description: """
        <p>Emollients are substances deposited on the surface of the hair in the form of a hydrophobic film that protects it from the influence of harmful external factors (weather, pollution, strong styling agents, high temperature, UV rays) and protects it from excessive evaporation of water. They are essential for maintaining the PEH balance of the strands.</p>\n
        <p>Bioélixire&#8217;s &#8221; Essence of Nature&#8221; vegan emollient conditioner uses a wealth of natural plant extracts and oils to strengthen and moisturize hair, and is highly effective in protecting it from damage and dryness. The silicone-free, vegan formula contains up to 98% natural ingredients. The addition of hydrolyzed proteins (corn, soy and wheat), glycerin, betaine and panthenol are responsible for its deep conditioning and nourishing properties. The emollient conditioner &#8222;Essence of Nature &#8221; makes it easier to comb the hair, also prevents frizz and static.</p>\n
        <h2>For the care of which hair will the emollient conditioner &#8222;Nature&#8217;s Essence&#8221; work?</h2>\n
        <p>Emollients are a very important ingredient in the care of hair of any type, regardless of the degree of porosity, because they are responsible for their protection and proper level of hydration. Emollient conditioner &#8222;Nature&#8217;s essence&#8221; works especially well for strands that are very damaged, brittle, dull, dry, difficult to comb and frizzy.</p>\n
        <p>The most important active ingredients in the emollient conditioner &#8221; Essence of Nature &#8222;.</p>\n
        <p>Aloe &#8211; contains vitamins A, E and B vitamins, amino acids, folic acid, fatty acids, polysaccharides, minerals (including magnesium, copper, sodium, calcium, potassium, iron) and more than 200 other valuable nutrients. It has moisturizing, regenerating (stimulates collagen production), antioxidant properties, helps fight dandruff, regulates sebaceous glands, stimulates and nourishes hair follicles.</p>\n
        <p>Coconut oil &#8211; contains vitamins A, C and E and B vitamins, folic acid, fatty acids palmitic, lauric, omega 6 and 9 and minerals (including iron, potassium, zinc). It has moisturizing, smoothing and shining properties, and intensively nourishes. It acts as a natural UV filter. Has a soothing and anti dandruff effect on the scalp, stimulates hair follicles.</p>\n
        <p>Avocado oil &#8211; contains vitamins A, E, D and B7, unsaturated fatty acids, carotenoids and tocopherols. It has protective (seals hair scales), strengthening, elasticizing, moisturizing and shining properties, nourishes strands. It accelerates hair growth, prevents hair breakage and makes it easier to comb.</p>\n
        <p>Mango butter &#8211; contains vitamins E, A, K, C and B vitamins, omega-9, stearic and palmitic acid, minerals (including copper, calcium, magnesium, potassium) and polyphenols. It has shining properties, protecting against external factors and water loss, smoothing and soothing, strongly nourishes the strands. It supports the reconstruction of the hydrolipidic mantle of the skin and replenishes micro-pores in the hair scales, facilitates combing.</p>\n
        <h2>How to apply emollient conditioner &#8221; Essence of Nature&#8221;?</h2>\n
        <p>Apply the emollient conditioner evenly to wet, towel-drained hair, starting from the ends and gradually moving higher and higher, and leave it on for 3-5 minutes. The longer it stays on the strands, the more it will soften them. To enhance its effect, you can extend this time to 30 minutes. After that, just rinse it off generously with warm water. The formula of the emollient conditioner &#8222;Essence of Nature&#8221; has been developed so that it can be used during washing the head with the OMO method (conditioner/washing/conditioner) at its last or first and last stage.</p>\n
        <p>The conditioner is free from: SLS, sulfates, silicones, DEA, TEA, MEA, EDTA, MIT, PEG, PPG, mineral oil, artificial colors, lanolin, thiazolinone, benzophenone, DMDM Hydantoin, imidazolidinyl urea.</p>\n
        <p>Composition: Aqua (Water), Stearamidopropyl Dimethylamine, Cetyl Alcohol, Myristyl Alcohol, Lactic Acid, Aloe Barbadensis Leaf Juice, Mangifera Indica Seed Butter (Mangifera Indica (Mango) Seed Butter), Persea Gratissima Oil (Persea Gratissima (Avocado) Oil), Cocos Nucifera Oil (Coconut) Oil), Ribes Nigrum Leaf Extract (Ribes Nigrum (Black Currant) Leaf Extract), Lycium Barbarum Fruit Extract, Leuconostoc/radish Root Ferment Filtrate, Hydrolyzed Corn Protein, Hydrolyzed Soy Protein, Hydrolyzed Wheat Protein, Panthenol, Tocopherol, Betaine, Lecithin, Glycerin, Ascorbyl Palmitate, Guar Hydroxypropyltrimonium Chloride, Sodium Benzoate, Sodium Dehydroacetate, Parfum (Fragrance).</p>
        """
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: ""
    }
  ]
  #currentLocale: "en_US"
  #currentTranslation: null
  #fallbackLocale: "en_US"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#7733 …}
  #channels: Doctrine\ORM\PersistentCollection {#7929 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7429 …}
  #reviews: Doctrine\ORM\PersistentCollection {#7846 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#7931 …}
  #productType: null
}
property_path
null
required
true
row_attr
[]
setter
null
translation_domain
null
trim
true
upload_max_size_message
Closure() {#13209
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#1201 …}
    $message: Closure() {#13210 …}
    $translationDomain: "validators"
  }
}
validation_groups
[
  "sylius"
]

View Vars

Variable Value
action
""
attr
[]
attr_translation_parameters
[]
block_prefixes
[
  "form"
  "sylius_add_to_cart"
  "sylius_shop_add_to_cart"
  "_sylius_shop_add_to_cart"
]
cache_key
"_sylius_shop_add_to_cart_sylius_shop_add_to_cart"
compound
true
data
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#13096
  -cart: App\Entity\Order\Order {#13074 …}
  -cartItem: App\Entity\Order\OrderItem {#13085
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13112 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13078 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8426 …}
    #productName: null
    #variantName: null
  }
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#13268
  -errors: []
  -form: Symfony\Component\Form\Form {#13251 …}
}
form
Symfony\Component\Form\FormView {#13208 …5}
full_name
"sylius_shop_add_to_cart"
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
id
"sylius_shop_add_to_cart"
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
method
"POST"
multipart
false
name
"sylius_shop_add_to_cart"
priority
0
required
true
row_attr
[]
submitted
false
translation_domain
null
unique_block_prefix
"_sylius_shop_add_to_cart"
valid
true
value
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#13096
  -cart: App\Entity\Order\Order {#13074 …}
  -cartItem: App\Entity\Order\OrderItem {#13085
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13112 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13078 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8426 …}
    #productName: null
    #variantName: null
  }
}