Code |
Context }
$product['Product']['props'] .= $product['Property'][$i]['value'];
$id = "691"
$product = array(
"Product" => array(
"id" => "691",
"title" => "Толстовка муж",
"url" => "tolstovka-muzh.html",
"articul" => "3029",
"category_id" => "43",
"producer_id" => "0",
"instock" => "1",
"novelty" => "0",
"status" => "1",
"order" => "24",
"created" => "2018-01-15 12:48:36",
"modified" => "2018-01-15 12:48:36",
"image" => "1",
"price" => "1190.00",
"price_RUR" => "1190.00",
"price_USD" => "17.76",
"price_EUR" => "15.45",
"price_fake" => "2490.00",
"rate" => "RUR",
"about_yml" => "",
"about" => "",
"text" => "",
"recommend" => "",
"seo_title" => "",
"seo_keywords" => "",
"seo_description" => "",
"props" => ""
),
"Category" => array(
"id" => "43",
"title" => "Мужское",
"header" => "Распродажа",
"url" => "muzhskoe.html",
"about" => "",
"text" => "",
"image" => "1",
"order" => "2",
"product_count" => "72",
"parent_id" => "39",
"lft" => "78",
"rght" => "79",
"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" => "52",
"category_id" => "39",
"title" => "Цвета",
"type" => "colors",
"values" => "{"1":"\u0427\u0435\u0440\u043d\u044b\u0439","2":"\u041a\u0440\u0430\u0441\u043d\u044b\u0439","3":"\u0411\u0435\u043b\u044b\u0439","4":"\u0421\u0435\u0440\u044b\u0439","5":"\u0422\u0435\u043c\u043d\u043e \u0441\u0438\u043d\u0438\u0439","6":"\u0413\u043e\u043b\u0443\u0431\u043e\u0439","7":"\u0420\u043e\u0437\u043e\u0432\u044b\u0439","8":"\u0416\u0435\u043b\u0442\u044b\u0439","9":"\u0417\u0435\u043b\u0435\u043d\u044b\u0439","10":"\u041e\u0440\u0430\u043d\u0436\u0435\u0432\u044b\u0439","11":"\u0421\u0438\u043d\u0438\u0439","12":"\u0424\u0438\u043e\u043b\u0435\u0442\u043e\u0432\u044b\u0439"}",
"images" => "{"1":"1.jpg","2":"2.jpg","3":"3.jpg","4":"4.jpg","5":"5.jpg","6":"6.jpg","7":"7.jpg","8":"8.jpg","9":"9.jpg","10":"10.jpg","11":"11.jpg","12":"12.jpg"}",
"recursive" => "1",
"catalog" => "1",
"filter" => "0",
"public" => "1",
"order" => "1",
"ProductsProperty" => array(
"id" => "2706",
"product_id" => "691",
"property_id" => "52",
"value" => "1",
"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