Code |
Context }
$product['Product']['props'] .= $product['Property'][$i]['value'];
$id = "1107"
$product = array(
"Product" => array(
"id" => "1107",
"title" => "Футболка муж",
"url" => "futbolka-muzh.html",
"articul" => "36024",
"category_id" => "43",
"producer_id" => "0",
"instock" => "1",
"novelty" => "0",
"status" => "1",
"order" => "75",
"created" => "2019-04-30 13:58:15",
"modified" => "2020-06-22 13:39:41",
"image" => "1",
"price" => "490.00",
"price_RUR" => "490.00",
"price_USD" => "7.31",
"price_EUR" => "6.36",
"price_fake" => "0.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" => "4367",
"product_id" => "1107",
"property_id" => "52",
"value" => "1|2|3|4|7",
"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