$data['categories'][] = array(
'name' => $result['name'],
'image' => $result['image'],
'count_products' => $this->model_catalog_product->getTotalProducts($filter_data),
'category_id' => $result['category_id'],
'category_current' => isset($cur_id) && $cur_id ? $cur_id : false,
'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url)
);
'thumb' => $this->model_tool_image->resize($result['image'], 50, 50), // 50, 50 - ширина в пикселях, высота
$(this).addClass('active')
$(this).addClass('active').parents('.for3lvl').addClass('active')
$('select option[value="' + params['image'] + '"]').attr('selected', 'selected');
$('#select2').select2(options);
$(document).ready(function() {
$('#select2').select2(options);
});
<label for="<?php echo $full_code; ?>" class="code">
<input type="radio" onchange="selectMethod('<?php echo $full_code; ?>','<?php echo $name; ?>','<?php echo $d; ?>','<?php echo $m; ?>','<?php echo $y; ?>','<?php echo $v['time_start']; ?>','<?php echo $v['time_end']; ?>','<?php echo htmlspecialchars($sumplus,ENT_COMPAT); ?>','<?php echo htmlspecialchars($fix,ENT_COMPAT); ?>','<?php echo htmlspecialchars($w_cost,ENT_COMPAT); ?>','<?php echo htmlspecialchars($add_pay,ENT_COMPAT); ?>','<?php echo htmlspecialchars($preorder,ENT_COMPAT); ?>','<?php echo $cost; ?>','<?php echo htmlspecialchars($v['text'],ENT_COMPAT); ?>');" name="shipping_method" value="<?php echo $quote['code']; ?>" id="<?php echo $full_code; ?>" <?php if ($full_code == $sched_checked_code) { ?>checked="checked" <?php } ?>/>
<?php echo $time; ?> <?php echo $v['text']; ?>
</label>
$this->load->model('catalog/category');
$category_info = $this->model_catalog_category->getCategory($category_id);
var_dump($category_info );
$this->load->model('catalog/product');
так?