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 {#10916
  -cart: App\Entity\Order\Order {#10936 …}
  -cartItem: App\Entity\Order\OrderItem {#10937
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#10927 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#10912 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6844
      #id: 2432
      #code: "175-S"
      #product: App\Entity\Delta\Product\Product {#6555
        #id: 6788
        #code: "175"
        #attributes: Doctrine\ORM\PersistentCollection {#6726 …}
        #variants: Doctrine\ORM\PersistentCollection {#6777
          #collection: Doctrine\Common\Collections\ArrayCollection {#6765 …}
          #initialized: true
          -snapshot: [ …3]
          -owner: App\Entity\Delta\Product\Product {#6555}
          -association: [ …16]
          -em: ContainerTKZayuo\EntityManagerGhost614a58f {#224 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#17657 …}
          -isDirty: false
        }
        #options: Doctrine\ORM\PersistentCollection {#6829 …}
        #associations: Doctrine\ORM\PersistentCollection {#6813 …}
        #createdAt: DateTime @1756462694 {#6563
          date: 2025-08-29 10:18:14.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1756824451 {#6526
          date: 2025-09-02 14:47:31.0 UTC (+00:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6831 …}
        #translationsCache: [
          "fr_FR" => App\Entity\Product\ProductTranslation {#6823
            #locale: "fr_FR"
            #translatable: App\Entity\Delta\Product\Product {#6555}
            #id: 5818
            #name: "CASQUE ENFANT NOIR et ROUGE - TACHES PEINTURE"
            #slug: "casque-enfant-noir-et-rouge-taches-peinture"
            #description: """
              Un casque Enduro, approuvé CE, avec une coque intérieure double densité et une coque thermoplastique et une visière intégrale anti buée.\r\n
              \r\n
              Le URIDE XC1 est un très bon casque d'enduro avec une coque faite de thermoplastique durable.\r\n
              - Absorption de l'humidité très importante.\r\n
              - Protection du nez et de la bouche.\r\n
              - Doublure antibactérienne amovible et lavable.\r\n
              - Visière intégrale anti-buée et antirayure.\r\n
              - La coque est faite de thermoplastique durable.\r\n
              - CE et DOT certifié.\r\n
              - Le casque est homologué pour une utilisation en Europe et aux Etats-Unis.\r\n
              \r\n
              Poids 1 500 + / - 50 g.\r\n
              Coloris noir mat
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: ""
          }
        ]
        #currentLocale: "fr_FR"
        #currentTranslation: null
        #fallbackLocale: "fr_FR"
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6626 …}
        #channels: Doctrine\ORM\PersistentCollection {#6678 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6553 …}
        #reviews: Doctrine\ORM\PersistentCollection {#6642 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6673 …}
        -brand: Proxies\__CG__\App\Entity\Delta\Custom\Brand {#6540 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#6993 …}
      #position: 0
      #createdAt: DateTime @1756462694 {#6905
        date: 2025-08-29 10:18:14.0 UTC (+00:00)
      }
      #updatedAt: DateTime @1761896534 {#6842
        date: 2025-10-31 07:42:14.0 UTC (+00:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#6912 …}
      #translationsCache: [
        "fr_FR" => App\Entity\Product\ProductVariantTranslation {#11127
          #locale: "fr_FR"
          #translatable: App\Entity\Product\ProductVariant {#6844}
          #id: 2403
          #name: "TAILLE S"
        }
      ]
      #currentLocale: "fr_FR"
      #currentTranslation: null
      #fallbackLocale: "fr_FR"
      #version: 6
      #onHold: 0
      #onHand: 51
      #tracked: true
      #weight: null
      #width: null
      #height: null
      #depth: null
      #taxCategory: null
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#6975 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#6895 …}
    }
    #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 {#10916
  -cart: App\Entity\Order\Order {#10936 …}
  -cartItem: App\Entity\Order\OrderItem {#10937
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#10927 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#10912 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6844
      #id: 2432
      #code: "175-S"
      #product: App\Entity\Delta\Product\Product {#6555
        #id: 6788
        #code: "175"
        #attributes: Doctrine\ORM\PersistentCollection {#6726 …}
        #variants: Doctrine\ORM\PersistentCollection {#6777
          #collection: Doctrine\Common\Collections\ArrayCollection {#6765 …}
          #initialized: true
          -snapshot: [ …3]
          -owner: App\Entity\Delta\Product\Product {#6555}
          -association: [ …16]
          -em: ContainerTKZayuo\EntityManagerGhost614a58f {#224 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#17657 …}
          -isDirty: false
        }
        #options: Doctrine\ORM\PersistentCollection {#6829 …}
        #associations: Doctrine\ORM\PersistentCollection {#6813 …}
        #createdAt: DateTime @1756462694 {#6563
          date: 2025-08-29 10:18:14.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1756824451 {#6526
          date: 2025-09-02 14:47:31.0 UTC (+00:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6831 …}
        #translationsCache: [
          "fr_FR" => App\Entity\Product\ProductTranslation {#6823
            #locale: "fr_FR"
            #translatable: App\Entity\Delta\Product\Product {#6555}
            #id: 5818
            #name: "CASQUE ENFANT NOIR et ROUGE - TACHES PEINTURE"
            #slug: "casque-enfant-noir-et-rouge-taches-peinture"
            #description: """
              Un casque Enduro, approuvé CE, avec une coque intérieure double densité et une coque thermoplastique et une visière intégrale anti buée.\r\n
              \r\n
              Le URIDE XC1 est un très bon casque d'enduro avec une coque faite de thermoplastique durable.\r\n
              - Absorption de l'humidité très importante.\r\n
              - Protection du nez et de la bouche.\r\n
              - Doublure antibactérienne amovible et lavable.\r\n
              - Visière intégrale anti-buée et antirayure.\r\n
              - La coque est faite de thermoplastique durable.\r\n
              - CE et DOT certifié.\r\n
              - Le casque est homologué pour une utilisation en Europe et aux Etats-Unis.\r\n
              \r\n
              Poids 1 500 + / - 50 g.\r\n
              Coloris noir mat
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: ""
          }
        ]
        #currentLocale: "fr_FR"
        #currentTranslation: null
        #fallbackLocale: "fr_FR"
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6626 …}
        #channels: Doctrine\ORM\PersistentCollection {#6678 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6553 …}
        #reviews: Doctrine\ORM\PersistentCollection {#6642 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6673 …}
        -brand: Proxies\__CG__\App\Entity\Delta\Custom\Brand {#6540 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#6993 …}
      #position: 0
      #createdAt: DateTime @1756462694 {#6905
        date: 2025-08-29 10:18:14.0 UTC (+00:00)
      }
      #updatedAt: DateTime @1761896534 {#6842
        date: 2025-10-31 07:42:14.0 UTC (+00:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#6912 …}
      #translationsCache: [
        "fr_FR" => App\Entity\Product\ProductVariantTranslation {#11127
          #locale: "fr_FR"
          #translatable: App\Entity\Product\ProductVariant {#6844}
          #id: 2403
          #name: "TAILLE S"
        }
      ]
      #currentLocale: "fr_FR"
      #currentTranslation: null
      #fallbackLocale: "fr_FR"
      #version: 6
      #onHold: 0
      #onHand: 51
      #tracked: true
      #weight: null
      #width: null
      #height: null
      #depth: null
      #taxCategory: null
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#6975 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#6895 …}
    }
    #productName: null
    #variantName: null
  }
}
same as passed value
product
App\Entity\Delta\Product\Product {#6555
  #id: 6788
  #code: "175"
  #attributes: Doctrine\ORM\PersistentCollection {#6726 …}
  #variants: Doctrine\ORM\PersistentCollection {#6777
    #collection: Doctrine\Common\Collections\ArrayCollection {#6765 …}
    #initialized: true
    -snapshot: [ …3]
    -owner: App\Entity\Delta\Product\Product {#6555}
    -association: [ …16]
    -em: ContainerTKZayuo\EntityManagerGhost614a58f {#224 …}
    -backRefFieldName: "product"
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#17657 …}
    -isDirty: false
  }
  #options: Doctrine\ORM\PersistentCollection {#6829 …}
  #associations: Doctrine\ORM\PersistentCollection {#6813 …}
  #createdAt: DateTime @1756462694 {#6563
    date: 2025-08-29 10:18:14.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1756824451 {#6526
    date: 2025-09-02 14:47:31.0 UTC (+00:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6831 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#6823
      #locale: "fr_FR"
      #translatable: App\Entity\Delta\Product\Product {#6555}
      #id: 5818
      #name: "CASQUE ENFANT NOIR et ROUGE - TACHES PEINTURE"
      #slug: "casque-enfant-noir-et-rouge-taches-peinture"
      #description: """
        Un casque Enduro, approuvé CE, avec une coque intérieure double densité et une coque thermoplastique et une visière intégrale anti buée.\r\n
        \r\n
        Le URIDE XC1 est un très bon casque d'enduro avec une coque faite de thermoplastique durable.\r\n
        - Absorption de l'humidité très importante.\r\n
        - Protection du nez et de la bouche.\r\n
        - Doublure antibactérienne amovible et lavable.\r\n
        - Visière intégrale anti-buée et antirayure.\r\n
        - La coque est faite de thermoplastique durable.\r\n
        - CE et DOT certifié.\r\n
        - Le casque est homologué pour une utilisation en Europe et aux Etats-Unis.\r\n
        \r\n
        Poids 1 500 + / - 50 g.\r\n
        Coloris noir mat
        """
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: ""
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6626 …}
  #channels: Doctrine\ORM\PersistentCollection {#6678 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6553 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6642 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6673 …}
  -brand: Proxies\__CG__\App\Entity\Delta\Custom\Brand {#6540 …}
}
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 {#6442
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#6441 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#6445 …}
  -namespace: Closure() {#6447 …}
}
data
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#10916
  -cart: App\Entity\Order\Order {#10936 …}
  -cartItem: App\Entity\Order\OrderItem {#10937
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#10927 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#10912 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6844
      #id: 2432
      #code: "175-S"
      #product: App\Entity\Delta\Product\Product {#6555
        #id: 6788
        #code: "175"
        #attributes: Doctrine\ORM\PersistentCollection {#6726 …}
        #variants: Doctrine\ORM\PersistentCollection {#6777
          #collection: Doctrine\Common\Collections\ArrayCollection {#6765 …}
          #initialized: true
          -snapshot: [ …3]
          -owner: App\Entity\Delta\Product\Product {#6555}
          -association: [ …16]
          -em: ContainerTKZayuo\EntityManagerGhost614a58f {#224 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#17657 …}
          -isDirty: false
        }
        #options: Doctrine\ORM\PersistentCollection {#6829 …}
        #associations: Doctrine\ORM\PersistentCollection {#6813 …}
        #createdAt: DateTime @1756462694 {#6563
          date: 2025-08-29 10:18:14.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1756824451 {#6526
          date: 2025-09-02 14:47:31.0 UTC (+00:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6831 …}
        #translationsCache: [
          "fr_FR" => App\Entity\Product\ProductTranslation {#6823
            #locale: "fr_FR"
            #translatable: App\Entity\Delta\Product\Product {#6555}
            #id: 5818
            #name: "CASQUE ENFANT NOIR et ROUGE - TACHES PEINTURE"
            #slug: "casque-enfant-noir-et-rouge-taches-peinture"
            #description: """
              Un casque Enduro, approuvé CE, avec une coque intérieure double densité et une coque thermoplastique et une visière intégrale anti buée.\r\n
              \r\n
              Le URIDE XC1 est un très bon casque d'enduro avec une coque faite de thermoplastique durable.\r\n
              - Absorption de l'humidité très importante.\r\n
              - Protection du nez et de la bouche.\r\n
              - Doublure antibactérienne amovible et lavable.\r\n
              - Visière intégrale anti-buée et antirayure.\r\n
              - La coque est faite de thermoplastique durable.\r\n
              - CE et DOT certifié.\r\n
              - Le casque est homologué pour une utilisation en Europe et aux Etats-Unis.\r\n
              \r\n
              Poids 1 500 + / - 50 g.\r\n
              Coloris noir mat
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: ""
          }
        ]
        #currentLocale: "fr_FR"
        #currentTranslation: null
        #fallbackLocale: "fr_FR"
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6626 …}
        #channels: Doctrine\ORM\PersistentCollection {#6678 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6553 …}
        #reviews: Doctrine\ORM\PersistentCollection {#6642 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6673 …}
        -brand: Proxies\__CG__\App\Entity\Delta\Custom\Brand {#6540 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#6993 …}
      #position: 0
      #createdAt: DateTime @1756462694 {#6905
        date: 2025-08-29 10:18:14.0 UTC (+00:00)
      }
      #updatedAt: DateTime @1761896534 {#6842
        date: 2025-10-31 07:42:14.0 UTC (+00:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#6912 …}
      #translationsCache: [
        "fr_FR" => App\Entity\Product\ProductVariantTranslation {#11127
          #locale: "fr_FR"
          #translatable: App\Entity\Product\ProductVariant {#6844}
          #id: 2403
          #name: "TAILLE S"
        }
      ]
      #currentLocale: "fr_FR"
      #currentTranslation: null
      #fallbackLocale: "fr_FR"
      #version: 6
      #onHold: 0
      #onHand: 51
      #tracked: true
      #weight: null
      #width: null
      #height: null
      #depth: null
      #taxCategory: null
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#6975 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#6895 …}
    }
    #productName: null
    #variantName: null
  }
}
data_class
"Sylius\Bundle\OrderBundle\Controller\AddToCartCommand"
disabled
false
empty_data
Closure(FormInterface $form) {#11014
  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\Delta\Product\Product {#6555
  #id: 6788
  #code: "175"
  #attributes: Doctrine\ORM\PersistentCollection {#6726 …}
  #variants: Doctrine\ORM\PersistentCollection {#6777
    #collection: Doctrine\Common\Collections\ArrayCollection {#6765 …}
    #initialized: true
    -snapshot: [ …3]
    -owner: App\Entity\Delta\Product\Product {#6555}
    -association: [ …16]
    -em: ContainerTKZayuo\EntityManagerGhost614a58f {#224 …}
    -backRefFieldName: "product"
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#17657 …}
    -isDirty: false
  }
  #options: Doctrine\ORM\PersistentCollection {#6829 …}
  #associations: Doctrine\ORM\PersistentCollection {#6813 …}
  #createdAt: DateTime @1756462694 {#6563
    date: 2025-08-29 10:18:14.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1756824451 {#6526
    date: 2025-09-02 14:47:31.0 UTC (+00:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6831 …}
  #translationsCache: [
    "fr_FR" => App\Entity\Product\ProductTranslation {#6823
      #locale: "fr_FR"
      #translatable: App\Entity\Delta\Product\Product {#6555}
      #id: 5818
      #name: "CASQUE ENFANT NOIR et ROUGE - TACHES PEINTURE"
      #slug: "casque-enfant-noir-et-rouge-taches-peinture"
      #description: """
        Un casque Enduro, approuvé CE, avec une coque intérieure double densité et une coque thermoplastique et une visière intégrale anti buée.\r\n
        \r\n
        Le URIDE XC1 est un très bon casque d'enduro avec une coque faite de thermoplastique durable.\r\n
        - Absorption de l'humidité très importante.\r\n
        - Protection du nez et de la bouche.\r\n
        - Doublure antibactérienne amovible et lavable.\r\n
        - Visière intégrale anti-buée et antirayure.\r\n
        - La coque est faite de thermoplastique durable.\r\n
        - CE et DOT certifié.\r\n
        - Le casque est homologué pour une utilisation en Europe et aux Etats-Unis.\r\n
        \r\n
        Poids 1 500 + / - 50 g.\r\n
        Coloris noir mat
        """
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: ""
    }
  ]
  #currentLocale: "fr_FR"
  #currentTranslation: null
  #fallbackLocale: "fr_FR"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6626 …}
  #channels: Doctrine\ORM\PersistentCollection {#6678 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6553 …}
  #reviews: Doctrine\ORM\PersistentCollection {#6642 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6673 …}
  -brand: Proxies\__CG__\App\Entity\Delta\Custom\Brand {#6540 …}
}
property_path
null
required
true
row_attr
[]
setter
null
translation_domain
null
trim
true
upload_max_size_message
Closure() {#11016
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#1667 …}
    $message: Closure() {#11015 …}
    $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 {#10916
  -cart: App\Entity\Order\Order {#10936 …}
  -cartItem: App\Entity\Order\OrderItem {#10937
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#10927 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#10912 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6844
      #id: 2432
      #code: "175-S"
      #product: App\Entity\Delta\Product\Product {#6555
        #id: 6788
        #code: "175"
        #attributes: Doctrine\ORM\PersistentCollection {#6726 …}
        #variants: Doctrine\ORM\PersistentCollection {#6777
          #collection: Doctrine\Common\Collections\ArrayCollection {#6765 …}
          #initialized: true
          -snapshot: [ …3]
          -owner: App\Entity\Delta\Product\Product {#6555}
          -association: [ …16]
          -em: ContainerTKZayuo\EntityManagerGhost614a58f {#224 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#17657 …}
          -isDirty: false
        }
        #options: Doctrine\ORM\PersistentCollection {#6829 …}
        #associations: Doctrine\ORM\PersistentCollection {#6813 …}
        #createdAt: DateTime @1756462694 {#6563
          date: 2025-08-29 10:18:14.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1756824451 {#6526
          date: 2025-09-02 14:47:31.0 UTC (+00:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6831 …}
        #translationsCache: [
          "fr_FR" => App\Entity\Product\ProductTranslation {#6823
            #locale: "fr_FR"
            #translatable: App\Entity\Delta\Product\Product {#6555}
            #id: 5818
            #name: "CASQUE ENFANT NOIR et ROUGE - TACHES PEINTURE"
            #slug: "casque-enfant-noir-et-rouge-taches-peinture"
            #description: """
              Un casque Enduro, approuvé CE, avec une coque intérieure double densité et une coque thermoplastique et une visière intégrale anti buée.\r\n
              \r\n
              Le URIDE XC1 est un très bon casque d'enduro avec une coque faite de thermoplastique durable.\r\n
              - Absorption de l'humidité très importante.\r\n
              - Protection du nez et de la bouche.\r\n
              - Doublure antibactérienne amovible et lavable.\r\n
              - Visière intégrale anti-buée et antirayure.\r\n
              - La coque est faite de thermoplastique durable.\r\n
              - CE et DOT certifié.\r\n
              - Le casque est homologué pour une utilisation en Europe et aux Etats-Unis.\r\n
              \r\n
              Poids 1 500 + / - 50 g.\r\n
              Coloris noir mat
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: ""
          }
        ]
        #currentLocale: "fr_FR"
        #currentTranslation: null
        #fallbackLocale: "fr_FR"
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6626 …}
        #channels: Doctrine\ORM\PersistentCollection {#6678 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6553 …}
        #reviews: Doctrine\ORM\PersistentCollection {#6642 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6673 …}
        -brand: Proxies\__CG__\App\Entity\Delta\Custom\Brand {#6540 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#6993 …}
      #position: 0
      #createdAt: DateTime @1756462694 {#6905
        date: 2025-08-29 10:18:14.0 UTC (+00:00)
      }
      #updatedAt: DateTime @1761896534 {#6842
        date: 2025-10-31 07:42:14.0 UTC (+00:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#6912 …}
      #translationsCache: [
        "fr_FR" => App\Entity\Product\ProductVariantTranslation {#11127
          #locale: "fr_FR"
          #translatable: App\Entity\Product\ProductVariant {#6844}
          #id: 2403
          #name: "TAILLE S"
        }
      ]
      #currentLocale: "fr_FR"
      #currentTranslation: null
      #fallbackLocale: "fr_FR"
      #version: 6
      #onHold: 0
      #onHand: 51
      #tracked: true
      #weight: null
      #width: null
      #height: null
      #depth: null
      #taxCategory: null
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#6975 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#6895 …}
    }
    #productName: null
    #variantName: null
  }
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#11059
  -errors: []
  -form: Symfony\Component\Form\Form {#11066 …}
}
form
Symfony\Component\Form\FormView {#11017 …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 {#10916
  -cart: App\Entity\Order\Order {#10936 …}
  -cartItem: App\Entity\Order\OrderItem {#10937
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#10927 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#10912 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6844
      #id: 2432
      #code: "175-S"
      #product: App\Entity\Delta\Product\Product {#6555
        #id: 6788
        #code: "175"
        #attributes: Doctrine\ORM\PersistentCollection {#6726 …}
        #variants: Doctrine\ORM\PersistentCollection {#6777
          #collection: Doctrine\Common\Collections\ArrayCollection {#6765 …}
          #initialized: true
          -snapshot: [ …3]
          -owner: App\Entity\Delta\Product\Product {#6555}
          -association: [ …16]
          -em: ContainerTKZayuo\EntityManagerGhost614a58f {#224 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#17657 …}
          -isDirty: false
        }
        #options: Doctrine\ORM\PersistentCollection {#6829 …}
        #associations: Doctrine\ORM\PersistentCollection {#6813 …}
        #createdAt: DateTime @1756462694 {#6563
          date: 2025-08-29 10:18:14.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1756824451 {#6526
          date: 2025-09-02 14:47:31.0 UTC (+00:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6831 …}
        #translationsCache: [
          "fr_FR" => App\Entity\Product\ProductTranslation {#6823
            #locale: "fr_FR"
            #translatable: App\Entity\Delta\Product\Product {#6555}
            #id: 5818
            #name: "CASQUE ENFANT NOIR et ROUGE - TACHES PEINTURE"
            #slug: "casque-enfant-noir-et-rouge-taches-peinture"
            #description: """
              Un casque Enduro, approuvé CE, avec une coque intérieure double densité et une coque thermoplastique et une visière intégrale anti buée.\r\n
              \r\n
              Le URIDE XC1 est un très bon casque d'enduro avec une coque faite de thermoplastique durable.\r\n
              - Absorption de l'humidité très importante.\r\n
              - Protection du nez et de la bouche.\r\n
              - Doublure antibactérienne amovible et lavable.\r\n
              - Visière intégrale anti-buée et antirayure.\r\n
              - La coque est faite de thermoplastique durable.\r\n
              - CE et DOT certifié.\r\n
              - Le casque est homologué pour une utilisation en Europe et aux Etats-Unis.\r\n
              \r\n
              Poids 1 500 + / - 50 g.\r\n
              Coloris noir mat
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: ""
          }
        ]
        #currentLocale: "fr_FR"
        #currentTranslation: null
        #fallbackLocale: "fr_FR"
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6626 …}
        #channels: Doctrine\ORM\PersistentCollection {#6678 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#6553 …}
        #reviews: Doctrine\ORM\PersistentCollection {#6642 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6673 …}
        -brand: Proxies\__CG__\App\Entity\Delta\Custom\Brand {#6540 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#6993 …}
      #position: 0
      #createdAt: DateTime @1756462694 {#6905
        date: 2025-08-29 10:18:14.0 UTC (+00:00)
      }
      #updatedAt: DateTime @1761896534 {#6842
        date: 2025-10-31 07:42:14.0 UTC (+00:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#6912 …}
      #translationsCache: [
        "fr_FR" => App\Entity\Product\ProductVariantTranslation {#11127
          #locale: "fr_FR"
          #translatable: App\Entity\Product\ProductVariant {#6844}
          #id: 2403
          #name: "TAILLE S"
        }
      ]
      #currentLocale: "fr_FR"
      #currentTranslation: null
      #fallbackLocale: "fr_FR"
      #version: 6
      #onHold: 0
      #onHand: 51
      #tracked: true
      #weight: null
      #width: null
      #height: null
      #depth: null
      #taxCategory: null
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#6975 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#6895 …}
    }
    #productName: null
    #variantName: null
  }
}