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 {#5961
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4545 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5888
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5958 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5956 …}
    #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 {#5961
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4545 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5888
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5958 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5956 …}
    #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: 205780
  #code: "12-ΗΜ5737.03+ΗΜ5591.03(Χ4)"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1706722166 {#2983
    date: 2024-01-31 17:29:26.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1708005695 {#2955
    date: 2024-02-15 14:01:35.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: 385899
      #name: "ΣΕΤ 5ΤΜΧ ΤΡΑΠΕΖΙ & ΚΑΡΕΚΛΕΣ ΠΟΛΥΠΡΟΠΥΛΕΝΙΟΥ RATTAN ΣΕ ΧΡΩΜΑ ΚΑΦΕ HM10575.03"
      #slug: "set-5tmx-trapezi-karekles-polypropyleniou-rattan-se-xroma-kafe-hm1057503-205780"
      #description: """
        ΤΟ ΣΕΤ ΠΕΡΙΛΑΜΒΑΝΕΙ<br />\n
        <br />\n
        Ένα τραπέζι πολυπροπυλενίου εξωτερικού χώρου σε καφέ απόχρωση με rattan λεπτομέρειες περιμετρικά της επιφάνειας. Διαθέτει UV protection για μεγαλύτερη προστασία από τον ήλιο.<br />\n
        Διαστ. Τραπεζιού: 150x90x73,5Υ εκ.<br />\n
        <br />\n
        Τέσσερις πολυθρόνες εξωτερικού χώρου με μπράτσα από πολυπροπυλένιο και πόδια αλουμινίου σε μοντέρνο σχεδιασμό και μεγάλη αντοχή σε καφέ απόχρωση. Πολύ στοιβαρής κατασκευής.<br />\n
        Διαστάσεις: 60x60x82 εκ.<br />\n
        Ύψος καθίσματος: 46 εκ.<br />\n
        Ύψος μπράτσων: 67 εκ.<br />\n
        Διαστάσεις καθίσματος: 32-45x42 εκ.
        """
      #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