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 {#6171
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4764 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#6098
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#6168 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#6166 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3214 …}
    #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 {#6171
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4764 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#6098
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#6168 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#6166 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3214 …}
    #productName: null
    #variantName: null
  }
}
same as passed value
product
BitBag\OpenMarketplace\Component\Product\Entity\Product {#3209
  #id: 834259
  #code: "13-318-000009"
  #attributes: Doctrine\ORM\PersistentCollection {#3246 …}
  #variants: Doctrine\ORM\PersistentCollection {#3302 …}
  #options: Doctrine\ORM\PersistentCollection {#3327 …}
  #associations: Doctrine\ORM\PersistentCollection {#3314 …}
  #createdAt: DateTime @1713233556 {#3213
    date: 2024-04-16 02:12:36.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1713233556 {#3185
    date: 2024-04-16 02:12:36.0 UTC (+00:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#3345 …}
  #translationsCache: [
    "el" => Sylius\Component\Core\Model\ProductTranslation {#3348
      #locale: "el"
      #translatable: BitBag\OpenMarketplace\Component\Product\Entity\Product {#3209}
      #id: 9073489
      #name: "Ντουλάπα ρούχων Gotion pakoworld δίφυλλη λευκό μελαμίνης 170.5x61x200.5εκ"
      #slug: "ntoulapa-rouxon-gotion-pakoworld-difylli-leuko-melaminis-1705x61x2005ek-834259"
      #description: """
        <p></p>\n
        <p>Πατήστε εδώ για να κατεβάσετε τις Οδηγίες Συναρμολόγησης του Προϊόντος.</p>\n
        Ντουλάπα ρούχων Gotion pakoworld δίφυλλη λευκό μελαμίνης 170.5x61x200.5εκ</p>\n
        <p>Ψάχνεις για μία μοντέρνα ντουλάπα η οποία θα βάλει τέλος στο χάος που επικρατεί στο υπνοδωμάτιό σου; Είσαι λάτρης της οργάνωσης; Αν ναι, τότε η Gotion είναι εδώ για εσένα. </p>\n
        <p>Τεχνικά χαρακτηριστικά:<br />* Κατασκευή από μοριοσανίδα με επένδυση μελαμίνης υψηλής ποιότητας. Η μοριοσανίδα είναι γνωστή για την αντοχή της σε φορτία και πίεση. Αυτή η ιδιότητα την καθιστά κατάλληλη για την κατασκευή επίπλων όπως οι ντουλάπες.<br />* Προσφέρεται σε λευκό χρώμα.<br />* Διαθέτει δύο συρόμενες  πόρτες και τρία συρτάρια  για μεγαλύτερη εξοικονόμιση χώρου.</p>\n
        <p>Διάσταση προϊόντος:<br />Μήκος: 170.5 εκ.<br />Πλάτος: 61 εκ.<br />Ύψος: 200.5 εκ.</p>\n
        <p>Παρατηρήσεις:<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 {#3178 …}
  #channels: Doctrine\ORM\PersistentCollection {#3212 …}
  #mainTaxon: Proxies\__CG__\Sylius\Component\Core\Model\Taxon {#3199 …}
  #reviews: Doctrine\ORM\PersistentCollection {#3342 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#3262 …}
  #vendor: Proxies\__CG__\BitBag\OpenMarketplace\Component\Vendor\Entity\Vendor {#3189 …}
  #deleted: false
}
same as passed value

Resolved Options

View Variables