Code |
Context }
$product['Product']['props'] .= $product['Property'][$i]['value'];
$id = "1502"
$product = array(
"Product" => array(
"id" => "1502",
"title" => "Куртка мужская ",
"url" => "kurtka-muzhskaya.html",
"articul" => "1987",
"category_id" => "36",
"producer_id" => "0",
"instock" => "1",
"novelty" => "0",
"status" => "1",
"order" => "62",
"created" => "2020-09-26 10:34:03",
"modified" => "2020-09-26 10:34:03",
"image" => "2",
"price" => "2990.00",
"price_RUR" => "2990.00",
"price_USD" => "44.63",
"price_EUR" => "38.83",
"price_fake" => "0.00",
"rate" => "RUR",
"about_yml" => "",
"about" => "",
"text" => "",
"recommend" => "",
"seo_title" => "",
"seo_keywords" => "",
"seo_description" => "",
"props" => ""
),
"Category" => array(
"id" => "36",
"title" => "Мужские",
"header" => "",
"url" => "muzhskie.html",
"about" => "",
"text" => "",
"image" => "1",
"order" => "1",
"product_count" => "98",
"parent_id" => "20",
"lft" => "68",
"rght" => "69",
"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" => "42",
"category_id" => "20",
"title" => "Размеры",
"type" => "multiple",
"values" => "{"1":"S","2":"M","3":"L","4":"XL","5":"2XL","6":"3XL","7":"4XL","8":"5XL","9":"6XL","10":"7XL","11":"8","12":"10","13":"12","14":"14","15":"16"}",
"images" => "",
"recursive" => "1",
"catalog" => "1",
"filter" => "0",
"public" => "1",
"order" => "1",
"ProductsProperty" => array(
"id" => "5915",
"product_id" => "1502",
"property_id" => "42",
"value" => "3|4|5|6|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