Code |
Context }
$product['Product']['props'] .= $product['Property'][$i]['value'];
$id = "387"
$product = array(
"Product" => array(
"id" => "387",
"title" => "Комбинезон женский",
"url" => "kombinezon-zhenskij.html",
"articul" => "002",
"category_id" => "22",
"producer_id" => "0",
"instock" => "1",
"novelty" => "0",
"status" => "1",
"order" => "7",
"created" => "2016-12-24 22:13:59",
"modified" => "2018-03-29 16:08:48",
"image" => "1",
"price" => "2490.00",
"price_RUR" => "2490.00",
"price_USD" => "37.16",
"price_EUR" => "32.34",
"price_fake" => "4990.00",
"rate" => "RUR",
"about_yml" => "",
"about" => "",
"text" => "",
"recommend" => "",
"seo_title" => "",
"seo_keywords" => "",
"seo_description" => "",
"props" => ""
),
"Category" => array(
"id" => "22",
"title" => "Женские",
"header" => "",
"url" => "zhenskie.html",
"about" => "",
"text" => "",
"image" => "1",
"order" => "2",
"product_count" => "24",
"parent_id" => "3",
"lft" => "12",
"rght" => "13",
"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" => "38",
"category_id" => "3",
"title" => "Размеры",
"type" => "multiple",
"values" => "{"1":"S","2":"M","3":"L","4":"XL","5":"2XL","6":"3XL","7":"4XL","8":"5XL","9":"6XL","10":"8","11":"10","12":"12","13":"14","14":"16"}",
"images" => "",
"recursive" => "1",
"catalog" => "1",
"filter" => "0",
"public" => "1",
"order" => "1",
"ProductsProperty" => array(
"id" => "1492",
"product_id" => "387",
"property_id" => "38",
"value" => "1|2|3|4|5",
"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