Dumped Contents
In
@ChiliCustom/storefront/component/buy-widget/buy-widget.html.twig
line 117:
{% do page.addExtension('myProduct', product) %}#}
{% dump(page.extensions) %}
{% dump(chilischarfChiliChildStock) %}
{% dump(page.product.extensions) %}
{#{{ dump(product.parentId) }}#}
array:4 [
"GoogleTagManagerConfig" => Shopware\Core\Framework\Struct\ArrayEntity {#13242
#extensions: []
#_uniqueIdentifier: null
#versionId: null
#translated: []
#createdAt: null
#updatedAt: null
-_entityName: null
-_fieldVisibility: null
#_entityName: "array-entity"
#data: array:8 [
"containerIds" => array:1 [
0 => "GTM-5P526JG"
]
"tags" => "{"pageTitle":"Carbon Pure black | 10-neutral | 115 | K1482346-10-115","pageSubCategory":"","pageCategoryID":"","pageSubCategoryID":"","pageCountryCode":"en-GB","pageLanguageCode":"English","pageVersion":1,"pageTestVariation":"1","pageValue":1,"pageAttributes":"1","pageCategory":"Product","productID":"bc4716d5c2fe45bd99eea71cd9e2adbf","parentProductID":"7e4526412a94445585414ec0a310463e","productName":"Carbon Pure black","productPrice":"99.95","productEAN":"9008687387200","productSku":"K1482346-10-115","productManufacturerNumber":"K1482346-10-115","productCategory":"All Mountain Carbon","productCategoryID":"47e7c54f4082441980c4fdd280b9e54c","productCurrency":"USD","visitorLoginState":"Logged Out","visitorType":"NOT LOGGED IN","visitorLifetimeValue":0,"visitorExistingCustomer":"No"}"
"remarketing_tags" => "{"ecomm_pagetype":"product","ecomm_pcat":["All Mountain Carbon"],"ecomm_prodid":"K1482346-10-115","ecomm_pname":"Carbon Pure black","ecomm_pvalue":99.95,"ecomm_totalvalue":99.95}"
"ga4_tags" => "{"event":"view_item","ecommerce":{"currency":"USD","value":99.95,"items":[{"item_name":"Carbon Pure black","item_id":"K1482346-10-115","price":99.95,"index":0,"item_list_name":"Category","quantity":1,"item_variant":"10-neutral 115","item_category":"All Mountain Carbon","item_list_id":"47e7c54f4082441980c4fdd280b9e54c","item_brand":"Komperdell"}]}}"
"adwords_tracking_enabled" => false
"status" => "enabled"
"additionalServiceCode" => ""
"code_delay_active" => false
]
}
"GtmAddToCartInfo" => Shopware\Core\Framework\Struct\ArrayEntity {#13232
#extensions: []
#_uniqueIdentifier: null
#versionId: null
#translated: []
#createdAt: null
#updatedAt: null
-_entityName: null
-_fieldVisibility: null
#_entityName: "array-entity"
#data: array:4 [
"price" => 99.95
"sku" => "K1482346-10-115"
"category" => "All Mountain Carbon"
"variantname" => "10-neutral 115"
]
}
"RichSnippetData" => Shopware\Core\Framework\Struct\ArrayEntity {#13185
#extensions: []
#_uniqueIdentifier: null
#versionId: null
#translated: []
#createdAt: null
#updatedAt: null
-_entityName: null
-_fieldVisibility: null
#_entityName: "array-entity"
#data: array:1 [
"data" => array:18 [
"productID" => "bc4716d5c2fe45bd99eea71cd9e2adbf"
"productName" => "Carbon Pure black"
"productImage" => "https://komperdell-us.baldneu.at/media/24/90/58/1612506688/K-W22-EN-K1482346-10-Carbon-Pure-Black-1.jpg?ts=1622453908"
"productLink" => "Carbon-Pure-black/K1482346-10-115"
"productPrice" => 0
"productEAN" => "9008687387200"
"productSku" => "K1482346-10-115"
"productMpn" => "K1482346-10-115"
"brandName" => "Komperdell"
"description" => "Hiqh-quality carbon pole in stylish black. "
"priceCurrency" => "USD"
"price" => 99.95
"itemCondition" => "https://schema.org/NewCondition"
"availability" => "https://schema.org/InStock"
"priceValidUntil" => "2030-02-26"
"sellerName" => "USA B2C"
"bestRating" => 5
"worstRating" => 1
]
]
}
"bilobaArticleVariantOrderMatrix" => Biloba\ArticleVariantOrderMatrix\Structs\StoreFrontPageCollection {#13681
#extensions: []
+elements: array:2 [
"showShopwareSelection" => false
"variantMatrixActive" => false
]
}
]
In
@ChiliCustom/storefront/component/buy-widget/buy-widget.html.twig
line 626:
// line 119
yield " ";
if ($this->env->isDebug()) {
\Symfony\Component\VarDumper\VarDumper::dump(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 119), "extensions", [], "any", false, false, false, 119));
}
// line 120
yield " ";
array:4 [
"foreignKeys" => Shopware\Core\Framework\Struct\ArrayStruct {#8910
#extensions: []
#data: []
#apiAlias: "product_foreign_keys_extension"
}
"athletes" => ChiliAthletes\Core\Content\Blog\BlogCollection {#9045
#extensions: []
#elements: []
}
"stock_data" => Shopware\Core\Content\Product\Stock\StockData {#8698
#extensions: []
+productId: "bc4716d5c2fe45bd99eea71cd9e2adbf"
+stock: 0
+available: true
+minPurchase: null
+maxPurchase: null
+isCloseout: null
}
"search" => Shopware\Core\Framework\Struct\ArrayEntity {#9048
#extensions: []
#_uniqueIdentifier: null
#versionId: null
#translated: []
#createdAt: null
#updatedAt: null
-_entityName: null
-_fieldVisibility: null
#_entityName: "array-entity"
#data: array:2 [
"productNumber" => "K1482346-10-115"
"autoIncrement" => 4023
]
}
]