Forms
sylius_shop_add_to_cart
Form type:
"Sylius\Bundle\ShopBundle\Form\Type\AddToCartType"
Errors
This form has no errors.
Default Data
| Property | Value |
|---|---|
| Model Format | same as normalized format |
| Normalized Format | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#20288 -cart: App\Entity\Order\Order {#14157 …} -cartItem: App\Entity\Order\OrderItem {#20274 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#20275 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#20273 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#19966 …} #productName: null #variantName: null -vendor: null -wpId: null -wpData: 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 {#20288 -cart: App\Entity\Order\Order {#14157 …} -cartItem: App\Entity\Order\OrderItem {#20274 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#20275 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#20273 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#19966 …} #productName: null #variantName: null -vendor: null -wpId: null -wpData: null } } |
same as passed value |
| product | App\Entity\Product\Product {#10350 #id: 8154 #code: "lot-2-ampolles-vidre-oli-verge-extra-agroigualada" #attributes: Doctrine\ORM\PersistentCollection {#10359 …} #variants: Doctrine\ORM\PersistentCollection {#10361 …} #options: Doctrine\ORM\PersistentCollection {#10365 …} #associations: Doctrine\ORM\PersistentCollection {#10363 …} #createdAt: DateTime @1757003578 {#10348 : 2025-09-04 16:32:58.0 UTC (+00:00) } #updatedAt: DateTime @1757003578 {#10349 : 2025-09-04 16:32:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#10368 …} #translationsCache: [ "ca" => App\Entity\Product\ProductTranslation {#10369 #locale: "ca" #translatable: App\Entity\Product\Product {#10350} #id: 8762 #name: "Lot de 2 ampolles oli Verge Extra Agro Igualada 500ml" #slug: "lot-2-ampolles-vidre-oli-verge-extra-agroigualada" #description: """ <h1 data-start="118" data-end="245">Lot de 2 ampolles oli Verge Extra Agro Igualada</h1>\n <p>El lot conté:</p>\n <p>2 ampolles d'oli Verfe Extra de 500ml.</p>\n <p><strong>ELABORACIÓ:</strong></p>\n <p data-start="118" data-end="245">Procedent de les millors olives arbequines collides a la comarca de l’Anoia i elaborat artesanalment al molí de la cooperativa.</p>\n <p data-start="247" data-end="418">Aquest oli d’oliva de categoria superior s’obté directament de les olives mitjançant processos exclusivament mecànics: rentat, trituració, batut, decantació i centrifugat.</p>\n <p data-start="420" data-end="567">És pur suc d’oliva, 100% natural. No conté cap tipus d’additiu ni conservant, i no ha estat sotmès a cap procés químic ni barrejat amb altres olis.</p>\n <p data-start="569" data-end="689">La certificació <strong data-start="585" data-end="600">VERGE EXTRA</strong> assegura que conserva totes les propietats saludables pròpies d’un oli de gran qualitat.</p>\n <p data-start="569" data-end="689"><strong>NOTES DE TAST:</strong></p>\n <p data-start="691" data-end="813">Presenta un perfil equilibrat i aromàtic, amb un fruitat mitjà característic de l’oliva arbequina.<br data-start="789" data-end="792" />Acidesa màxima: 0,2º.</p>\n <p data-start="815" data-end="1013">A diferència d’altres varietats, l’oliva arbequina no aporta amargor, cosa que la fa molt versàtil a la cuina: ideal per amanir, marinar, confitar, fregir o fins i tot per a l’elaboració de postres.</p>\n <p data-start="1015" data-end="1070">Guardeu-lo en un lloc fresc, sec i protegit de la llum.</p>\n """ #metaKeywords: null #metaDescription: null #shortDescription: """ <p><strong>2 ampolles de vidre de 0.5l amb tap dosificador</strong></p>\n <p><strong>oli d’olives arbequines</strong></p>\n <p><strong>Equilibrat, aromàtic, fruitat, intensitat mitjana</strong></p>\n <p> </p>\n """ -ogTitle: null -ogDescription: null } ] #currentLocale: "ca" #currentTranslation: null #fallbackLocale: "ca" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#10351 …} #channels: Doctrine\ORM\PersistentCollection {#10357 …} #mainTaxon: null #reviews: Doctrine\ORM\PersistentCollection {#10353 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#10355 …} -minQuantity: null -maxQuantity: null -stepQuantity: null -vendor: App\Entity\Marketplace\Vendor {#8753 …} -wpPermalink: "https://www.agrobotigues.coop/agroigualada/producte/lot-2-ampolles-vidre-oli-verge-extra-agroigualada/" -ogImage: null -ogImageFile: null -wpId: 281 -wpData: [ "id" => 281 "name" => "Lot de 2 ampolles oli Verge Extra Agro Igualada 500ml" "slug" => "lot-2-ampolles-vidre-oli-verge-extra-agroigualada" "permalink" => "https://www.agrobotigues.coop/agroigualada/producte/lot-2-ampolles-vidre-oli-verge-extra-agroigualada/" "date_created" => "2020-09-24T11:00:06" "date_created_gmt" => "2020-09-24T09:00:06" "date_modified" => "2025-07-14T13:26:33" "date_modified_gmt" => "2025-07-14T11:26:33" "type" => "simple" "status" => "publish" "featured" => false "catalog_visibility" => "visible" "description" => """ <h1 data-start="118" data-end="245">Lot de 2 ampolles oli Verge Extra Agro Igualada</h1>\n <p>El lot conté:</p>\n <p>2 ampolles d'oli Verfe Extra de 500ml.</p>\n <p><strong>ELABORACIÓ:</strong></p>\n <p data-start="118" data-end="245">Procedent de les millors olives arbequines collides a la comarca de l’Anoia i elaborat artesanalment al molí de la cooperativa.</p>\n <p data-start="247" data-end="418">Aquest oli d’oliva de categoria superior s’obté directament de les olives mitjançant processos exclusivament mecànics: rentat, trituració, batut, decantació i centrifugat.</p>\n <p data-start="420" data-end="567">És pur suc d’oliva, 100% natural. No conté cap tipus d’additiu ni conservant, i no ha estat sotmès a cap procés químic ni barrejat amb altres olis.</p>\n <p data-start="569" data-end="689">La certificació <strong data-start="585" data-end="600">VERGE EXTRA</strong> assegura que conserva totes les propietats saludables pròpies d’un oli de gran qualitat.</p>\n <p data-start="569" data-end="689"><strong>NOTES DE TAST:</strong></p>\n <p data-start="691" data-end="813">Presenta un perfil equilibrat i aromàtic, amb un fruitat mitjà característic de l’oliva arbequina.<br data-start="789" data-end="792" />Acidesa màxima: 0,2º.</p>\n <p data-start="815" data-end="1013">A diferència d’altres varietats, l’oliva arbequina no aporta amargor, cosa que la fa molt versàtil a la cuina: ideal per amanir, marinar, confitar, fregir o fins i tot per a l’elaboració de postres.</p>\n <p data-start="1015" data-end="1070">Guardeu-lo en un lloc fresc, sec i protegit de la llum.</p>\n """ "short_description" => """ <p><strong>2 ampolles de vidre de 0.5l amb tap dosificador</strong></p>\n <p><strong>oli d’olives arbequines</strong></p>\n <p><strong>Equilibrat, aromàtic, fruitat, intensitat mitjana</strong></p>\n <p> </p>\n """ "sku" => "" "price" => "18.2212" "regular_price" => "18.2212" "sale_price" => "" "date_on_sale_from" => null "date_on_sale_from_gmt" => null "date_on_sale_to" => null "date_on_sale_to_gmt" => null "price_html" => "<span class="woocommerce-Price-amount amount"><bdi>18,95<span class="woocommerce-Price-currencySymbol">€</span></bdi></span> <small class="woocommerce-price-suffix">IVA inc.</small>" "on_sale" => false "purchasable" => true "total_sales" => 0 "virtual" => false "downloadable" => false "downloads" => [] "download_limit" => -1 "download_expiry" => -1 "external_url" => "" "button_text" => "" "tax_status" => "taxable" "tax_class" => "tipus-superreduit" "manage_stock" => false "stock_quantity" => null "stock_status" => "instock" "backorders" => "no" "backorders_allowed" => false "backordered" => false "sold_individually" => false "weight" => "1.9" "dimensions" => [ "length" => "19" "width" => "10" "height" => "34" ] "shipping_required" => true "shipping_taxable" => true "shipping_class" => "" "shipping_class_id" => 0 "reviews_allowed" => true "average_rating" => "0.00" "rating_count" => 0 "related_ids" => [ 578 172 210 168 ] "upsell_ids" => [] "cross_sell_ids" => [] "parent_id" => 0 "purchase_note" => "" "categories" => [ [ "id" => 92 "name" => "Oli d'oliva" "slug" => "oli-oliva" ] ] "tags" => [] "images" => [ [ "id" => 282 "date_created" => "2020-09-24T12:58:51" "date_created_gmt" => "2020-09-24T08:58:51" "date_modified" => "2020-09-24T12:58:51" "date_modified_gmt" => "2020-09-24T08:58:51" "src" => "https://www.agrobotigues.coop/agroigualada/wp-content/uploads/sites/7/2020/09/50540_pack-2.jpg-scaled.jpg" "name" => "50540_pack 2.jpg" "alt" => "" ] ] "attributes" => [ [ "id" => 1 "name" => "Format" "position" => 0 "visible" => true "variation" => false "options" => [ "Ampolla de vidre de 500 ml" ] ] ] "default_attributes" => [] "variations" => [] "grouped_products" => [] "menu_order" => 0 "meta_data" => [ [ "id" => 1656 "key" => "product_adjustment_hide_addtocart_catalog" "value" => "no" ] [ "id" => 1657 "key" => "product_adjustment_hide_addtocart_catalog_shop" "value" => "yes" ] [ "id" => 1658 "key" => "product_adjustment_hide_addtocart_catalog_product" "value" => "yes" ] [ "id" => 1659 "key" => "product_adjustment_hide_addtocart_placeholder_catalog" "value" => "" ] [ "id" => 1660 "key" => "product_adjustment_customize_addtocart_catalog" "value" => "no" ] [ "id" => 1661 "key" => "product_adjustment_customize_addtocart_prod_btn_text_catalog" "value" => "" ] [ "id" => 1662 "key" => "product_adjustment_customize_addtocart_shop_btn_text_catalog" "value" => "" ] [ "id" => 1663 "key" => "product_adjustment_customize_addtocart_btn_url_catalog" "value" => "" ] [ "id" => 1664 "key" => "product_adjustment_hide_price_catalog" "value" => "no" ] [ "id" => 1665 "key" => "product_adjustment_hide_price_placeholder_catalog" "value" => "" ] [ "id" => 1666 "key" => "product_adjustment_exclude_admin_catalog" "value" => "no" ] [ "id" => 1667 "key" => "product_adjustment_hide_addtocart_unregistered" "value" => "no" ] [ "id" => 1668 "key" => "product_adjustment_hide_addtocart_unregistered_shop" "value" => "yes" ] [ "id" => 1669 "key" => "product_adjustment_hide_addtocart_unregistered_product" "value" => "yes" ] [ "id" => 1670 "key" => "product_adjustment_hide_addtocart_placeholder_unregistered" "value" => "" ] [ "id" => 1671 "key" => "product_adjustment_customize_addtocart_unregistered" "value" => "no" ] [ "id" => 1672 "key" => "product_adjustment_customize_addtocart_prod_btn_text_unregistered" "value" => "" ] [ "id" => 1673 "key" => "product_adjustment_customize_addtocart_shop_btn_text_unregistered" "value" => "" ] [ "id" => 1674 "key" => "product_adjustment_customize_addtocart_btn_url_unregistered" "value" => "" ] [ "id" => 1675 "key" => "eh_pricing_adjustment_product_addtocart_user_role" "value" => "" ] [ "id" => 1676 "key" => "product_adjustment_hide_addtocart_user_role_shop" "value" => "yes" ] [ "id" => 1677 "key" => "product_adjustment_hide_addtocart_user_role_product" "value" => "yes" ] [ "id" => 1678 "key" => "product_adjustment_hide_addtocart_placeholder_role" "value" => "" ] [ "id" => 1679 "key" => "eh_pricing_adjustment_product_customize_addtocart_user_role" "value" => "" ] [ "id" => 1680 "key" => "product_adjustment_customize_addtocart_prod_btn_text_role" "value" => "" ] [ "id" => 1681 "key" => "product_adjustment_customize_addtocart_shop_btn_text_role" "value" => "" ] [ "id" => 1682 "key" => "product_adjustment_customize_addtocart_btn_url_role" "value" => "" ] [ "id" => 1683 "key" => "product_adjustment_hide_price_placeholder_role" "value" => "" ] [ "id" => 1684 "key" => "product_adjustment_hide_price_unregistered" "value" => "no" ] [ "id" => 1685 "key" => "product_adjustment_hide_price_placeholder_unregistered" "value" => "" ] [ "id" => 1686 "key" => "eh_pricing_adjustment_product_price_user_role" "value" => "" ] [ "id" => 1687 "key" => "product_adjustment_product_visibility_unregistered" "value" => "no" ] [ "id" => 1688 "key" => "eh_pricing_adjustment_product_visibility_user_role" "value" => "" ] [ "id" => 1689 "key" => "product_based_price_adjustment" "value" => "no" ] [ "id" => 1690 "key" => "product_price_adjustment" "value" => [ "client_federat" => [ "adjustment_price" => "" "adj_prod_price_dis" => "discount" "adjustment_percent" => "" "adj_prod_percent_dis" => "discount" ] ] ] [ "id" => 1691 "key" => "product_price_adjustment_for_users" "value" => "" ] [ "id" => 1692 "key" => "product_role_based_price" "value" => [ "client_federat" => [ "role_price" => "" ] ] ] [ "id" => 1693 "key" => "product_role_based_price_client_federat" "value" => "" ] [ "id" => 1713 "key" => "_primary_term_product_cat" "value" => "92" ] [ "id" => 2503 "key" => "blog_id" "value" => "7" ] ] "_links" => [ "self" => [ [ "href" => "https://www.agrobotigues.coop/agroigualada/wp-json/wc/v3/products/281" ] ] "collection" => [ [ "href" => "https://www.agrobotigues.coop/agroigualada/wp-json/wc/v3/products" ] ] ] ] } |
same as passed value |
Resolved Options
| Option | Value |
|---|---|
| action | "" |
| allow_extra_fields | false |
| allow_file_upload | false |
| attr | [] |
| attr_translation_parameters | [] |
| auto_initialize | true |
| block_name | null |
| block_prefix | null |
| by_reference | true |
| compound | true |
| constraints | [] |
| csrf_field_name | "_token" |
| csrf_message | "The CSRF token is invalid. Please try to resubmit the form." |
| csrf_protection | true |
| csrf_token_id | null |
| csrf_token_manager | Symfony\Component\Security\Csrf\CsrfTokenManager {#7764 -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#7763 …} -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#7767 …} -namespace: Closure() {#7769 …} } |
| data | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#20288 -cart: App\Entity\Order\Order {#14157 …} -cartItem: App\Entity\Order\OrderItem {#20274 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#20275 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#20273 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#19966 …} #productName: null #variantName: null -vendor: null -wpId: null -wpData: null } } |
| data_class | "Sylius\Bundle\OrderBundle\Controller\AddToCartCommand" |
| disabled | false |
| empty_data | Closure(FormInterface $form) {#20278 : "Symfony\Component\Form\Extension\Core\Type\FormType" : { : "Sylius\Bundle\OrderBundle\Controller\AddToCartCommand" } } |
| error_bubbling | true |
| error_mapping | [] |
| extra_fields_message | "This form should not contain extra fields." |
| form_attr | false |
| getter | null |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| inherit_data | false |
| invalid_message | "This value is not valid." |
| invalid_message_parameters | [] |
| is_empty_callback | null |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| mapped | true |
| method | "POST" |
| post_max_size_message | "The uploaded file was too large. Please try to upload a smaller file." |
| priority | 0 |
| product | App\Entity\Product\Product {#10350 #id: 8154 #code: "lot-2-ampolles-vidre-oli-verge-extra-agroigualada" #attributes: Doctrine\ORM\PersistentCollection {#10359 …} #variants: Doctrine\ORM\PersistentCollection {#10361 …} #options: Doctrine\ORM\PersistentCollection {#10365 …} #associations: Doctrine\ORM\PersistentCollection {#10363 …} #createdAt: DateTime @1757003578 {#10348 : 2025-09-04 16:32:58.0 UTC (+00:00) } #updatedAt: DateTime @1757003578 {#10349 : 2025-09-04 16:32:58.0 UTC (+00:00) } #enabled: true #translations: Doctrine\ORM\PersistentCollection {#10368 …} #translationsCache: [ "ca" => App\Entity\Product\ProductTranslation {#10369 #locale: "ca" #translatable: App\Entity\Product\Product {#10350} #id: 8762 #name: "Lot de 2 ampolles oli Verge Extra Agro Igualada 500ml" #slug: "lot-2-ampolles-vidre-oli-verge-extra-agroigualada" #description: """ <h1 data-start="118" data-end="245">Lot de 2 ampolles oli Verge Extra Agro Igualada</h1>\n <p>El lot conté:</p>\n <p>2 ampolles d'oli Verfe Extra de 500ml.</p>\n <p><strong>ELABORACIÓ:</strong></p>\n <p data-start="118" data-end="245">Procedent de les millors olives arbequines collides a la comarca de l’Anoia i elaborat artesanalment al molí de la cooperativa.</p>\n <p data-start="247" data-end="418">Aquest oli d’oliva de categoria superior s’obté directament de les olives mitjançant processos exclusivament mecànics: rentat, trituració, batut, decantació i centrifugat.</p>\n <p data-start="420" data-end="567">És pur suc d’oliva, 100% natural. No conté cap tipus d’additiu ni conservant, i no ha estat sotmès a cap procés químic ni barrejat amb altres olis.</p>\n <p data-start="569" data-end="689">La certificació <strong data-start="585" data-end="600">VERGE EXTRA</strong> assegura que conserva totes les propietats saludables pròpies d’un oli de gran qualitat.</p>\n <p data-start="569" data-end="689"><strong>NOTES DE TAST:</strong></p>\n <p data-start="691" data-end="813">Presenta un perfil equilibrat i aromàtic, amb un fruitat mitjà característic de l’oliva arbequina.<br data-start="789" data-end="792" />Acidesa màxima: 0,2º.</p>\n <p data-start="815" data-end="1013">A diferència d’altres varietats, l’oliva arbequina no aporta amargor, cosa que la fa molt versàtil a la cuina: ideal per amanir, marinar, confitar, fregir o fins i tot per a l’elaboració de postres.</p>\n <p data-start="1015" data-end="1070">Guardeu-lo en un lloc fresc, sec i protegit de la llum.</p>\n """ #metaKeywords: null #metaDescription: null #shortDescription: """ <p><strong>2 ampolles de vidre de 0.5l amb tap dosificador</strong></p>\n <p><strong>oli d’olives arbequines</strong></p>\n <p><strong>Equilibrat, aromàtic, fruitat, intensitat mitjana</strong></p>\n <p> </p>\n """ -ogTitle: null -ogDescription: null } ] #currentLocale: "ca" #currentTranslation: null #fallbackLocale: "ca" #variantSelectionMethod: "choice" #productTaxons: Doctrine\ORM\PersistentCollection {#10351 …} #channels: Doctrine\ORM\PersistentCollection {#10357 …} #mainTaxon: null #reviews: Doctrine\ORM\PersistentCollection {#10353 …} #averageRating: 0.0 #images: Doctrine\ORM\PersistentCollection {#10355 …} -minQuantity: null -maxQuantity: null -stepQuantity: null -vendor: App\Entity\Marketplace\Vendor {#8753 …} -wpPermalink: "https://www.agrobotigues.coop/agroigualada/producte/lot-2-ampolles-vidre-oli-verge-extra-agroigualada/" -ogImage: null -ogImageFile: null -wpId: 281 -wpData: [ "id" => 281 "name" => "Lot de 2 ampolles oli Verge Extra Agro Igualada 500ml" "slug" => "lot-2-ampolles-vidre-oli-verge-extra-agroigualada" "permalink" => "https://www.agrobotigues.coop/agroigualada/producte/lot-2-ampolles-vidre-oli-verge-extra-agroigualada/" "date_created" => "2020-09-24T11:00:06" "date_created_gmt" => "2020-09-24T09:00:06" "date_modified" => "2025-07-14T13:26:33" "date_modified_gmt" => "2025-07-14T11:26:33" "type" => "simple" "status" => "publish" "featured" => false "catalog_visibility" => "visible" "description" => """ <h1 data-start="118" data-end="245">Lot de 2 ampolles oli Verge Extra Agro Igualada</h1>\n <p>El lot conté:</p>\n <p>2 ampolles d'oli Verfe Extra de 500ml.</p>\n <p><strong>ELABORACIÓ:</strong></p>\n <p data-start="118" data-end="245">Procedent de les millors olives arbequines collides a la comarca de l’Anoia i elaborat artesanalment al molí de la cooperativa.</p>\n <p data-start="247" data-end="418">Aquest oli d’oliva de categoria superior s’obté directament de les olives mitjançant processos exclusivament mecànics: rentat, trituració, batut, decantació i centrifugat.</p>\n <p data-start="420" data-end="567">És pur suc d’oliva, 100% natural. No conté cap tipus d’additiu ni conservant, i no ha estat sotmès a cap procés químic ni barrejat amb altres olis.</p>\n <p data-start="569" data-end="689">La certificació <strong data-start="585" data-end="600">VERGE EXTRA</strong> assegura que conserva totes les propietats saludables pròpies d’un oli de gran qualitat.</p>\n <p data-start="569" data-end="689"><strong>NOTES DE TAST:</strong></p>\n <p data-start="691" data-end="813">Presenta un perfil equilibrat i aromàtic, amb un fruitat mitjà característic de l’oliva arbequina.<br data-start="789" data-end="792" />Acidesa màxima: 0,2º.</p>\n <p data-start="815" data-end="1013">A diferència d’altres varietats, l’oliva arbequina no aporta amargor, cosa que la fa molt versàtil a la cuina: ideal per amanir, marinar, confitar, fregir o fins i tot per a l’elaboració de postres.</p>\n <p data-start="1015" data-end="1070">Guardeu-lo en un lloc fresc, sec i protegit de la llum.</p>\n """ "short_description" => """ <p><strong>2 ampolles de vidre de 0.5l amb tap dosificador</strong></p>\n <p><strong>oli d’olives arbequines</strong></p>\n <p><strong>Equilibrat, aromàtic, fruitat, intensitat mitjana</strong></p>\n <p> </p>\n """ "sku" => "" "price" => "18.2212" "regular_price" => "18.2212" "sale_price" => "" "date_on_sale_from" => null "date_on_sale_from_gmt" => null "date_on_sale_to" => null "date_on_sale_to_gmt" => null "price_html" => "<span class="woocommerce-Price-amount amount"><bdi>18,95<span class="woocommerce-Price-currencySymbol">€</span></bdi></span> <small class="woocommerce-price-suffix">IVA inc.</small>" "on_sale" => false "purchasable" => true "total_sales" => 0 "virtual" => false "downloadable" => false "downloads" => [] "download_limit" => -1 "download_expiry" => -1 "external_url" => "" "button_text" => "" "tax_status" => "taxable" "tax_class" => "tipus-superreduit" "manage_stock" => false "stock_quantity" => null "stock_status" => "instock" "backorders" => "no" "backorders_allowed" => false "backordered" => false "sold_individually" => false "weight" => "1.9" "dimensions" => [ "length" => "19" "width" => "10" "height" => "34" ] "shipping_required" => true "shipping_taxable" => true "shipping_class" => "" "shipping_class_id" => 0 "reviews_allowed" => true "average_rating" => "0.00" "rating_count" => 0 "related_ids" => [ 578 172 210 168 ] "upsell_ids" => [] "cross_sell_ids" => [] "parent_id" => 0 "purchase_note" => "" "categories" => [ [ "id" => 92 "name" => "Oli d'oliva" "slug" => "oli-oliva" ] ] "tags" => [] "images" => [ [ "id" => 282 "date_created" => "2020-09-24T12:58:51" "date_created_gmt" => "2020-09-24T08:58:51" "date_modified" => "2020-09-24T12:58:51" "date_modified_gmt" => "2020-09-24T08:58:51" "src" => "https://www.agrobotigues.coop/agroigualada/wp-content/uploads/sites/7/2020/09/50540_pack-2.jpg-scaled.jpg" "name" => "50540_pack 2.jpg" "alt" => "" ] ] "attributes" => [ [ "id" => 1 "name" => "Format" "position" => 0 "visible" => true "variation" => false "options" => [ "Ampolla de vidre de 500 ml" ] ] ] "default_attributes" => [] "variations" => [] "grouped_products" => [] "menu_order" => 0 "meta_data" => [ [ "id" => 1656 "key" => "product_adjustment_hide_addtocart_catalog" "value" => "no" ] [ "id" => 1657 "key" => "product_adjustment_hide_addtocart_catalog_shop" "value" => "yes" ] [ "id" => 1658 "key" => "product_adjustment_hide_addtocart_catalog_product" "value" => "yes" ] [ "id" => 1659 "key" => "product_adjustment_hide_addtocart_placeholder_catalog" "value" => "" ] [ "id" => 1660 "key" => "product_adjustment_customize_addtocart_catalog" "value" => "no" ] [ "id" => 1661 "key" => "product_adjustment_customize_addtocart_prod_btn_text_catalog" "value" => "" ] [ "id" => 1662 "key" => "product_adjustment_customize_addtocart_shop_btn_text_catalog" "value" => "" ] [ "id" => 1663 "key" => "product_adjustment_customize_addtocart_btn_url_catalog" "value" => "" ] [ "id" => 1664 "key" => "product_adjustment_hide_price_catalog" "value" => "no" ] [ "id" => 1665 "key" => "product_adjustment_hide_price_placeholder_catalog" "value" => "" ] [ "id" => 1666 "key" => "product_adjustment_exclude_admin_catalog" "value" => "no" ] [ "id" => 1667 "key" => "product_adjustment_hide_addtocart_unregistered" "value" => "no" ] [ "id" => 1668 "key" => "product_adjustment_hide_addtocart_unregistered_shop" "value" => "yes" ] [ "id" => 1669 "key" => "product_adjustment_hide_addtocart_unregistered_product" "value" => "yes" ] [ "id" => 1670 "key" => "product_adjustment_hide_addtocart_placeholder_unregistered" "value" => "" ] [ "id" => 1671 "key" => "product_adjustment_customize_addtocart_unregistered" "value" => "no" ] [ "id" => 1672 "key" => "product_adjustment_customize_addtocart_prod_btn_text_unregistered" "value" => "" ] [ "id" => 1673 "key" => "product_adjustment_customize_addtocart_shop_btn_text_unregistered" "value" => "" ] [ "id" => 1674 "key" => "product_adjustment_customize_addtocart_btn_url_unregistered" "value" => "" ] [ "id" => 1675 "key" => "eh_pricing_adjustment_product_addtocart_user_role" "value" => "" ] [ "id" => 1676 "key" => "product_adjustment_hide_addtocart_user_role_shop" "value" => "yes" ] [ "id" => 1677 "key" => "product_adjustment_hide_addtocart_user_role_product" "value" => "yes" ] [ "id" => 1678 "key" => "product_adjustment_hide_addtocart_placeholder_role" "value" => "" ] [ "id" => 1679 "key" => "eh_pricing_adjustment_product_customize_addtocart_user_role" "value" => "" ] [ "id" => 1680 "key" => "product_adjustment_customize_addtocart_prod_btn_text_role" "value" => "" ] [ "id" => 1681 "key" => "product_adjustment_customize_addtocart_shop_btn_text_role" "value" => "" ] [ "id" => 1682 "key" => "product_adjustment_customize_addtocart_btn_url_role" "value" => "" ] [ "id" => 1683 "key" => "product_adjustment_hide_price_placeholder_role" "value" => "" ] [ "id" => 1684 "key" => "product_adjustment_hide_price_unregistered" "value" => "no" ] [ "id" => 1685 "key" => "product_adjustment_hide_price_placeholder_unregistered" "value" => "" ] [ "id" => 1686 "key" => "eh_pricing_adjustment_product_price_user_role" "value" => "" ] [ "id" => 1687 "key" => "product_adjustment_product_visibility_unregistered" "value" => "no" ] [ "id" => 1688 "key" => "eh_pricing_adjustment_product_visibility_user_role" "value" => "" ] [ "id" => 1689 "key" => "product_based_price_adjustment" "value" => "no" ] [ "id" => 1690 "key" => "product_price_adjustment" "value" => [ "client_federat" => [ "adjustment_price" => "" "adj_prod_price_dis" => "discount" "adjustment_percent" => "" "adj_prod_percent_dis" => "discount" ] ] ] [ "id" => 1691 "key" => "product_price_adjustment_for_users" "value" => "" ] [ "id" => 1692 "key" => "product_role_based_price" "value" => [ "client_federat" => [ "role_price" => "" ] ] ] [ "id" => 1693 "key" => "product_role_based_price_client_federat" "value" => "" ] [ "id" => 1713 "key" => "_primary_term_product_cat" "value" => "92" ] [ "id" => 2503 "key" => "blog_id" "value" => "7" ] ] "_links" => [ "self" => [ [ "href" => "https://www.agrobotigues.coop/agroigualada/wp-json/wc/v3/products/281" ] ] "collection" => [ [ "href" => "https://www.agrobotigues.coop/agroigualada/wp-json/wc/v3/products" ] ] ] ] } |
| property_path | null |
| required | true |
| row_attr | [] |
| setter | null |
| translation_domain | null |
| trim | true |
| upload_max_size_message | Closure() {#20280 : "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension" : { : Symfony\Component\Translation\DataCollectorTranslator {#2027 …} : Closure() {#20283 …} : "validators" } } |
| validation_groups | [
"sylius"
] |
View Vars
| Variable | Value |
|---|---|
| action | "" |
| attr | [] |
| attr_translation_parameters | [] |
| block_prefixes | [ "form" "sylius_add_to_cart" "sylius_shop_add_to_cart" "_sylius_shop_add_to_cart" ] |
| cache_key | "_sylius_shop_add_to_cart_sylius_shop_add_to_cart" |
| compound | true |
| data | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#20288 -cart: App\Entity\Order\Order {#14157 …} -cartItem: App\Entity\Order\OrderItem {#20274 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#20275 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#20273 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#19966 …} #productName: null #variantName: null -vendor: null -wpId: null -wpData: null } } |
| disabled | false |
| errors | Symfony\Component\Form\FormErrorIterator {#20296 -errors: [] -form: Symfony\Component\Form\Form {#20313 …} } |
| form | Symfony\Component\Form\FormView {#20281 …5} |
| full_name | "sylius_shop_add_to_cart" |
| help | null |
| help_attr | [] |
| help_html | false |
| help_translation_parameters | [] |
| id | "sylius_shop_add_to_cart" |
| label | null |
| label_attr | [] |
| label_format | null |
| label_html | false |
| label_translation_parameters | [] |
| method | "POST" |
| multipart | false |
| name | "sylius_shop_add_to_cart" |
| priority | 0 |
| required | true |
| row_attr | [] |
| submitted | false |
| translation_domain | null |
| unique_block_prefix | "_sylius_shop_add_to_cart" |
| valid | true |
| value | Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#20288 -cart: App\Entity\Order\Order {#14157 …} -cartItem: App\Entity\Order\OrderItem {#20274 #id: null #order: null #quantity: 1 #unitPrice: 0 #originalUnitPrice: 0 #total: 0 #immutable: false #units: Doctrine\Common\Collections\ArrayCollection {#20275 …} #unitsTotal: 0 #adjustments: Doctrine\Common\Collections\ArrayCollection {#20273 …} #adjustmentsTotal: 0 #version: 1 #variant: App\Entity\Product\ProductVariant {#19966 …} #productName: null #variantName: null -vendor: null -wpId: null -wpData: null } } |