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 {#5965
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4548 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5892
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5962 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5960 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3139 …}
    #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 {#5965
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4548 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5892
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5962 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5960 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3139 …}
    #productName: null
    #variantName: null
  }
}
same as passed value
product
BitBag\OpenMarketplace\Component\Product\Entity\Product {#2979
  #id: 212501
  #code: "12-147-000063"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1706746088 {#2983
    date: 2024-02-01 00:08:08.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1706841404 {#2955
    date: 2024-02-02 02:36:44.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: 399337
      #name: "ΦΩΤΙΣΤΙΚΟ ΟΡΟΦΗΣ ΜΟΝΟΦΩΤΟ PWL-1118 PAKOWORLD Ε27 ΦΥΣΙΚΟ Φ30X24ΕΚ"
      #slug: "fotistiko-orofis-monofoto-pwl-1118-pakoworld-e27-fysiko-f30x24ek-212501"
      #description: """
        Φωτιστικό οροφής PWL-1118 pakoworld Ε27 φυσικό Φ30x24εκ<br><br>Ένα φωτιστικό οροφής που θα αποτελέσει σημείο αναφοράς για τη διακόσμηση σας. Το PWL-1118 συνδυάζει το κλασσικό με το σύγχρονο design.<br><br><span class="cs8926E06"><span class="cs3232DC9D"><strong>Τεχνικά χαρακτηριστικά</strong></span></span><br>\n
        <ul>\n
        \t<li>Κατασκευή από χαρτί ειδικά σχεδιασμένο για φωτιστικά αντοχής.</li>\n
        \t<li>Ο σχεδιασμός του καπέλου επιτρέπει στο φως να διαχέεται εκπληκτικά όταν το φωτιστικό είναι σε λειτουργία.</li>\n
        \t<li>Φέρει θέση για έναν λαμπτήρα Ε27 ο οποίος δεν συμπεριλαμβάνεται στη συσκευασία.</li>\n
        \t<li>Αυξομείωση ύψους που σας δίνει την αυτονομία να τοποθετήσετε το φωτιστικό με βάση τις απαιτήσεις του χώρου σας και τις προσωπικές σας απαιτήσεις.</li>\n
        \t<li>Προσφέρεται σε χρώμα φυσικό.</li>\n
        </ul><span class="cs8926E06"><strong>Διάσταση προϊόντος:</strong></span> <br>\n
        <ul>\n
        \t<li>Μήκος: 30 εκ.</li>\n
        \t<li>Πλάτος: 30 εκ.</li>\n
        \t<li>Υψος καπελου: 24 εκ</li>\n
        \t<li>Συνολικό Ύψος: 75 εκ.\n
        \t</li>\n
        </ul><span class="cs8926E06"><strong><span class="cs3232DC9D">Παρατηρήσεις:</span></strong></span><br>\n
        <ul>\n
        \t<li><span class="cs1B16EEB5">Το προϊόν παραδίδεται σε εργοστασιακή συσκευασία .</span></li>\n
        \t<li>Η χρωματική απόχρωση του προϊόντος ενδέχεται να διαφέρει ελαφρώς σε σχέση με την φωτογραφική απεικόνισή του στην οθόνη σας.</li>\n
        </ul>
        """
      #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