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 {#6037
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4560 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5964
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#6034 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#6032 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3146 …}
    #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 {#6037
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4560 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5964
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#6034 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#6032 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#3146 …}
    #productName: null
    #variantName: null
  }
}
same as passed value
product
BitBag\OpenMarketplace\Component\Product\Entity\Product {#2979
  #id: 205355
  #code: "12-HM459.01"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1706721384 {#2983
    date: 2024-01-31 17:16:24.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1708004748 {#2955
    date: 2024-02-15 13:45:48.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: 385049
      #name: "ΒΑΣΗ ΑΛΟΥΜΙΝΙΟΥ ΠΤΥΣΣΟΜΕΝΗ HM459.01 ΜΑΥΡΟ ΜΑΤ 69Χ69Χ73-92Υεκ. ΜΕ ΣΤΑΥΡΟ 48Χ48εκ."
      #slug: "basi-alouminiou-ptyssomeni-hm45901-mauro-mat-69x69x73-92yek-me-stauro-48x48ek-205355"
      #description: """
        Βάση τραπεζιού HΜ459.01 κατασκευασμένη από αλουμίνιο σε μαύρη ματ απόχρωση, με ρεγουλατόρους.<br />\n
        Βάση στήριξης πτυσσόμενη για ελάχιστο χώρο αποθήκευσης.<br />\n
        <br />\n
        Διαστάσεις στηρίγματος επιφάνειας: 48x48 εκ.<br />\n
        Διαστάσεις βάσης: 69x69 εκ.<br />\n
        Ύψος βάσης: 73Υεκ. με τη βάση στήριξης επιφάνειας σε οριζόντια θέση<br />\n
                            92Υεκ. με τη βάση στήριξης επιφάνειας σε κάθετη θέση<br />\n
        <br />\n
        Η Βάση ενδείκνυται για επιφάνεια Φ60cm ή 60x60cm ή Φ70cm ή 70x70cm ή Φ80cm ή 80x80cm.<br />\n
        <br />\n
        Σημαντική Σημείωση<br />\n
        <br />\n
        Προσοχή: Οι ξυλόβιδες που περιέχονται στην συσκευασία για να βιδωθεί το καπάκι <br />\n
        ενδέχεται να μην είναι κατάλληλες για το καπάκι που επιλέγετε.<br />\n
        Ελέγχετε πάντα το ύψος της βίδας πριν βιδώστε.
        """
      #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