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 {#5971
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4551 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5898
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5968 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5966 …}
    #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 {#5971
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4551 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5898
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5968 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5966 …}
    #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: 860933
  #code: "12-104-000001"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1715393150 {#2983
    date: 2024-05-11 02:05:50.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1715393150 {#2955
    date: 2024-05-11 02:05:50.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: 17389428
      #name: "ΡΑΦΙΕΡΑ ΤΟΙΧΟΥ MATISSE PAKOWORLD ΜΕΤΑΛΛΙΚΗ ΧΡΩΜΑ ΜΑΥΡΟ 50X10X44ΕΚ"
      #slug: "rafiera-toixou-matisse-pakoworld-metalliki-xroma-mauro-50x10x44ek-860933"
      #description: """
        <span class="cs5BEC2C28"></span>Ραφιέρα τοίχου Matisse pakoworld μεταλλική χρώμα μαύρο 50x10x44εκ<span class="csB0EFEC6E"></span><br />\n
        <span class="cs8926E06"><br />\n
        Για εσάς  που ψάχνετε μία ξεχωριστή ραφιέρα για να ανανεώσετε καλαίσθητα το χώρο σας, η σειρά Matisse είναι η ιδανική πρόταση.<br />\n
         </span><br />\n
        <span class="cs5BEC2C28">Τεχνικά χαρακτηριστικά:</span><span class="cs8926E06"><br />\n
        * Μεταλλικός σκελετός σε μαύρο χρώμα</span><br />\n
        <span class="cs8926E06">* Φέρει πολλαπλά ράφια για την προβολή των αγαπημένων σας αξεσουάρ. </span><br />\n
        <span class="cs8926E06"></span><br />\n
        <span class="cs5BEC2C28">Διάσταση προϊόντος:</span><span class="cs8926E06"><br />\n
        Μήκος: 50  εκ.<br />\n
        Πλάτος: 10  εκ.<br />\n
        Ύψος: 44 εκ.</span><br />\n
        <br />\n
        <span class="cs5BEC2C28">Παρατηρήσεις:</span><span class="cs8926E06"><br />\n
        *Το προϊόν παραδίδεται μονταρισμένο, σε εργοστασιακή συσκευασία<br />\n
        <span class="cs8926E06">*Η χρωματική απόχρωση του προϊόντος ενδέχεται να διαφέρει ελαφρώς σε σχέση με την φωτογραφική απεικόνισή του στην οθόνη σας</span></span>
        """
      #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