Code |
Context }
$product['Product']['props'] .= $product['Property'][$i]['value'];
$id = "1195"
$product = array(
"Product" => array(
"id" => "1195",
"title" => "Купальник детский без юбки",
"url" => "kupalnik-detskij-bez-yubki.html",
"articul" => "6028",
"category_id" => "51",
"producer_id" => "0",
"instock" => "1",
"novelty" => "0",
"status" => "1",
"order" => "4",
"created" => "2019-08-01 10:58:37",
"modified" => "2022-01-26 19:46:51",
"image" => "2",
"price" => "690.00",
"price_RUR" => "690.00",
"price_USD" => "10.30",
"price_EUR" => "8.96",
"price_fake" => "0.00",
"rate" => "RUR",
"about_yml" => "",
"about" => "",
"text" => "",
"recommend" => "",
"seo_title" => "",
"seo_keywords" => "",
"seo_description" => "",
"props" => ""
),
"Category" => array(
"id" => "51",
"title" => "Одежда для танцев и гимнастики",
"header" => "Одежда для танцев и гимнастики",
"url" => "odezhda-dlya-tancev-i-gimnastiki.html",
"about" => "",
"text" => "",
"image" => "1",
"order" => "13",
"product_count" => "12",
"parent_id" => "0",
"lft" => "87",
"rght" => "88",
"seo_title" => "",
"seo_keywords" => "",
"seo_description" => ""
),
"Producer" => array(
"id" => null,
"title" => null,
"url" => null,
"image" => null,
"about" => null,
"text" => null,
"seo_title" => null,
"seo_keywords" => null,
"seo_description" => null
),
"ProductsProperty" => array(
array(),
array(),
array(),
array()
),
"Property" => array(
array(),
array(),
array(),
array()
)
)
$i = 0
$prop = array(
"id" => "69",
"category_id" => "51",
"title" => "Цвета",
"type" => "colors",
"values" => "{"1":"\u0411\u0435\u043b\u044b\u0439","2":"\u0427\u0435\u0440\u043d\u044b\u0439"}",
"images" => "{"1":"1.jpg","2":"2.jpg"}",
"recursive" => "1",
"catalog" => "1",
"filter" => "0",
"public" => "1",
"order" => "1",
"ProductsProperty" => array(
"id" => "4703",
"product_id" => "1195",
"property_id" => "69",
"value" => "1|2",
"model" => "",
"price" => "0"
)
)
ProductsController::view_ajax() - APP/controllers/products_controller.php, line 151
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
require - APP/webroot/index.php, line 83
[main] - CORE/index.php, line 55