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 {#5969
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4551 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5896
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5966 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5964 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3160 …}
    #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 {#5969
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4551 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5896
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5966 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5964 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3160 …}
    #productName: null
    #variantName: null
  }
}
same as passed value
product
BitBag\OpenMarketplace\Component\Product\Entity\Product {#2979
  #id: 900846
  #code: "12-315-000008"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1720059529 {#2983
    date: 2024-07-04 02:18:49.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1720059529 {#2955
    date: 2024-07-04 02:18:49.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: 31856826
      #name: "ΚΟΝΣΟΛΑ NASIOL INART ΦΥΣΙΚΟ ΜΑΣΙΦ ΞΥΛΟ TEAK 120X40X75ΕΚ"
      #slug: "konsola-nasiol-inart-fysiko-masif-ksylo-teak-120x40x75ek-900846"
      #description: """
        Ανανεώστε τον χώρο σας και δώστε του νέα πνοή με την κονσόλα Nasiol. Κατασκευασμένh από ποιοτικά υλικά, συνδυάζει εργονομία και λειτουργικότητα προσφέροντας ένα άψογο οπτικό αποτέλεσμα!<br><br><strong>Τεχνικά χαρακτηριστικά:</strong><br>\n
        <ul>\n
        \t<li>Κατασκευή από μασίφ teak ξύλο. </li>\n
        \t<li>Προσφέρεται σε χρώμα φυσικό.</li>\n
        </ul><strong>Διαστάσεις:</strong><br>\n
        <ul>\n
        \t<li>Μήκος: 120 εκ.</li>\n
        \t<li>Πλάτος: 40 εκ.</li>\n
        \t<li>Ύψος: 75 εκ.</li>\n
        </ul><strong>Πληροφορίες υλικών:</strong><br>\n
        <ul>\n
        \t<li>Teak ξύλο:Είναι ένα είδος ξύλου που προέρχεται από το δέντρο Tectona grandis. Είναι γνωστό για την υψηλή του αντοχή και ανθεκτικότητα στη διάβρωση και την υγρασία. Έχει εξαιρετική αντίσταση στις καιρικές συνθήκες και αντοχή στην υγρασία, κάνοντάς το ιδανικό για εξωτερικές εφαρμογές. Επιπλέον, έχει φυσικά χαρακτηριστικά νερά και χρώματα που το καθιστούν πολύ ελκυστικό. Η χρωματική του απόχρωση μπορεί να ποικίλει από χρυσαφί έως καφέ με γκρι τόνους. </li>\n
        </ul><strong>Οδηγίες συντήρησης:</strong><br>\n
        <ul>\n
        \t<li>Teak ξύλο: Για τον καθαρισμό του teakwood, χρησιμοποιήστε ένα μαλακό πανί ελαφρά εμποτισμένο με νερό και ήπιο σαπούνι. Ξεπλύνετε καλά και στεγνώστε με ένα καθαρό πανί.</li>\n
        </ul><strong>Παρατηρήσεις: </strong><br>\n
        <ul>\n
        \t<li>Το προϊόν παραδίδεται σε εργοστασιακή συσκευασία.</li>\n
        \t<li>Η χρωματική απόχρωση του προϊόντος ενδέχεται να διαφέρει ελαφρώς σε σχέση με την φωτογραφική απεικόνισή του στην οθόνη σας.</li>\n
        </ul><br><br>
        """
      #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