Error 422 Unprocessable Content

POST https://helpinghand.nz/admin/products/new/simple

Forms

  • sylius_admin_product
    • enabled
    • translations
    • channels
    • mainTaxon
    • variantSelectionMethod
    • images
    • variant
      • enabled
      • translations
      • version
      • tracked
      • shippingRequired
      • onHand
      • width
      • height
      • depth
      • weight
      • taxCategory
      • shippingCategory
      • 1
        code
      • channelPricings
    • 1
      code
    • productTaxons
    • attributes
    • _token

sylius_admin_product

Form type:
"Sylius\Bundle\AdminBundle\Form\Type\ProductType"

Errors

This form has no errors.

Default Data

Property Value
Model Format same as normalized format
Normalized Format
App\Entity\Product\Product {#5909
  #id: null
  #code: "Bulogi Hot Pot Noodles"
  #attributes: Doctrine\Common\Collections\ArrayCollection {#5912 …}
  #variants: Doctrine\Common\Collections\ArrayCollection {#5914 …}
  #options: Doctrine\Common\Collections\ArrayCollection {#5915 …}
  #associations: Doctrine\Common\Collections\ArrayCollection {#5913 …}
  #createdAt: DateTime @1745806860 {#5911
    date: 2025-04-28 02:21:00.194053 UTC (+00:00)
  }
  #updatedAt: null
  #enabled: true
  #translations: Doctrine\Common\Collections\ArrayCollection {#5910
    -elements: [
      "en_NZ" => App\Entity\Product\ProductTranslation {#8544
        #locale: "en_NZ"
        #translatable: App\Entity\Product\Product {#5909}
        #id: null
        #name: "Bulogi Hot Pot Noodles"
        #slug: "bulogi-hot-pot-noodles"
        #description: "4 pack of Korean savoury instant noodles, beef flavour"
        #metaKeywords: null
        #metaDescription: null
        #shortDescription: null
      }
    ]
  }
  #translationsCache: []
  #currentLocale: "en_NZ"
  #currentTranslation: null
  #fallbackLocale: "en_NZ"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\Common\Collections\ArrayCollection {#5916
    -elements: [
      App\Entity\Product\ProductTaxon {#10576
        #id: null
        #product: App\Entity\Product\Product {#5909}
        #taxon: App\Entity\Taxonomy\Taxon {#9981
          #id: 14
          #code: "Snacks"
          #root: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #parent: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #children: Doctrine\ORM\PersistentCollection {#9986 …}
          #left: 26
          #right: 27
          #level: 1
          #position: 6
          #translations: Doctrine\ORM\PersistentCollection {#9982 …}
          #translationsCache: [
            "en_NZ" => App\Entity\Taxonomy\TaxonTranslation {#11674
              #locale: "en_NZ"
              #translatable: App\Entity\Taxonomy\Taxon {#9981}
              #id: 102
              #name: "Snacks"
              #slug: "Category/snacks"
              #description: null
            }
          ]
          #currentLocale: "en_NZ"
          #currentTranslation: null
          #fallbackLocale: "en_NZ"
          #enabled: true
          #images: Doctrine\ORM\PersistentCollection {#9984 …}
          #createdAt: DateTime @1742181649 {#9979
            date: 2025-03-17 03:20:49.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1742181650 {#9980
            date: 2025-03-17 03:20:50.0 UTC (+00:00)
          }
          -maxItemsInCart: 10
          -channel: null
        }
        #position: null
      }
    ]
  }
  #channels: Doctrine\Common\Collections\ArrayCollection {#5917
    -elements: [
      App\Entity\Channel\Channel {#5371
        #id: 1
        #code: "SS"
        #name: "Social Supermarket"
        #description: null
        #hostname: "helpinghand.nz"
        #color: "#c2e9df"
        #createdAt: DateTime @1734066246 {#5360
          date: 2024-12-13 05:04:06.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1734072808 {#5357
          date: 2024-12-13 06:53:28.0 UTC (+00:00)
        }
        #enabled: true
        #baseCurrency: App\Entity\Currency\Currency {#5516 …}
        #defaultLocale: App\Entity\Locale\Locale {#5513
          #id: 9
          #code: "en_NZ"
          #createdAt: DateTime @1734066272 {#5359
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1734066272 {#5366
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
        }
        #defaultTaxZone: Proxies\__CG__\App\Entity\Addressing\Zone {#5397 …}
        #taxCalculationStrategy: "order_items_based"
        #currencies: Doctrine\ORM\PersistentCollection {#5504 …}
        #locales: Doctrine\ORM\PersistentCollection {#5502 …}
        #countries: Doctrine\ORM\PersistentCollection {#5510 …}
        #themeName: null
        #contactEmail: "admin@gwt.org.nz"
        #contactPhoneNumber: "+64 123 456 789"
        #skippingShippingStepAllowed: false
        #skippingPaymentStepAllowed: false
        #accountVerificationRequired: true
        #shippingAddressInCheckoutRequired: false
        #shopBillingData: Proxies\__CG__\App\Entity\Channel\ShopBillingData {#5497 …}
        #menuTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
        #channelPriceHistoryConfig: Proxies\__CG__\App\Entity\Channel\ChannelPriceHistoryConfig {#5505 …}
        -pickupLocations: Doctrine\ORM\PersistentCollection {#5427 …}
        -customerGroups: Doctrine\ORM\PersistentCollection {#5413 …}
        -referrers: Doctrine\ORM\PersistentCollection {#5383 …}
        -taxons: Doctrine\ORM\PersistentCollection {#5385 …}
        -products: Doctrine\ORM\PersistentCollection {#5459 …}
        -donationChoices: Doctrine\ORM\PersistentCollection {#5472 …}
        -adminUsers: Doctrine\ORM\PersistentCollection {#5474 …}
      }
    ]
  }
  #mainTaxon: App\Entity\Taxonomy\Taxon {#9981}
  #reviews: Doctrine\Common\Collections\ArrayCollection {#5918 …}
  #averageRating: 0.0
  #images: Doctrine\Common\Collections\ArrayCollection {#5919 …}
}
View Format same as normalized format

Submitted Data

Property Value
View Format same as normalized format
Normalized Format
App\Entity\Product\Product {#5909
  #id: null
  #code: "Bulogi Hot Pot Noodles"
  #attributes: Doctrine\Common\Collections\ArrayCollection {#5912 …}
  #variants: Doctrine\Common\Collections\ArrayCollection {#5914 …}
  #options: Doctrine\Common\Collections\ArrayCollection {#5915 …}
  #associations: Doctrine\Common\Collections\ArrayCollection {#5913 …}
  #createdAt: DateTime @1745806860 {#5911
    date: 2025-04-28 02:21:00.194053 UTC (+00:00)
  }
  #updatedAt: null
  #enabled: true
  #translations: Doctrine\Common\Collections\ArrayCollection {#5910
    -elements: [
      "en_NZ" => App\Entity\Product\ProductTranslation {#8544
        #locale: "en_NZ"
        #translatable: App\Entity\Product\Product {#5909}
        #id: null
        #name: "Bulogi Hot Pot Noodles"
        #slug: "bulogi-hot-pot-noodles"
        #description: "4 pack of Korean savoury instant noodles, beef flavour"
        #metaKeywords: null
        #metaDescription: null
        #shortDescription: null
      }
    ]
  }
  #translationsCache: []
  #currentLocale: "en_NZ"
  #currentTranslation: null
  #fallbackLocale: "en_NZ"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\Common\Collections\ArrayCollection {#5916
    -elements: [
      App\Entity\Product\ProductTaxon {#10576
        #id: null
        #product: App\Entity\Product\Product {#5909}
        #taxon: App\Entity\Taxonomy\Taxon {#9981
          #id: 14
          #code: "Snacks"
          #root: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #parent: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #children: Doctrine\ORM\PersistentCollection {#9986 …}
          #left: 26
          #right: 27
          #level: 1
          #position: 6
          #translations: Doctrine\ORM\PersistentCollection {#9982 …}
          #translationsCache: [
            "en_NZ" => App\Entity\Taxonomy\TaxonTranslation {#11674
              #locale: "en_NZ"
              #translatable: App\Entity\Taxonomy\Taxon {#9981}
              #id: 102
              #name: "Snacks"
              #slug: "Category/snacks"
              #description: null
            }
          ]
          #currentLocale: "en_NZ"
          #currentTranslation: null
          #fallbackLocale: "en_NZ"
          #enabled: true
          #images: Doctrine\ORM\PersistentCollection {#9984 …}
          #createdAt: DateTime @1742181649 {#9979
            date: 2025-03-17 03:20:49.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1742181650 {#9980
            date: 2025-03-17 03:20:50.0 UTC (+00:00)
          }
          -maxItemsInCart: 10
          -channel: null
        }
        #position: null
      }
    ]
  }
  #channels: Doctrine\Common\Collections\ArrayCollection {#5917
    -elements: [
      App\Entity\Channel\Channel {#5371
        #id: 1
        #code: "SS"
        #name: "Social Supermarket"
        #description: null
        #hostname: "helpinghand.nz"
        #color: "#c2e9df"
        #createdAt: DateTime @1734066246 {#5360
          date: 2024-12-13 05:04:06.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1734072808 {#5357
          date: 2024-12-13 06:53:28.0 UTC (+00:00)
        }
        #enabled: true
        #baseCurrency: App\Entity\Currency\Currency {#5516 …}
        #defaultLocale: App\Entity\Locale\Locale {#5513
          #id: 9
          #code: "en_NZ"
          #createdAt: DateTime @1734066272 {#5359
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1734066272 {#5366
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
        }
        #defaultTaxZone: Proxies\__CG__\App\Entity\Addressing\Zone {#5397 …}
        #taxCalculationStrategy: "order_items_based"
        #currencies: Doctrine\ORM\PersistentCollection {#5504 …}
        #locales: Doctrine\ORM\PersistentCollection {#5502 …}
        #countries: Doctrine\ORM\PersistentCollection {#5510 …}
        #themeName: null
        #contactEmail: "admin@gwt.org.nz"
        #contactPhoneNumber: "+64 123 456 789"
        #skippingShippingStepAllowed: false
        #skippingPaymentStepAllowed: false
        #accountVerificationRequired: true
        #shippingAddressInCheckoutRequired: false
        #shopBillingData: Proxies\__CG__\App\Entity\Channel\ShopBillingData {#5497 …}
        #menuTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
        #channelPriceHistoryConfig: Proxies\__CG__\App\Entity\Channel\ChannelPriceHistoryConfig {#5505 …}
        -pickupLocations: Doctrine\ORM\PersistentCollection {#5427 …}
        -customerGroups: Doctrine\ORM\PersistentCollection {#5413 …}
        -referrers: Doctrine\ORM\PersistentCollection {#5383 …}
        -taxons: Doctrine\ORM\PersistentCollection {#5385 …}
        -products: Doctrine\ORM\PersistentCollection {#5459 …}
        -donationChoices: Doctrine\ORM\PersistentCollection {#5472 …}
        -adminUsers: Doctrine\ORM\PersistentCollection {#5474 …}
      }
    ]
  }
  #mainTaxon: App\Entity\Taxonomy\Taxon {#9981}
  #reviews: Doctrine\Common\Collections\ArrayCollection {#5918 …}
  #averageRating: 0.0
  #images: Doctrine\Common\Collections\ArrayCollection {#5919 …}
}
Model Format same as normalized format

Passed Options

Option Passed Value Resolved Value
data
App\Entity\Product\Product {#5909
  #id: null
  #code: "Bulogi Hot Pot Noodles"
  #attributes: Doctrine\Common\Collections\ArrayCollection {#5912 …}
  #variants: Doctrine\Common\Collections\ArrayCollection {#5914 …}
  #options: Doctrine\Common\Collections\ArrayCollection {#5915 …}
  #associations: Doctrine\Common\Collections\ArrayCollection {#5913 …}
  #createdAt: DateTime @1745806860 {#5911
    date: 2025-04-28 02:21:00.194053 UTC (+00:00)
  }
  #updatedAt: null
  #enabled: true
  #translations: Doctrine\Common\Collections\ArrayCollection {#5910
    -elements: [
      "en_NZ" => App\Entity\Product\ProductTranslation {#8544
        #locale: "en_NZ"
        #translatable: App\Entity\Product\Product {#5909}
        #id: null
        #name: "Bulogi Hot Pot Noodles"
        #slug: "bulogi-hot-pot-noodles"
        #description: "4 pack of Korean savoury instant noodles, beef flavour"
        #metaKeywords: null
        #metaDescription: null
        #shortDescription: null
      }
    ]
  }
  #translationsCache: []
  #currentLocale: "en_NZ"
  #currentTranslation: null
  #fallbackLocale: "en_NZ"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\Common\Collections\ArrayCollection {#5916
    -elements: [
      App\Entity\Product\ProductTaxon {#10576
        #id: null
        #product: App\Entity\Product\Product {#5909}
        #taxon: App\Entity\Taxonomy\Taxon {#9981
          #id: 14
          #code: "Snacks"
          #root: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #parent: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #children: Doctrine\ORM\PersistentCollection {#9986 …}
          #left: 26
          #right: 27
          #level: 1
          #position: 6
          #translations: Doctrine\ORM\PersistentCollection {#9982 …}
          #translationsCache: [
            "en_NZ" => App\Entity\Taxonomy\TaxonTranslation {#11674
              #locale: "en_NZ"
              #translatable: App\Entity\Taxonomy\Taxon {#9981}
              #id: 102
              #name: "Snacks"
              #slug: "Category/snacks"
              #description: null
            }
          ]
          #currentLocale: "en_NZ"
          #currentTranslation: null
          #fallbackLocale: "en_NZ"
          #enabled: true
          #images: Doctrine\ORM\PersistentCollection {#9984 …}
          #createdAt: DateTime @1742181649 {#9979
            date: 2025-03-17 03:20:49.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1742181650 {#9980
            date: 2025-03-17 03:20:50.0 UTC (+00:00)
          }
          -maxItemsInCart: 10
          -channel: null
        }
        #position: null
      }
    ]
  }
  #channels: Doctrine\Common\Collections\ArrayCollection {#5917
    -elements: [
      App\Entity\Channel\Channel {#5371
        #id: 1
        #code: "SS"
        #name: "Social Supermarket"
        #description: null
        #hostname: "helpinghand.nz"
        #color: "#c2e9df"
        #createdAt: DateTime @1734066246 {#5360
          date: 2024-12-13 05:04:06.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1734072808 {#5357
          date: 2024-12-13 06:53:28.0 UTC (+00:00)
        }
        #enabled: true
        #baseCurrency: App\Entity\Currency\Currency {#5516 …}
        #defaultLocale: App\Entity\Locale\Locale {#5513
          #id: 9
          #code: "en_NZ"
          #createdAt: DateTime @1734066272 {#5359
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1734066272 {#5366
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
        }
        #defaultTaxZone: Proxies\__CG__\App\Entity\Addressing\Zone {#5397 …}
        #taxCalculationStrategy: "order_items_based"
        #currencies: Doctrine\ORM\PersistentCollection {#5504 …}
        #locales: Doctrine\ORM\PersistentCollection {#5502 …}
        #countries: Doctrine\ORM\PersistentCollection {#5510 …}
        #themeName: null
        #contactEmail: "admin@gwt.org.nz"
        #contactPhoneNumber: "+64 123 456 789"
        #skippingShippingStepAllowed: false
        #skippingPaymentStepAllowed: false
        #accountVerificationRequired: true
        #shippingAddressInCheckoutRequired: false
        #shopBillingData: Proxies\__CG__\App\Entity\Channel\ShopBillingData {#5497 …}
        #menuTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
        #channelPriceHistoryConfig: Proxies\__CG__\App\Entity\Channel\ChannelPriceHistoryConfig {#5505 …}
        -pickupLocations: Doctrine\ORM\PersistentCollection {#5427 …}
        -customerGroups: Doctrine\ORM\PersistentCollection {#5413 …}
        -referrers: Doctrine\ORM\PersistentCollection {#5383 …}
        -taxons: Doctrine\ORM\PersistentCollection {#5385 …}
        -products: Doctrine\ORM\PersistentCollection {#5459 …}
        -donationChoices: Doctrine\ORM\PersistentCollection {#5472 …}
        -adminUsers: Doctrine\ORM\PersistentCollection {#5474 …}
      }
    ]
  }
  #mainTaxon: App\Entity\Taxonomy\Taxon {#9981}
  #reviews: Doctrine\Common\Collections\ArrayCollection {#5918 …}
  #averageRating: 0.0
  #images: Doctrine\Common\Collections\ArrayCollection {#5919 …}
}
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
"submit"
csrf_token_manager
Symfony\Component\Security\Csrf\SameOriginCsrfTokenManager {#5792
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#288 …}
  -logger: Monolog\Logger {#1597 …}
  -fallbackCsrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#5791 …}
  -tokenIds: [
    "submit" => 0
    "authenticate" => 1
    "logout" => 2
  ]
  -checkHeader: 0
  -cookieName: "csrf-token"
}
data
App\Entity\Product\Product {#5909
  #id: null
  #code: "Bulogi Hot Pot Noodles"
  #attributes: Doctrine\Common\Collections\ArrayCollection {#5912 …}
  #variants: Doctrine\Common\Collections\ArrayCollection {#5914 …}
  #options: Doctrine\Common\Collections\ArrayCollection {#5915 …}
  #associations: Doctrine\Common\Collections\ArrayCollection {#5913 …}
  #createdAt: DateTime @1745806860 {#5911
    date: 2025-04-28 02:21:00.194053 UTC (+00:00)
  }
  #updatedAt: null
  #enabled: true
  #translations: Doctrine\Common\Collections\ArrayCollection {#5910
    -elements: [
      "en_NZ" => App\Entity\Product\ProductTranslation {#8544
        #locale: "en_NZ"
        #translatable: App\Entity\Product\Product {#5909}
        #id: null
        #name: "Bulogi Hot Pot Noodles"
        #slug: "bulogi-hot-pot-noodles"
        #description: "4 pack of Korean savoury instant noodles, beef flavour"
        #metaKeywords: null
        #metaDescription: null
        #shortDescription: null
      }
    ]
  }
  #translationsCache: []
  #currentLocale: "en_NZ"
  #currentTranslation: null
  #fallbackLocale: "en_NZ"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\Common\Collections\ArrayCollection {#5916
    -elements: [
      App\Entity\Product\ProductTaxon {#10576
        #id: null
        #product: App\Entity\Product\Product {#5909}
        #taxon: App\Entity\Taxonomy\Taxon {#9981
          #id: 14
          #code: "Snacks"
          #root: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #parent: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #children: Doctrine\ORM\PersistentCollection {#9986 …}
          #left: 26
          #right: 27
          #level: 1
          #position: 6
          #translations: Doctrine\ORM\PersistentCollection {#9982 …}
          #translationsCache: [
            "en_NZ" => App\Entity\Taxonomy\TaxonTranslation {#11674
              #locale: "en_NZ"
              #translatable: App\Entity\Taxonomy\Taxon {#9981}
              #id: 102
              #name: "Snacks"
              #slug: "Category/snacks"
              #description: null
            }
          ]
          #currentLocale: "en_NZ"
          #currentTranslation: null
          #fallbackLocale: "en_NZ"
          #enabled: true
          #images: Doctrine\ORM\PersistentCollection {#9984 …}
          #createdAt: DateTime @1742181649 {#9979
            date: 2025-03-17 03:20:49.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1742181650 {#9980
            date: 2025-03-17 03:20:50.0 UTC (+00:00)
          }
          -maxItemsInCart: 10
          -channel: null
        }
        #position: null
      }
    ]
  }
  #channels: Doctrine\Common\Collections\ArrayCollection {#5917
    -elements: [
      App\Entity\Channel\Channel {#5371
        #id: 1
        #code: "SS"
        #name: "Social Supermarket"
        #description: null
        #hostname: "helpinghand.nz"
        #color: "#c2e9df"
        #createdAt: DateTime @1734066246 {#5360
          date: 2024-12-13 05:04:06.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1734072808 {#5357
          date: 2024-12-13 06:53:28.0 UTC (+00:00)
        }
        #enabled: true
        #baseCurrency: App\Entity\Currency\Currency {#5516 …}
        #defaultLocale: App\Entity\Locale\Locale {#5513
          #id: 9
          #code: "en_NZ"
          #createdAt: DateTime @1734066272 {#5359
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1734066272 {#5366
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
        }
        #defaultTaxZone: Proxies\__CG__\App\Entity\Addressing\Zone {#5397 …}
        #taxCalculationStrategy: "order_items_based"
        #currencies: Doctrine\ORM\PersistentCollection {#5504 …}
        #locales: Doctrine\ORM\PersistentCollection {#5502 …}
        #countries: Doctrine\ORM\PersistentCollection {#5510 …}
        #themeName: null
        #contactEmail: "admin@gwt.org.nz"
        #contactPhoneNumber: "+64 123 456 789"
        #skippingShippingStepAllowed: false
        #skippingPaymentStepAllowed: false
        #accountVerificationRequired: true
        #shippingAddressInCheckoutRequired: false
        #shopBillingData: Proxies\__CG__\App\Entity\Channel\ShopBillingData {#5497 …}
        #menuTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
        #channelPriceHistoryConfig: Proxies\__CG__\App\Entity\Channel\ChannelPriceHistoryConfig {#5505 …}
        -pickupLocations: Doctrine\ORM\PersistentCollection {#5427 …}
        -customerGroups: Doctrine\ORM\PersistentCollection {#5413 …}
        -referrers: Doctrine\ORM\PersistentCollection {#5383 …}
        -taxons: Doctrine\ORM\PersistentCollection {#5385 …}
        -products: Doctrine\ORM\PersistentCollection {#5459 …}
        -donationChoices: Doctrine\ORM\PersistentCollection {#5472 …}
        -adminUsers: Doctrine\ORM\PersistentCollection {#5474 …}
      }
    ]
  }
  #mainTaxon: App\Entity\Taxonomy\Taxon {#9981}
  #reviews: Doctrine\Common\Collections\ArrayCollection {#5918 …}
  #averageRating: 0.0
  #images: Doctrine\Common\Collections\ArrayCollection {#5919 …}
}
data_class
"App\Entity\Product\Product"
disabled
false
empty_data
Closure(FormInterface $form) {#8239
  class: "Symfony\Component\Form\Extension\Core\Type\FormType"
  use: {
    $class: "App\Entity\Product\Product"
  }
}
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
property_path
null
required
true
row_attr
[]
setter
null
translation_domain
null
trim
true
upload_max_size_message
Closure() {#8237
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#1663 …}
    $message: Closure() {#8238 …}
    $translationDomain: "validators"
  }
}
validation_groups
[
  "sylius"
]

View Vars

Variable Value
action
""
attr
[]
attr_translation_parameters
[]
block_prefixes
[
  "form"
  "sylius_product"
  "sylius_admin_product"
  "_sylius_admin_product"
]
cache_key
"_sylius_admin_product_sylius_admin_product"
compound
true
data
App\Entity\Product\Product {#5909
  #id: null
  #code: "Bulogi Hot Pot Noodles"
  #attributes: Doctrine\Common\Collections\ArrayCollection {#5912 …}
  #variants: Doctrine\Common\Collections\ArrayCollection {#5914 …}
  #options: Doctrine\Common\Collections\ArrayCollection {#5915 …}
  #associations: Doctrine\Common\Collections\ArrayCollection {#5913 …}
  #createdAt: DateTime @1745806860 {#5911
    date: 2025-04-28 02:21:00.194053 UTC (+00:00)
  }
  #updatedAt: null
  #enabled: true
  #translations: Doctrine\Common\Collections\ArrayCollection {#5910
    -elements: [
      "en_NZ" => App\Entity\Product\ProductTranslation {#8544
        #locale: "en_NZ"
        #translatable: App\Entity\Product\Product {#5909}
        #id: null
        #name: "Bulogi Hot Pot Noodles"
        #slug: "bulogi-hot-pot-noodles"
        #description: "4 pack of Korean savoury instant noodles, beef flavour"
        #metaKeywords: null
        #metaDescription: null
        #shortDescription: null
      }
    ]
  }
  #translationsCache: []
  #currentLocale: "en_NZ"
  #currentTranslation: null
  #fallbackLocale: "en_NZ"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\Common\Collections\ArrayCollection {#5916
    -elements: [
      App\Entity\Product\ProductTaxon {#10576
        #id: null
        #product: App\Entity\Product\Product {#5909}
        #taxon: App\Entity\Taxonomy\Taxon {#9981
          #id: 14
          #code: "Snacks"
          #root: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #parent: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #children: Doctrine\ORM\PersistentCollection {#9986 …}
          #left: 26
          #right: 27
          #level: 1
          #position: 6
          #translations: Doctrine\ORM\PersistentCollection {#9982 …}
          #translationsCache: [
            "en_NZ" => App\Entity\Taxonomy\TaxonTranslation {#11674
              #locale: "en_NZ"
              #translatable: App\Entity\Taxonomy\Taxon {#9981}
              #id: 102
              #name: "Snacks"
              #slug: "Category/snacks"
              #description: null
            }
          ]
          #currentLocale: "en_NZ"
          #currentTranslation: null
          #fallbackLocale: "en_NZ"
          #enabled: true
          #images: Doctrine\ORM\PersistentCollection {#9984 …}
          #createdAt: DateTime @1742181649 {#9979
            date: 2025-03-17 03:20:49.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1742181650 {#9980
            date: 2025-03-17 03:20:50.0 UTC (+00:00)
          }
          -maxItemsInCart: 10
          -channel: null
        }
        #position: null
      }
    ]
  }
  #channels: Doctrine\Common\Collections\ArrayCollection {#5917
    -elements: [
      App\Entity\Channel\Channel {#5371
        #id: 1
        #code: "SS"
        #name: "Social Supermarket"
        #description: null
        #hostname: "helpinghand.nz"
        #color: "#c2e9df"
        #createdAt: DateTime @1734066246 {#5360
          date: 2024-12-13 05:04:06.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1734072808 {#5357
          date: 2024-12-13 06:53:28.0 UTC (+00:00)
        }
        #enabled: true
        #baseCurrency: App\Entity\Currency\Currency {#5516 …}
        #defaultLocale: App\Entity\Locale\Locale {#5513
          #id: 9
          #code: "en_NZ"
          #createdAt: DateTime @1734066272 {#5359
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1734066272 {#5366
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
        }
        #defaultTaxZone: Proxies\__CG__\App\Entity\Addressing\Zone {#5397 …}
        #taxCalculationStrategy: "order_items_based"
        #currencies: Doctrine\ORM\PersistentCollection {#5504 …}
        #locales: Doctrine\ORM\PersistentCollection {#5502 …}
        #countries: Doctrine\ORM\PersistentCollection {#5510 …}
        #themeName: null
        #contactEmail: "admin@gwt.org.nz"
        #contactPhoneNumber: "+64 123 456 789"
        #skippingShippingStepAllowed: false
        #skippingPaymentStepAllowed: false
        #accountVerificationRequired: true
        #shippingAddressInCheckoutRequired: false
        #shopBillingData: Proxies\__CG__\App\Entity\Channel\ShopBillingData {#5497 …}
        #menuTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
        #channelPriceHistoryConfig: Proxies\__CG__\App\Entity\Channel\ChannelPriceHistoryConfig {#5505 …}
        -pickupLocations: Doctrine\ORM\PersistentCollection {#5427 …}
        -customerGroups: Doctrine\ORM\PersistentCollection {#5413 …}
        -referrers: Doctrine\ORM\PersistentCollection {#5383 …}
        -taxons: Doctrine\ORM\PersistentCollection {#5385 …}
        -products: Doctrine\ORM\PersistentCollection {#5459 …}
        -donationChoices: Doctrine\ORM\PersistentCollection {#5472 …}
        -adminUsers: Doctrine\ORM\PersistentCollection {#5474 …}
      }
    ]
  }
  #mainTaxon: App\Entity\Taxonomy\Taxon {#9981}
  #reviews: Doctrine\Common\Collections\ArrayCollection {#5918 …}
  #averageRating: 0.0
  #images: Doctrine\Common\Collections\ArrayCollection {#5919 …}
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#11212
  -errors: []
  -form: Symfony\Component\Form\Form {#8516 …}
}
form
Symfony\Component\Form\FormView {#11642 …5}
full_name
"sylius_admin_product"
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
id
"sylius_admin_product"
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
method
"POST"
multipart
true
name
"sylius_admin_product"
priority
0
required
true
row_attr
[]
submitted
true
translation_domain
null
unique_block_prefix
"_sylius_admin_product"
valid
false
value
App\Entity\Product\Product {#5909
  #id: null
  #code: "Bulogi Hot Pot Noodles"
  #attributes: Doctrine\Common\Collections\ArrayCollection {#5912 …}
  #variants: Doctrine\Common\Collections\ArrayCollection {#5914 …}
  #options: Doctrine\Common\Collections\ArrayCollection {#5915 …}
  #associations: Doctrine\Common\Collections\ArrayCollection {#5913 …}
  #createdAt: DateTime @1745806860 {#5911
    date: 2025-04-28 02:21:00.194053 UTC (+00:00)
  }
  #updatedAt: null
  #enabled: true
  #translations: Doctrine\Common\Collections\ArrayCollection {#5910
    -elements: [
      "en_NZ" => App\Entity\Product\ProductTranslation {#8544
        #locale: "en_NZ"
        #translatable: App\Entity\Product\Product {#5909}
        #id: null
        #name: "Bulogi Hot Pot Noodles"
        #slug: "bulogi-hot-pot-noodles"
        #description: "4 pack of Korean savoury instant noodles, beef flavour"
        #metaKeywords: null
        #metaDescription: null
        #shortDescription: null
      }
    ]
  }
  #translationsCache: []
  #currentLocale: "en_NZ"
  #currentTranslation: null
  #fallbackLocale: "en_NZ"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\Common\Collections\ArrayCollection {#5916
    -elements: [
      App\Entity\Product\ProductTaxon {#10576
        #id: null
        #product: App\Entity\Product\Product {#5909}
        #taxon: App\Entity\Taxonomy\Taxon {#9981
          #id: 14
          #code: "Snacks"
          #root: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #parent: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
          #children: Doctrine\ORM\PersistentCollection {#9986 …}
          #left: 26
          #right: 27
          #level: 1
          #position: 6
          #translations: Doctrine\ORM\PersistentCollection {#9982 …}
          #translationsCache: [
            "en_NZ" => App\Entity\Taxonomy\TaxonTranslation {#11674
              #locale: "en_NZ"
              #translatable: App\Entity\Taxonomy\Taxon {#9981}
              #id: 102
              #name: "Snacks"
              #slug: "Category/snacks"
              #description: null
            }
          ]
          #currentLocale: "en_NZ"
          #currentTranslation: null
          #fallbackLocale: "en_NZ"
          #enabled: true
          #images: Doctrine\ORM\PersistentCollection {#9984 …}
          #createdAt: DateTime @1742181649 {#9979
            date: 2025-03-17 03:20:49.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1742181650 {#9980
            date: 2025-03-17 03:20:50.0 UTC (+00:00)
          }
          -maxItemsInCart: 10
          -channel: null
        }
        #position: null
      }
    ]
  }
  #channels: Doctrine\Common\Collections\ArrayCollection {#5917
    -elements: [
      App\Entity\Channel\Channel {#5371
        #id: 1
        #code: "SS"
        #name: "Social Supermarket"
        #description: null
        #hostname: "helpinghand.nz"
        #color: "#c2e9df"
        #createdAt: DateTime @1734066246 {#5360
          date: 2024-12-13 05:04:06.0 UTC (+00:00)
        }
        #updatedAt: DateTime @1734072808 {#5357
          date: 2024-12-13 06:53:28.0 UTC (+00:00)
        }
        #enabled: true
        #baseCurrency: App\Entity\Currency\Currency {#5516 …}
        #defaultLocale: App\Entity\Locale\Locale {#5513
          #id: 9
          #code: "en_NZ"
          #createdAt: DateTime @1734066272 {#5359
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
          #updatedAt: DateTime @1734066272 {#5366
            date: 2024-12-13 05:04:32.0 UTC (+00:00)
          }
        }
        #defaultTaxZone: Proxies\__CG__\App\Entity\Addressing\Zone {#5397 …}
        #taxCalculationStrategy: "order_items_based"
        #currencies: Doctrine\ORM\PersistentCollection {#5504 …}
        #locales: Doctrine\ORM\PersistentCollection {#5502 …}
        #countries: Doctrine\ORM\PersistentCollection {#5510 …}
        #themeName: null
        #contactEmail: "admin@gwt.org.nz"
        #contactPhoneNumber: "+64 123 456 789"
        #skippingShippingStepAllowed: false
        #skippingPaymentStepAllowed: false
        #accountVerificationRequired: true
        #shippingAddressInCheckoutRequired: false
        #shopBillingData: Proxies\__CG__\App\Entity\Channel\ShopBillingData {#5497 …}
        #menuTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#5448 …}
        #channelPriceHistoryConfig: Proxies\__CG__\App\Entity\Channel\ChannelPriceHistoryConfig {#5505 …}
        -pickupLocations: Doctrine\ORM\PersistentCollection {#5427 …}
        -customerGroups: Doctrine\ORM\PersistentCollection {#5413 …}
        -referrers: Doctrine\ORM\PersistentCollection {#5383 …}
        -taxons: Doctrine\ORM\PersistentCollection {#5385 …}
        -products: Doctrine\ORM\PersistentCollection {#5459 …}
        -donationChoices: Doctrine\ORM\PersistentCollection {#5472 …}
        -adminUsers: Doctrine\ORM\PersistentCollection {#5474 …}
      }
    ]
  }
  #mainTaxon: App\Entity\Taxonomy\Taxon {#9981}
  #reviews: Doctrine\Common\Collections\ArrayCollection {#5918 …}
  #averageRating: 0.0
  #images: Doctrine\Common\Collections\ArrayCollection {#5919 …}
}