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 {#5993
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4545 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5920
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5990 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5988 …}
    #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 {#5993
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4545 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5920
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5990 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5988 …}
    #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: 904774
  #code: "13-100-1167-2"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1721268585 {#2983
    date: 2024-07-18 02:09:45.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1721268585 {#2955
    date: 2024-07-18 02:09:45.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: 37409900
      #name: "Wiltshire Μαχαιροπήρουνα Σετ 30 Τμχ Ανοξείδωτο Ατσάλι Ruby με Φινίρισμα Ασήμι"
      #slug: "wiltshire-maxairopirouna-set-30-tmx-anokseidoto-atsali-ruby-me-finirisma-asimi-904774"
      #description: """
        <p>Σετ Μαχαιροπίρουνα 30 τεμάχια σε μίνιμαλ σχεδιασμό και φινίρισμα καθρέφτη.</p>\n
        <p>Θα δώσουν στυλ σε κάθε καθημερινή ή εορταστική περίσταση.</p>\n
        <p>Είναι κατασκευασμένα από ανοξείδωτο ατσάλι , ασφαλές και ανθεκτικό που προσφέρει μεγάλη διάρκεια ζωής.</p>\n
        <p>Το προϊόν έχει εξαιρετικά εργονομική δομή και παρέχει καλό κράτημα.</p>\n
        <p><strong>Χαρακτηριστικά</strong></p>\n
        <ul>\n
        <li>Κατασκευασμένα από <strong>Cromargan® 18/10 stainless steel</strong></li>\n
        <li>Δεν σκουριάζουν – <strong>Εξαιρετικά ανθεκτικά</strong></li>\n
        <li>Κατάλληλα για χρήση στο <strong>πλυντήριο πιάτων</strong></li>\n
        <li>Designed by Wiltshire (Trusted & Tested since 1938)</li>\n
        </ul>\n
        <p>Το κάθε σετ περιλαμβάνει:</p>\n
        <ul>\n
        <li>6 x κουτάλια φαγητού</li>\n
        <li>6 x πιρούνια φαγητού</li>\n
        <li>6 x μαχαίρια φαγητού</li>\n
        <li>6 x κουταλάκια του γλυκού</li>\n
        <li>6 x πιρουνάκια φρούτου</li>\n
        </ul>\n
        <p> </p>\n
        <p>*Περιλαμβάνεται κουτί αποθήκευσης.</p>\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