Code |
Context }
$product['Product']['props'] .= $product['Property'][$i]['value'];
$id = "1004"
$product = array(
"Product" => array(
"id" => "1004",
"title" => "Куртка подростковая",
"url" => "kurtka-podrostkovaya.html",
"articul" => "К1217",
"category_id" => "23",
"producer_id" => "0",
"instock" => "1",
"novelty" => "0",
"status" => "1",
"order" => "5",
"created" => "2019-02-01 11:06:20",
"modified" => "2019-02-01 11:19:35",
"image" => "1",
"price" => "1590.00",
"price_RUR" => "1590.00",
"price_USD" => "23.73",
"price_EUR" => "20.65",
"price_fake" => "0.00",
"rate" => "RUR",
"about_yml" => "",
"about" => "",
"text" => "",
"recommend" => "",
"seo_title" => "",
"seo_keywords" => "",
"seo_description" => "",
"props" => ""
),
"Category" => array(
"id" => "23",
"title" => "Подростковые",
"header" => "",
"url" => "podrostkovye.html",
"about" => "",
"text" => "",
"image" => "1",
"order" => "3",
"product_count" => "6",
"parent_id" => "3",
"lft" => "14",
"rght" => "15",
"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" => "3955",
"product_id" => "1004",
"property_id" => "38",
"value" => "10|11|12|13|14",
"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