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 {#13364
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#9352 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#13269
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13365 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13358 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#7061 …}
    #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 {#13364
  -cart: BitBag\OpenMarketplace\Component\Order\Entity\Order {#9352 …}
  -cartItem: BitBag\OpenMarketplace\Component\Order\Entity\OrderItem {#13269
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13365 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13358 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: Sylius\Component\Core\Model\ProductVariant {#7061 …}
    #productName: null
    #variantName: null
  }
}
same as passed value
product
BitBag\OpenMarketplace\Component\Product\Entity\Product {#7055
  #id: 215
  #code: "ingressofabiojr-6"
  #attributes: Doctrine\ORM\PersistentCollection {#4744 …}
  #variants: Doctrine\ORM\PersistentCollection {#7183 …}
  #options: Doctrine\ORM\PersistentCollection {#7211 …}
  #associations: Doctrine\ORM\PersistentCollection {#7190 …}
  #createdAt: DateTime @1712253384 {#7032
    date: 2024-04-04 17:56:24.0 UTC (+00:00)
  }
  #updatedAt: DateTime @1712253384 {#7051
    date: 2024-04-04 17:56:24.0 UTC (+00:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#7281 …}
  #translationsCache: [
    "pt_BR" => Sylius\Component\Core\Model\ProductTranslation {#7285
      #locale: "pt_BR"
      #translatable: BitBag\OpenMarketplace\Component\Product\Entity\Product {#7055}
      #id: 186
      #name: "Ingresso Show Fábio JR"
      #slug: "ingressofabiojr"
      #description: "Ingresso exclusivo para o show de Fábio Jr.: uma experiência imperdível de música e emoção ao vivo com um dos maiores ícones da música brasileira. Garanta seu lugar para uma noite inesquecível!"
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: null
    }
  ]
  #currentLocale: "pt_BR"
  #currentTranslation: null
  #fallbackLocale: "en_US"
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#7136 …}
  #channels: Doctrine\ORM\PersistentCollection {#7114 …}
  #mainTaxon: null
  #reviews: Doctrine\ORM\PersistentCollection {#7282 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#7038 …}
  #vendor: Proxies\__CG__\BitBag\OpenMarketplace\Component\Vendor\Entity\Vendor {#7094 …}
  #deleted: false
}
same as passed value

Resolved Options

View Variables