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 {#6055
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4545 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5982
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#6052 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#6050 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3153 …}
    #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 {#6055
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4545 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5982
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#6052 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#6050 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3153 …}
    #productName: null
    #variantName: null
  }
}
same as passed value
product
BitBag\OpenMarketplace\Component\Product\Entity\Product {#2979
  #id: 1040778
  #code: "12-14290042"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1749780897 {#2983
    date: 2025-06-13 02:14:57.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1749780897 {#2955
    date: 2025-06-13 02:14:57.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: 151060487
      #name: "ΠΟΛΥΘΡΟΝΑ ARTELIBRE ALFHARD ΜΑΥΡΟ ΥΦΑΣΜΑ 77X80X79CM"
      #slug: "polythrona-artelibre-alfhard-mauro-yfasma-77x80x79cm-1040778"
      #description: """
        \n
        <p>Ανακαλύψτε την πρακτικότητα και το στυλ με την πολυθρόνα ALFHARD, που προσφέρει ευελιξία και άνεση στο χώρο σας. Ιδανική για μικρούς χώρους, αυτή η πολυθρόνα μετατρέπεται εύκολα σε κρεβάτι, προσφέροντας επιπλέον χώρο για φιλοξενούμενους.<p></p> <h3>Τεχνικά χαρακτηριστικά:</h3> <ul> <li>Κατασκευασμένη με ξύλινο σκελετό για ανθεκτικότητα και σταθερότητα.</li> <li>Επένδυση με υψηλής ποιότητας ύφασμα που προσφέρει άνεση και ανθεκτικότητα.</li> <li>Προσφέρεται σε μαύρο χρώμα.</li> </ul> <h3>Διαστάσεις προϊόντος:</h3> <ul> <li>Μήκος: 77 εκ.</li> <li>Πλάτος: 80 εκ.</li> <li>Ύψος: 79 εκ.</li> </ul> <h3>Πληροφορίες υλικών:</h3> <ul> <li>Ύφασμα: Το ύφασμα είναι ανθεκτικό και ευχάριστο στην αφή, ιδανικό για καθημερινή χρήση.</li> </ul> <h3>Οδηγίες συντήρησης:</h3> <ul> <li>Συνιστάται καθαρισμός με ηλεκτρική σκούπα και ήπιο καθαριστικό για την αφαίρεση λεκέδων.</li> </ul> <h3>Παρατηρήσεις:</h3> <ul> <li>Το προϊόν παραδίδεται αμοντάριστο, σε εργοστασιακή συσκευασία και με αναλυτικό οδηγό συναρμολόγησης.</li> <li>Η χρωματική απόχρωση του προϊόντος ενδέχεται να διαφέρει ελαφρώς σε σχέση με την φωτογραφική απεικόνισή του στην οθόνη σας.</li> </ul>\n
        <br/><br/>\n
        <p>Πολυθρόνα ALFHARD</p>\n
        <ul>\n
        <li><strong>Χρώμα</strong>: μαύρο</li>\n
        <li><strong>Διαστάσεις Πολυθρόνας</strong>: 77x80x79cm</li>\n
        <li><strong>Διαστάσεις Κρεβατιού</strong>: 77x198cm</li>\n
        <li><strong>Επένδυση</strong>: ύφασμα</li>\n
        <li><strong>Αποθηκευτικός Χώρος</strong>: όχι</li>\n
        <li><strong>Κρεβάτι</strong>: ναι</li>\n
        <li>Μετατρέπεται εύκολα σε κρεβάτι.</li>\n
        <li>Ιδανική για μικρούς χώρους.</li>\n
        <li>Ανθεκτική κατασκευή.</li>\n
        <li>Εύκολη στη συντήρηση.</li>\n
        <li>Προσφέρει επιπλέον χώρο για φιλοξενούμενους.</li>\n
        </ul>\n
        <br/><br/><p><b>Διαστάσεις:</b><br/>Συνολικό Βάρος: 25 κιλά <br/>Συνολικός όγκος: 0.25 κυβικά μέτρα <br/></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