Forms

  • sylius_add_to_cart
    • cartItem
    • _token

sylius_add_to_cart

Form type:
"Sylius\Bundle\CoreBundle\Form\Type\Order\AddToCartType"

Errors

This form has no errors.

Default Data

Property Value
Model Format same as normalized format
Normalized Format
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#115968
  -cart: App\Entity\Order\Order {#15353 …}
  -cartItem: App\Entity\Order\OrderItem {#115956
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#115980 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#115981 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8931
      #id: 7365
      #code: "IEEE00006864PDF"
      #product: App\Entity\Product\Product {#7520
        #id: 11987
        #code: "IEEE00006864"
        #attributes: Doctrine\ORM\PersistentCollection {#8207 …}
        #variants: Doctrine\ORM\PersistentCollection {#8289 …}
        #options: Doctrine\ORM\PersistentCollection {#8628
          #collection: Doctrine\Common\Collections\ArrayCollection {#8618 …}
          #initialized: true
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#7520}
          -association: [ …21]
          -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210782 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#8585 …}
        #createdAt: DateTime @1751040121 {#7536
          date: 2025-06-27 18:02:01.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1754608621 {#7535
          date: 2025-08-08 01:17:01.0 Europe/Paris (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#8627 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#8612
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#7520}
            #id: 42957
            #name: "IEEE 260.1:2024"
            #slug: "ieee-260-1-2024-ieee00006864-243639"
            #description: """
              Revision Standard - Active.<br />\n
              Letter symbols and corresponding units for SI and other common measurement units are covered in this standard.<br />\n
              \t\t\t\t<br />\n
              This standard covers letter symbols for SI and other common measurement units. The symbols given in this standard are intended for all applications, including use in text and equations; in graphs and diagrams; and on panels, labels, and nameplates.<br />\n
              This standard provides a basic reference for letter symbols and corresponding units for SI and other common measurement units. It is intended to be used by producers of technical documents and for the interpretation of such documents.
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "IEEE Standard for Letter Symbols for Measurement Units (SI and Other Common Units)"
            -notes: "Active"
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7943 …}
        #channels: Doctrine\ORM\PersistentCollection {#8104 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7519 …}
        #reviews: Doctrine\ORM\PersistentCollection {#8066 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#8118 …}
        -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7681 …}
        -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7746 …}
        -apiLastModifiedAt: DateTime @1754517600 {#7530
          date: 2025-08-07 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: DateTime @1719180000 {#7496
          date: 2024-06-24 00:00:00.0 Europe/Paris (+02:00)
        }
        -author: ""
        -publishedAt: DateTime @1715292000 {#7531
          date: 2024-05-10 00:00:00.0 Europe/Paris (+02:00)
        }
        -releasedAt: null
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "260.1"
        -bookCollection: ""
        -pageCount: 29
        -documents: Doctrine\ORM\PersistentCollection {#7786 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7928 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#9323 …}
      #position: 0
      #createdAt: DateTime @1751041320 {#8957
        date: 2025-06-27 18:22:00.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1755612026 {#8956
        date: 2025-08-19 16:00:26.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#9244 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#95363
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8931}
          #id: 7395
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 9
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8961 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#9324 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#9252 …}
      -apiLastModifiedAt: DateTime @1753740000 {#8951
        date: 2025-07-29 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "979-8-8557-0656-7"
      -ean: "9798855706567"
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: true
      -downloadable: true
      -drmViewerUrl: "https://online-viewer.normadoc.com/uhPFuP"
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8962 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#9181 …}
      -enabledForSubscribers: true
      -currentAreaContext: null
    }
    #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 {#115968
  -cart: App\Entity\Order\Order {#15353 …}
  -cartItem: App\Entity\Order\OrderItem {#115956
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#115980 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#115981 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8931
      #id: 7365
      #code: "IEEE00006864PDF"
      #product: App\Entity\Product\Product {#7520
        #id: 11987
        #code: "IEEE00006864"
        #attributes: Doctrine\ORM\PersistentCollection {#8207 …}
        #variants: Doctrine\ORM\PersistentCollection {#8289 …}
        #options: Doctrine\ORM\PersistentCollection {#8628
          #collection: Doctrine\Common\Collections\ArrayCollection {#8618 …}
          #initialized: true
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#7520}
          -association: [ …21]
          -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210782 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#8585 …}
        #createdAt: DateTime @1751040121 {#7536
          date: 2025-06-27 18:02:01.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1754608621 {#7535
          date: 2025-08-08 01:17:01.0 Europe/Paris (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#8627 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#8612
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#7520}
            #id: 42957
            #name: "IEEE 260.1:2024"
            #slug: "ieee-260-1-2024-ieee00006864-243639"
            #description: """
              Revision Standard - Active.<br />\n
              Letter symbols and corresponding units for SI and other common measurement units are covered in this standard.<br />\n
              \t\t\t\t<br />\n
              This standard covers letter symbols for SI and other common measurement units. The symbols given in this standard are intended for all applications, including use in text and equations; in graphs and diagrams; and on panels, labels, and nameplates.<br />\n
              This standard provides a basic reference for letter symbols and corresponding units for SI and other common measurement units. It is intended to be used by producers of technical documents and for the interpretation of such documents.
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "IEEE Standard for Letter Symbols for Measurement Units (SI and Other Common Units)"
            -notes: "Active"
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7943 …}
        #channels: Doctrine\ORM\PersistentCollection {#8104 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7519 …}
        #reviews: Doctrine\ORM\PersistentCollection {#8066 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#8118 …}
        -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7681 …}
        -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7746 …}
        -apiLastModifiedAt: DateTime @1754517600 {#7530
          date: 2025-08-07 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: DateTime @1719180000 {#7496
          date: 2024-06-24 00:00:00.0 Europe/Paris (+02:00)
        }
        -author: ""
        -publishedAt: DateTime @1715292000 {#7531
          date: 2024-05-10 00:00:00.0 Europe/Paris (+02:00)
        }
        -releasedAt: null
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "260.1"
        -bookCollection: ""
        -pageCount: 29
        -documents: Doctrine\ORM\PersistentCollection {#7786 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7928 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#9323 …}
      #position: 0
      #createdAt: DateTime @1751041320 {#8957
        date: 2025-06-27 18:22:00.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1755612026 {#8956
        date: 2025-08-19 16:00:26.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#9244 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#95363
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8931}
          #id: 7395
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 9
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8961 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#9324 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#9252 …}
      -apiLastModifiedAt: DateTime @1753740000 {#8951
        date: 2025-07-29 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "979-8-8557-0656-7"
      -ean: "9798855706567"
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: true
      -downloadable: true
      -drmViewerUrl: "https://online-viewer.normadoc.com/uhPFuP"
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8962 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#9181 …}
      -enabledForSubscribers: true
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}
same as passed value
product
App\Entity\Product\Product {#7520
  #id: 11987
  #code: "IEEE00006864"
  #attributes: Doctrine\ORM\PersistentCollection {#8207 …}
  #variants: Doctrine\ORM\PersistentCollection {#8289 …}
  #options: Doctrine\ORM\PersistentCollection {#8628
    #collection: Doctrine\Common\Collections\ArrayCollection {#8618 …}
    #initialized: true
    -snapshot: [ …4]
    -owner: App\Entity\Product\Product {#7520}
    -association: [ …21]
    -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
    -backRefFieldName: null
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210782 …}
    -isDirty: false
  }
  #associations: Doctrine\ORM\PersistentCollection {#8585 …}
  #createdAt: DateTime @1751040121 {#7536
    date: 2025-06-27 18:02:01.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1754608621 {#7535
    date: 2025-08-08 01:17:01.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#8627 …}
  #translationsCache: [
    "en_US" => App\Entity\Product\ProductTranslation {#8612
      #locale: "en_US"
      #translatable: App\Entity\Product\Product {#7520}
      #id: 42957
      #name: "IEEE 260.1:2024"
      #slug: "ieee-260-1-2024-ieee00006864-243639"
      #description: """
        Revision Standard - Active.<br />\n
        Letter symbols and corresponding units for SI and other common measurement units are covered in this standard.<br />\n
        \t\t\t\t<br />\n
        This standard covers letter symbols for SI and other common measurement units. The symbols given in this standard are intended for all applications, including use in text and equations; in graphs and diagrams; and on panels, labels, and nameplates.<br />\n
        This standard provides a basic reference for letter symbols and corresponding units for SI and other common measurement units. It is intended to be used by producers of technical documents and for the interpretation of such documents.
        """
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: "IEEE Standard for Letter Symbols for Measurement Units (SI and Other Common Units)"
      -notes: "Active"
    }
  ]
  #currentLocale: "en_US"
  #currentTranslation: null
  #fallbackLocale: "en_US"
  #variantSelectionMethod: "match"
  #productTaxons: Doctrine\ORM\PersistentCollection {#7943 …}
  #channels: Doctrine\ORM\PersistentCollection {#8104 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7519 …}
  #reviews: Doctrine\ORM\PersistentCollection {#8066 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#8118 …}
  -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7681 …}
  -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7746 …}
  -apiLastModifiedAt: DateTime @1754517600 {#7530
    date: 2025-08-07 00:00:00.0 Europe/Paris (+02:00)
  }
  -lastUpdatedAt: DateTime @1719180000 {#7496
    date: 2024-06-24 00:00:00.0 Europe/Paris (+02:00)
  }
  -author: ""
  -publishedAt: DateTime @1715292000 {#7531
    date: 2024-05-10 00:00:00.0 Europe/Paris (+02:00)
  }
  -releasedAt: null
  -confirmedAt: null
  -canceledAt: null
  -edition: null
  -coreDocument: "260.1"
  -bookCollection: ""
  -pageCount: 29
  -documents: Doctrine\ORM\PersistentCollection {#7786 …}
  -favorites: Doctrine\ORM\PersistentCollection {#7928 …}
}
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 {#115988
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#115989 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#115990 …}
  -namespace: Closure() {#115992 …}
}
data
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#115968
  -cart: App\Entity\Order\Order {#15353 …}
  -cartItem: App\Entity\Order\OrderItem {#115956
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#115980 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#115981 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8931
      #id: 7365
      #code: "IEEE00006864PDF"
      #product: App\Entity\Product\Product {#7520
        #id: 11987
        #code: "IEEE00006864"
        #attributes: Doctrine\ORM\PersistentCollection {#8207 …}
        #variants: Doctrine\ORM\PersistentCollection {#8289 …}
        #options: Doctrine\ORM\PersistentCollection {#8628
          #collection: Doctrine\Common\Collections\ArrayCollection {#8618 …}
          #initialized: true
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#7520}
          -association: [ …21]
          -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210782 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#8585 …}
        #createdAt: DateTime @1751040121 {#7536
          date: 2025-06-27 18:02:01.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1754608621 {#7535
          date: 2025-08-08 01:17:01.0 Europe/Paris (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#8627 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#8612
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#7520}
            #id: 42957
            #name: "IEEE 260.1:2024"
            #slug: "ieee-260-1-2024-ieee00006864-243639"
            #description: """
              Revision Standard - Active.<br />\n
              Letter symbols and corresponding units for SI and other common measurement units are covered in this standard.<br />\n
              \t\t\t\t<br />\n
              This standard covers letter symbols for SI and other common measurement units. The symbols given in this standard are intended for all applications, including use in text and equations; in graphs and diagrams; and on panels, labels, and nameplates.<br />\n
              This standard provides a basic reference for letter symbols and corresponding units for SI and other common measurement units. It is intended to be used by producers of technical documents and for the interpretation of such documents.
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "IEEE Standard for Letter Symbols for Measurement Units (SI and Other Common Units)"
            -notes: "Active"
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7943 …}
        #channels: Doctrine\ORM\PersistentCollection {#8104 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7519 …}
        #reviews: Doctrine\ORM\PersistentCollection {#8066 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#8118 …}
        -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7681 …}
        -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7746 …}
        -apiLastModifiedAt: DateTime @1754517600 {#7530
          date: 2025-08-07 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: DateTime @1719180000 {#7496
          date: 2024-06-24 00:00:00.0 Europe/Paris (+02:00)
        }
        -author: ""
        -publishedAt: DateTime @1715292000 {#7531
          date: 2024-05-10 00:00:00.0 Europe/Paris (+02:00)
        }
        -releasedAt: null
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "260.1"
        -bookCollection: ""
        -pageCount: 29
        -documents: Doctrine\ORM\PersistentCollection {#7786 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7928 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#9323 …}
      #position: 0
      #createdAt: DateTime @1751041320 {#8957
        date: 2025-06-27 18:22:00.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1755612026 {#8956
        date: 2025-08-19 16:00:26.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#9244 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#95363
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8931}
          #id: 7395
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 9
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8961 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#9324 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#9252 …}
      -apiLastModifiedAt: DateTime @1753740000 {#8951
        date: 2025-07-29 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "979-8-8557-0656-7"
      -ean: "9798855706567"
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: true
      -downloadable: true
      -drmViewerUrl: "https://online-viewer.normadoc.com/uhPFuP"
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8962 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#9181 …}
      -enabledForSubscribers: true
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}
data_class
"Sylius\Bundle\OrderBundle\Controller\AddToCartCommand"
disabled
false
empty_data
Closure(FormInterface $form) {#116015
  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 {#7520
  #id: 11987
  #code: "IEEE00006864"
  #attributes: Doctrine\ORM\PersistentCollection {#8207 …}
  #variants: Doctrine\ORM\PersistentCollection {#8289 …}
  #options: Doctrine\ORM\PersistentCollection {#8628
    #collection: Doctrine\Common\Collections\ArrayCollection {#8618 …}
    #initialized: true
    -snapshot: [ …4]
    -owner: App\Entity\Product\Product {#7520}
    -association: [ …21]
    -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
    -backRefFieldName: null
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210782 …}
    -isDirty: false
  }
  #associations: Doctrine\ORM\PersistentCollection {#8585 …}
  #createdAt: DateTime @1751040121 {#7536
    date: 2025-06-27 18:02:01.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1754608621 {#7535
    date: 2025-08-08 01:17:01.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#8627 …}
  #translationsCache: [
    "en_US" => App\Entity\Product\ProductTranslation {#8612
      #locale: "en_US"
      #translatable: App\Entity\Product\Product {#7520}
      #id: 42957
      #name: "IEEE 260.1:2024"
      #slug: "ieee-260-1-2024-ieee00006864-243639"
      #description: """
        Revision Standard - Active.<br />\n
        Letter symbols and corresponding units for SI and other common measurement units are covered in this standard.<br />\n
        \t\t\t\t<br />\n
        This standard covers letter symbols for SI and other common measurement units. The symbols given in this standard are intended for all applications, including use in text and equations; in graphs and diagrams; and on panels, labels, and nameplates.<br />\n
        This standard provides a basic reference for letter symbols and corresponding units for SI and other common measurement units. It is intended to be used by producers of technical documents and for the interpretation of such documents.
        """
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: "IEEE Standard for Letter Symbols for Measurement Units (SI and Other Common Units)"
      -notes: "Active"
    }
  ]
  #currentLocale: "en_US"
  #currentTranslation: null
  #fallbackLocale: "en_US"
  #variantSelectionMethod: "match"
  #productTaxons: Doctrine\ORM\PersistentCollection {#7943 …}
  #channels: Doctrine\ORM\PersistentCollection {#8104 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7519 …}
  #reviews: Doctrine\ORM\PersistentCollection {#8066 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#8118 …}
  -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7681 …}
  -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7746 …}
  -apiLastModifiedAt: DateTime @1754517600 {#7530
    date: 2025-08-07 00:00:00.0 Europe/Paris (+02:00)
  }
  -lastUpdatedAt: DateTime @1719180000 {#7496
    date: 2024-06-24 00:00:00.0 Europe/Paris (+02:00)
  }
  -author: ""
  -publishedAt: DateTime @1715292000 {#7531
    date: 2024-05-10 00:00:00.0 Europe/Paris (+02:00)
  }
  -releasedAt: null
  -confirmedAt: null
  -canceledAt: null
  -edition: null
  -coreDocument: "260.1"
  -bookCollection: ""
  -pageCount: 29
  -documents: Doctrine\ORM\PersistentCollection {#7786 …}
  -favorites: Doctrine\ORM\PersistentCollection {#7928 …}
}
property_path
null
required
true
row_attr
[]
setter
null
translation_domain
null
trim
true
upload_max_size_message
Closure() {#116017
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#2251 …}
    $message: Closure() {#116016 …}
    $translationDomain: "validators"
  }
}
validation_groups
[
  "sylius"
]

View Vars

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 {#115968
  -cart: App\Entity\Order\Order {#15353 …}
  -cartItem: App\Entity\Order\OrderItem {#115956
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#115980 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#115981 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8931
      #id: 7365
      #code: "IEEE00006864PDF"
      #product: App\Entity\Product\Product {#7520
        #id: 11987
        #code: "IEEE00006864"
        #attributes: Doctrine\ORM\PersistentCollection {#8207 …}
        #variants: Doctrine\ORM\PersistentCollection {#8289 …}
        #options: Doctrine\ORM\PersistentCollection {#8628
          #collection: Doctrine\Common\Collections\ArrayCollection {#8618 …}
          #initialized: true
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#7520}
          -association: [ …21]
          -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210782 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#8585 …}
        #createdAt: DateTime @1751040121 {#7536
          date: 2025-06-27 18:02:01.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1754608621 {#7535
          date: 2025-08-08 01:17:01.0 Europe/Paris (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#8627 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#8612
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#7520}
            #id: 42957
            #name: "IEEE 260.1:2024"
            #slug: "ieee-260-1-2024-ieee00006864-243639"
            #description: """
              Revision Standard - Active.<br />\n
              Letter symbols and corresponding units for SI and other common measurement units are covered in this standard.<br />\n
              \t\t\t\t<br />\n
              This standard covers letter symbols for SI and other common measurement units. The symbols given in this standard are intended for all applications, including use in text and equations; in graphs and diagrams; and on panels, labels, and nameplates.<br />\n
              This standard provides a basic reference for letter symbols and corresponding units for SI and other common measurement units. It is intended to be used by producers of technical documents and for the interpretation of such documents.
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "IEEE Standard for Letter Symbols for Measurement Units (SI and Other Common Units)"
            -notes: "Active"
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7943 …}
        #channels: Doctrine\ORM\PersistentCollection {#8104 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7519 …}
        #reviews: Doctrine\ORM\PersistentCollection {#8066 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#8118 …}
        -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7681 …}
        -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7746 …}
        -apiLastModifiedAt: DateTime @1754517600 {#7530
          date: 2025-08-07 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: DateTime @1719180000 {#7496
          date: 2024-06-24 00:00:00.0 Europe/Paris (+02:00)
        }
        -author: ""
        -publishedAt: DateTime @1715292000 {#7531
          date: 2024-05-10 00:00:00.0 Europe/Paris (+02:00)
        }
        -releasedAt: null
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "260.1"
        -bookCollection: ""
        -pageCount: 29
        -documents: Doctrine\ORM\PersistentCollection {#7786 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7928 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#9323 …}
      #position: 0
      #createdAt: DateTime @1751041320 {#8957
        date: 2025-06-27 18:22:00.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1755612026 {#8956
        date: 2025-08-19 16:00:26.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#9244 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#95363
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8931}
          #id: 7395
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 9
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8961 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#9324 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#9252 …}
      -apiLastModifiedAt: DateTime @1753740000 {#8951
        date: 2025-07-29 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "979-8-8557-0656-7"
      -ean: "9798855706567"
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: true
      -downloadable: true
      -drmViewerUrl: "https://online-viewer.normadoc.com/uhPFuP"
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8962 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#9181 …}
      -enabledForSubscribers: true
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#116042
  -form: Symfony\Component\Form\Form {#116047 …}
  -errors: []
}
form
Symfony\Component\Form\FormView {#116018 …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
false
name
"sylius_add_to_cart"
priority
0
required
true
row_attr
[]
submitted
false
translation_domain
null
unique_block_prefix
"_sylius_add_to_cart"
valid
true
value
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#115968
  -cart: App\Entity\Order\Order {#15353 …}
  -cartItem: App\Entity\Order\OrderItem {#115956
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#115980 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#115981 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8931
      #id: 7365
      #code: "IEEE00006864PDF"
      #product: App\Entity\Product\Product {#7520
        #id: 11987
        #code: "IEEE00006864"
        #attributes: Doctrine\ORM\PersistentCollection {#8207 …}
        #variants: Doctrine\ORM\PersistentCollection {#8289 …}
        #options: Doctrine\ORM\PersistentCollection {#8628
          #collection: Doctrine\Common\Collections\ArrayCollection {#8618 …}
          #initialized: true
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#7520}
          -association: [ …21]
          -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210782 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#8585 …}
        #createdAt: DateTime @1751040121 {#7536
          date: 2025-06-27 18:02:01.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1754608621 {#7535
          date: 2025-08-08 01:17:01.0 Europe/Paris (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#8627 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#8612
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#7520}
            #id: 42957
            #name: "IEEE 260.1:2024"
            #slug: "ieee-260-1-2024-ieee00006864-243639"
            #description: """
              Revision Standard - Active.<br />\n
              Letter symbols and corresponding units for SI and other common measurement units are covered in this standard.<br />\n
              \t\t\t\t<br />\n
              This standard covers letter symbols for SI and other common measurement units. The symbols given in this standard are intended for all applications, including use in text and equations; in graphs and diagrams; and on panels, labels, and nameplates.<br />\n
              This standard provides a basic reference for letter symbols and corresponding units for SI and other common measurement units. It is intended to be used by producers of technical documents and for the interpretation of such documents.
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "IEEE Standard for Letter Symbols for Measurement Units (SI and Other Common Units)"
            -notes: "Active"
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7943 …}
        #channels: Doctrine\ORM\PersistentCollection {#8104 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7519 …}
        #reviews: Doctrine\ORM\PersistentCollection {#8066 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#8118 …}
        -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7681 …}
        -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7746 …}
        -apiLastModifiedAt: DateTime @1754517600 {#7530
          date: 2025-08-07 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: DateTime @1719180000 {#7496
          date: 2024-06-24 00:00:00.0 Europe/Paris (+02:00)
        }
        -author: ""
        -publishedAt: DateTime @1715292000 {#7531
          date: 2024-05-10 00:00:00.0 Europe/Paris (+02:00)
        }
        -releasedAt: null
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "260.1"
        -bookCollection: ""
        -pageCount: 29
        -documents: Doctrine\ORM\PersistentCollection {#7786 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7928 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#9323 …}
      #position: 0
      #createdAt: DateTime @1751041320 {#8957
        date: 2025-06-27 18:22:00.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1755612026 {#8956
        date: 2025-08-19 16:00:26.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#9244 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#95363
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8931}
          #id: 7395
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 9
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8961 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#9324 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#9252 …}
      -apiLastModifiedAt: DateTime @1753740000 {#8951
        date: 2025-07-29 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "979-8-8557-0656-7"
      -ean: "9798855706567"
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: true
      -downloadable: true
      -drmViewerUrl: "https://online-viewer.normadoc.com/uhPFuP"
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8962 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#9181 …}
      -enabledForSubscribers: true
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}