Forms

  • sylius_add_to_cart
    • cartItem
    • addToWishlist
    • wishlists
    • _token

sylius_add_to_cart

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

Default Data

Property Value
Model Format same as normalized format
Normalized Format
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#6009
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4557 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5936
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#6006 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#6004 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3149 …}
    #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 {#6009
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4557 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5936
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#6006 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#6004 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3149 …}
    #productName: null
    #variantName: null
  }
}
same as passed value
product
BitBag\OpenMarketplace\Component\Product\Entity\Product {#2979
  #id: 206090
  #code: "12-HM8890.01"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1706722835 {#2983
    date: 2024-01-31 17:40:35.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1708006467 {#2955
    date: 2024-02-15 14:14:27.0 UTC (+00:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#3115 …}
  #translationsCache: [
    "el" => Sylius\Component\Core\Model\ProductTranslation {#3118
      #locale: "el"
      #translatable: BitBag\OpenMarketplace\Component\Product\Entity\Product {#2979}
      #id: 386517
      #name: "ΤΡΑΠΕΖΑΡΙΑ 3ΤΜΧ ΜΕΛΑΜΙΝΗ & ΜΕΤΑΛΛΟ ΚΑΡΥΔΙ ΜΑΥΡΟ HM8890.01 105Χ55Χ78 ΕΚ"
      #slug: "trapezaria-3tmx-melamini-metallo-karydi-mauro-hm889001-105x55x78-ek-206090"
      #description: """
        Industrial σετ τραπεζαρίας με λιτό σχεδιασμό, κατασκευασμένο από ανθεκτική μελαμίνη πάχους 18 χιλιοστών <br />\n
        υψηλής ποιότητας και σίδερο, σε διακριτική διχρωμία μαύρου και κρυδί. Το σετ διαθέτει ένα τραπέζι με επιφάνεια, <br />\n
        από ανθεκτική μελαμίνη πάχους 18 χιλιοστών υψηλής ποιότητας, σε καρυδί απόχρωση και μεταλλική βάση μαύρου χρώματος. <br />\n
        Συνοδεύεται από δύο καρέκλες, από μεταλλικό σκελετό σε μαύρο ματ χρώμα και επιφάνεια καθίσματος από μελαμίνη σε καρυδί απόχρωση.<br />\n
        <br />\n
        Διαστάσεις τραπεζιού: 105x55x78 εκ.  <br />\n
        Διαστάσεις καρέκλας: 45x45x76 εκ.  <br />\n
        <br />\n
         Ευρωπαϊκής κατασκευής και προέλευσης. <br />\n
        Το προϊόν διατίθεται σε εργοστασιακή συσκευασία.<p><br/><a href='/products_pdf/b_f625e25da555e259c1a054557175688c.pdf' target='_blank'>Οδηγίες συναρμολόγησης</a></p>
        """
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: null
    }
  ]
  #currentLocale: "el"
  #currentTranslation: null
  #fallbackLocale: "en_US"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#2948 …}
  #channels: Doctrine\ORM\PersistentCollection {#2982 …}
  #mainTaxon: Proxies\__CG__\Sylius\Component\Core\Model\Taxon {#2969 …}
  #reviews: Doctrine\ORM\PersistentCollection {#3112 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#3032 …}
  #vendor: Proxies\__CG__\BitBag\OpenMarketplace\Component\Vendor\Entity\Vendor {#2959 …}
  #deleted: false
}
same as passed value

Resolved Options

View Variables