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 {#5954
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4539 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5881
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5951 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5949 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#2984 …}
    #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 {#5954
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4539 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5881
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5951 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5949 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#2984 …}
    #productName: null
    #variantName: null
  }
}
same as passed value
product
BitBag\OpenMarketplace\Component\Product\Entity\Product {#2979
  #id: 261180
  #code: "13-099-000020"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1706879053 {#2983
    date: 2024-02-02 13:04:13.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1708615226 {#2955
    date: 2024-02-22 15:20:26.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: 496691
      #name: "Φωτιστικό οροφής τρίφωτο PWL-0108 pakoworld Ε27 χρώμα καρυδί-μαύρο 48x8,5x63εκ"
      #slug: "fotistiko-orofis-trifoto-pwl-0108-pakoworld-e27-xroma-karydi-mauro-48x85x63ek-261180"
      #description: """
        <p>Φωτιστικό οροφής τρίφωτο PWL-0108 χρώμα καρυδί-μαύρο 48×8,5×63εκ</p>\n
        <p>Για εσάς που ψάχνετε ένα χειροποίητο φωτιστικό οροφής που να εντυπωσιάζει με το industrial σχεδιασμό του, το μοντέλο PWL-0108 είναι η ιδανική πρόταση αγοράς. <br />Ένα τρίφωτο φωτιστικό εξαιρετικής ποιότητας, με ξεχωριστό design για την ανανέωση της διακόσμησης του προσωπικού σας χώρου. <br /> <br />Τεχνικά χαρακτηριστικά:<br />*Χρώμα: Καρυδί – μαύρο<br />*Υλικό βάσης: Φυσικό ξύλο, μέταλλο.<br />*Τρόπος φωτισμού: Διάχυτος<br />*Τύπος Λαμπτήρα: Ε27 Max – 60W – 220V<br />*Δεν περιλαμβάνονται οι λαμπτήρες</p>\n
        <p>Διάσταση προιόντος: 48×8,5×63εκ<br />Πάχος ξύλου: 4εκ.</p>\n
        <p>Παρατηρήσεις:<br />Το προϊόν παραδίδεται στην εργοστασιακή του συσκευασία.<br />Το  κάθε προϊόν είναι μοναδικά κατασκευασμένο από φυσικό ξύλο και η απόχρωση του καρυδί ενδέχεται να διαφέρει από τεμάχιο σε τεμάχιο.<br />Η χρωματική απόχρωση του προϊόντος ενδέχεται να διαφέρει ελαφρώς σε σχέση με την φωτογραφική απεικόνισή του στην οθόνη σας.<br /> </p>\n
        <p> </p>\n
        <p> </p>\n
        """
      #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