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 {#5953
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4539 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5880
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5950 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5948 …}
    #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 {#5953
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4539 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5880
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5950 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5948 …}
    #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: 890351
  #code: "12-14720019"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1717170437 {#2983
    date: 2024-05-31 15:47:17.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1717170437 {#2955
    date: 2024-05-31 15:47:17.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: 21995164
      #name: "ΤΡΑΠΕΖΙ ARTELIBRE ECO ΠΤΥΣΣΟΜΕΝΟ ΑΝΟΙΧΤΟ ΓΚΡΙ ΠΛΑΣΤΙΚΟ/ΜΕΤΑΛΛΟ 70X120X75CM"
      #slug: "trapezi-artelibre-eco-ptyssomeno-anoixto-gkri-plastikometallo-70x120x75cm-890351"
      #description: """
        <p>Το τραπέζι ArteLibre Eco σε ανοιχτό γκρι χρώμα προσφέρει έναν κομψό και πρακτικό σχεδιασμό για τον εξωτερικό σας χώρο. Κατασκευασμένο από ανακυκλωμένο πλαστικό και μεταλλικό σκελετό, εξασφαλίζει ανθεκτικότητα και μακροχρόνια χρήση. Με διαστάσεις 70x120x75cm, το τραπέζι είναι ιδανικό για μπαλκόνια, κήπους ή αίθρια. Ο πτυσσόμενος σχεδιασμός του διευκολύνει την αποθήκευση και εξοικονόμηση χώρου. Η κομψή του εμφάνιση προσθέτει στυλ και λειτουργικότητα στο περιβάλλον σας.</p><br/><br/><p>Τραπέζι eco πτυσσόμενο</p>\n
        <ul>\n
        <li><strong>Υλικό</strong>: ανακυκλωμένο πλαστικό, μέταλλο</li>\n
        <li><strong>Χρώμα</strong>: ανοιχτό γκρι</li>\n
        <li><strong>Διαστάσεις</strong>: 70x120x75cm</li>\n
        <li>Κατασκευασμένο από ανακυκλωμένα υλικά για μεγαλύτερη ανθεκτικότητα και αντοχή στο χρόνο</li>\n
        <li>Πτυσσόμενος σχεδιασμός για εύκολη αποθήκευση</li>\n
        <li>Κομψός και πρακτικός σχεδιασμός</li>\n
        </ul><br/><br/><p><b>Διαστάσεις:</b><br/>Συνολικό Βάρος: 7.5 κιλά <br/>Συνολικός όγκος: 0.14 κυβικά μέτρα <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