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 {#5954
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4539 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5881
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5951 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5949 …}
    #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 {#5954
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4539 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5881
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5951 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5949 …}
    #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: 862348
  #code: "19-600-11348"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1715617565 {#2983
    date: 2024-05-13 16:26:05.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1715617565 {#2955
    date: 2024-05-13 16:26:05.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: 18349020
      #name: "ΣΕΙΡΑ 1200 LED 3MM AΝΑ 5CM  ΨΥΧΡΟ ΛΕΥΚΟ ΣΤΑΘΕΡΟ LED ΙΡ44 - 600-11348 | MAGIC CHRISTMAS"
      #slug: "seira-1200-led-3mm-ana-5cm-psyxro-leuko-stathero-led-ir44-600-11348-magic-christmas-862348"
      #description: """
        <h2><span style="font-size:14px"><span style="font-family:verdana,geneva,sans-serif"><strong>ΣΕΙΡΑ 1200 LED 3MM AΝΑ 5CM 31V ΣΤΑΘΕΡΟ ΠΡΑΣΙΝΟ ΚΑΛΩΔΙΟ ΨΥΧΡΟ ΛΕΥΚΟ LED ΙΡ44 - 600-11348 | MAGIC CHRISTMAS</strong></span></span></h2>\r\n
        \r\n
        <div class="active tab-pane" id="productproperties" style="background-attachment:initial; background-clip:initial; background-image:initial; background-origin:initial; background-position:initial; background-repeat:initial; background-size:initial; border-radius:inherit; box-sizing:border-box; font-family:ceragr-regularuploaded_file,sans-serif; font-size:14px; margin-bottom:0; margin-left:0; margin-right:0; margin-top:0; padding:0px">\r\n
        <div id="ContentPlaceHolderMain_pnl_properties" style="box-sizing:border-box; margin-bottom:0; margin-left:0; margin-right:0; margin-top:0; padding:0px">\r\n
        <div class="productproperties" style="box-sizing:border-box; margin-bottom:0; margin-left:0; margin-right:0; margin-top:0; padding:0px">\r\n
        <ul>\r\n
        \t<li>Κατηγορία:Σειρά/Line</li>\r\n
        \t<li>Τύπος λαμπτήρα:LED</li>\r\n
        \t<li>Συνολικός Αριθμός Λαμπτήρων/Λαμπάκια:1200</li>\r\n
        \t<li>Χρώμα καλωδίου:Πράσινο/Green</li>\r\n
        \t<li>Χρώμα λαμπτήρα:Λευκό/White</li>\r\n
        \t<li>Θερμοκρασία Χρώματος (Kelvin):7500-8500</li>\r\n
        \t<li>Μέγεθος λαμπτήρα (mm):3</li>\r\n
        \t<li><strong>Μήκος (cm):5995</strong></li>\r\n
        \t<li>Απόσταση λαμπτήρων (cm):5</li>\r\n
        \t<li><strong>Προέκταση παροχής (cm):300</strong></li>\r\n
        \t<li>Τροφοδοσία:Μετασχηματιστής/Adaptor</li>\r\n
        \t<li>Είσοδος/Έξοδος Μετασχηματιστή:Input:110-240V-50-60Hz/Output:31V-270mA-8,4W</li>\r\n
        \t<li>Watt Μετασχηματιστή:8,4</li>\r\n
        \t<li>Volt_Amber_Watt/Led ή Λαμπάκι:3V-20mA-0,06W</li>\r\n
        \t<li>Συνολική κατανάλωση σε Watt:8.4</li>\r\n
        \t<li>Βαθμός Στεγανότητας (IP):<strong>IP44</strong></li>\r\n
        \t<li>Τύπος καλωδίου:PVC</li>\r\n
        \t<li>Διατομή καλωδίου Παροχής (mm):1.6</li>\r\n
        \t<li>Διατομή χαλκού Παροχής (mm):0.15</li>\r\n
        \t<li>Ώρες λειτουργίας:50.000 Ώρες/Hours</li>\r\n
        </ul>\r\n
        </div>\r\n
        </div>\r\n
        </div>\r\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