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 {#5951
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4545 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5878
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5948 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5946 …}
    #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 {#5951
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#4545 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#5878
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#5948 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#5946 …}
    #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: 853881
  #code: "18-2024861300015"
  #attributes: Doctrine\ORM\PersistentCollection {#3016 …}
  #variants: Doctrine\ORM\PersistentCollection {#3072 …}
  #options: Doctrine\ORM\PersistentCollection {#3097 …}
  #associations: Doctrine\ORM\PersistentCollection {#3084 …}
  #createdAt: DateTime @1714411934 {#2983
    date: 2024-04-29 17:32:14.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1714411934 {#2955
    date: 2024-04-29 17:32:14.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: 13490690
      #name: "Beauty Home Ριχτάρια σετ 2τμχ Art 8613 (180x250 + 180x300) Πράσινο"
      #slug: "beauty-home-rixtaria-set-2tmx-art-8613-180x250-180x300-prasino-853881"
      #description: """
        Τα νέα καλοκαιρινά ριχτάρια της Beauty Home με 80% βαμβάκι και 20% πολυεστέρα είναι ιδανικά για να δώσουν μια αίσθηση φρεσκάδας και ανεμελιάς στον χώρο σας κατά τους θερινούς μήνες. Η σύνθεσή τους που περιλαμβάνει υψηλά ποσοστά βαμβακιού και λίγο πολυεστέρα προσφέρει έναν ισορροπημένο συνδυασμό αντοχής και απαλότητας. Το βαμβάκι προσφέρει φυσική υφή και διαπνοή, ενώ ο πολυεστέρας προσθέτει ανθεκτικότητα και αντίσταση στο ξεθώριασμα και τις καταπονήσεις.\n
         Η ελαφριά υφή τους καθιστά ιδανικά για την καλοκαιρινή περίοδο, επιτρέποντας στον αέρα να κυκλοφορεί ελεύθερα μεταξύ των ινών και να διατηρεί τον χώρο δροσερό και άνετο. Επιπλέον, η εύκαμπτη υφή τους τα καθιστά εύκολα στη φροντίδα και στο πλύσιμο.\n
         Διαθέσιμα σε μια ποικιλία χρωμάτων και σχεδίων, τα καλοκαιρινά ριχτάρια καναπέ με 80% βαμβάκι και 20% πολυεστέρα αναβαθμίζουν άμεσα την αισθητική του χώρου σας, προσθέτοντας έναν αέρα φρεσκάδας και κομψότητας που αντικατοπτρίζει τη φύση της εποχής δημιουργώντας έναν περιβάλλον που εκπέμπει φρεσκάδα και μοντέρνα αισθητική. Το σετ δύο τεμαχίων περιλαμβάνει ένα ριχτάρι σε διάσταση 180x250 και ένα ριχτάρι σε διάσταση 180x300.
        """
      #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