Code Context public static function getImage($item = array()) {
$no_image = "img/no-image-elec.png";
if ($item['thumb'][260]) {
$item = array(
'id' => '1280',
'type_product' => 'LOAI_SAN_PHAM_SP',
'manufac_id' => null,
'countryId' => null,
'hot_product' => '1',
'new_product' => '1',
'sale_product' => '0',
'url_img' => 'img/no-image.png',
'url_thumb_img' => 'img/no-image.png',
'rate' => '',
'rate_percent' => null,
'created_on' => '2024-03-14 17:13:15',
'updated_on' => null,
'created_by' => '4',
'updated_by' => null,
'position' => '0',
'status' => '1',
'del_flg' => '0',
'view' => '11',
'like' => '',
'comment' => null,
'total_review' => '',
'review_score' => '',
'inventory_status' => '0',
'name' => 'Bình Phú Quý Gỗ Nu Ngọc Am Đỏ ',
'description' => '<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p><iframe src="//www.youtube.com/embed/8UtB6SvB4_I" width="560" height="314" allowfullscreen="allowfullscreen"></iframe></p>
</body>
</html>',
'condition' => '<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>',
'highlight' => '<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>',
'product_id' => '1300',
'code' => 'NH_01797',
'barcode' => '635129480',
'price' => (float) 0,
'import_price' => '0.000',
'whole_sale_price' => '0.000',
'discount' => '0.000',
'status_store' => false,
'quantity_store' => (int) 0,
'special_price' => '0.000',
'special_from_time' => null,
'special_to_time' => null,
'width' => '0.000',
'height' => '0.000',
'lenght' => '0.000',
'weight' => '0.000',
'number_item' => (int) 1,
'inventory' => null,
'url' => 'binh-phu-quy-go-nu-ngoc-am-do',
'thumb' => array(),
'Upload' => array(),
'url_img_resize' => null,
'url_img_type' => null,
'item_id' => '1280',
'price_sale' => (int) 0
)
$no_image = 'img/no-image-elec.png'
ImagesHelper::getImage() - ROOT/template/electronic_01/Plugin/Products/Helper/ImagesHelper.php, line 37
content_65f9076565e9a0_47371482 - APP/tmp/smarty/compile/4727f475697adef2566616160d242b6d593111ad_0.file.product_category.tpl.php, line 78
Smarty_Internal_Template::getRenderedTemplateCode() - ROOT/vendors/smarty/sysplugins/smarty_internal_template.php, line 371
Smarty_Template_Compiled::render() - ROOT/vendors/smarty/sysplugins/smarty_template_compiled.php, line 202
Smarty_Internal_Template::render() - ROOT/vendors/smarty/sysplugins/smarty_internal_template.php, line 246
Smarty::fetch() - ROOT/vendors/smarty/Smarty.class.php, line 824
SmartyView::_render() - APP/View/SmartyView.php, line 123
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
content_65f907655d7573_53284723 - APP/tmp/smarty/compile/7b06f56d680a9a55d3da066ed111daba8fae6109_0.file.product_category.tpl.php, line 138
Smarty_Internal_Template::getRenderedTemplateCode() - ROOT/vendors/smarty/sysplugins/smarty_internal_template.php, line 371
Smarty_Template_Compiled::render() - ROOT/vendors/smarty/sysplugins/smarty_template_compiled.php, line 202
Smarty_Internal_Template::render() - ROOT/vendors/smarty/sysplugins/smarty_internal_template.php, line 246
Smarty::fetch() - ROOT/vendors/smarty/Smarty.class.php, line 824
SmartyView::_render() - APP/View/SmartyView.php, line 123
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 960
ProductsHomeController::productCategory() - APP/Plugin/Products/Controller/ProductsHomeController.php, line 227