Code |
Context }
$product['Product']['props'] .= $product['Property'][$i]['value'];
$id = "412"
$product = array(
"Product" => array(
"id" => "412",
"title" => "Борцовка муж",
"url" => "borcovka-muzh.html",
"articul" => "22026",
"category_id" => "33",
"producer_id" => "0",
"instock" => "1",
"novelty" => "0",
"status" => "1",
"order" => "1",
"created" => "2017-03-24 20:19:05",
"modified" => "2018-03-29 15:56:09",
"image" => "3",
"price" => "340.00",
"price_RUR" => "340.00",
"price_USD" => "5.07",
"price_EUR" => "4.42",
"price_fake" => "0.00",
"rate" => "RUR",
"about_yml" => "",
"about" => "",
"text" => "",
"recommend" => "",
"seo_title" => "",
"seo_keywords" => "",
"seo_description" => "",
"props" => ""
),
"Category" => array(
"id" => "33",
"title" => "Мужские",
"header" => "",
"url" => "muzhskie.html",
"about" => "",
"text" => "",
"image" => "1",
"order" => "1",
"product_count" => "10",
"parent_id" => "1",
"lft" => "2",
"rght" => "3",
"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" => "1",
"category_id" => "1",
"title" => "Размеры",
"type" => "multiple",
"values" => "{"7":"S","8":"M","9":"L","10":"XL","11":"2XL","12":"3XL","13":"4XL","14":"5XL","15":"6XL","16":"7XL"}",
"images" => "",
"recursive" => "1",
"catalog" => "1",
"filter" => "0",
"public" => "1",
"order" => "1",
"ProductsProperty" => array(
"id" => "1592",
"product_id" => "412",
"property_id" => "1",
"value" => "7|8|9|10|11",
"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