count($item_id);
};
} else {
$get_comment_count = function() { return 0; };
}
?>
= $f_AdminCommon; ?>
= $totRows ?>
= $nc_core->lang->get_ru_numerical_inclination($totRows, array('товар', 'товара', 'товаров')); ?>
Нет товаров
input->fetch_cookie($view_cookie_name) === 'big' ? 'big' : 'small';
?>
>
get_setting('IgnoreStockUnitsValue') || $item['StockUnits'] > 0);
$is_in_cart = $netshop->cart->has_item($item);
$is_in_compare_list = empty($template_partial_loading) && $netshop->goodslist_compare->check($item['Message_ID'], $item['Class_ID']);
$is_in_fav_list = empty($template_partial_loading) && $netshop->goodslist_favorite->check($item['Message_ID'], $item['Class_ID']);
$has_discount = (bool)$item['ItemDiscount'];
if ($is_in_cart) {
$item_in_cart = $netshop->cart->get_items()->get_item_by_id($item['Class_ID'], $item['Message_ID']);
$qty_in_cart = $item_in_cart['Qty'];
} else {
$qty_in_cart = 0;
}
$compare_url = !$is_in_compare_list ?
$netshop->goodslist_compare->get_add_action_url($item['Message_ID'], $item['Class_ID']) :
$netshop->goodslist_compare->get_remove_action_url($item['Message_ID'], $item['Class_ID']);
$favorite_url = !$is_in_fav_list ?
$netshop->goodslist_favorite->get_add_action_url($item['Message_ID'], $item['Class_ID']) :
$netshop->goodslist_favorite->get_remove_action_url($item['Message_ID'], $item['Class_ID']);
// запрет кэширования страницы сервером, если цена или скидки зависят от пользователя
if (!empty($template_partial_loading) && $item->price_depends_on_user_data()) {
header('X-Accel-Expires: 0');
}
$comment_count = $get_comment_count($item['Message_ID']);
?>
$recNum): ?>
= nc_browse_messages($cc_env, 10) ?>
//= nc_netshop_goods_scripts(); ?>