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' => '48',
'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_6638391b4d3126_98332377 - APP/tmp/smarty/compile/61c137f097299f7f25bbe3a63dc98a6afa0a3abb_0.file.product_grid.tpl.php, line 79
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_6638391b43e263_11986280 - APP/tmp/smarty/compile/a15c5b21b815a928c9c62252e0cccc66022ddee6_0.file.products.tpl.php, line 386
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