get_settings('IgnoreStockUnitsValue', 'netshop') ? ($item['StockUnits'] > 0) : true); $in_cart = (isset($netshop_cart_items[$item_list_key]['Qty']) ? $netshop_cart_items[$item_list_key]['Qty'] : 0 ) > 0; $is_in_compare_list = empty($template_partial_loading) && $netshop->goodslist_compare->check($item_parent_id, $item['Class_ID']); $is_in_fav_list = empty($template_partial_loading) && $netshop->goodslist_favorite->check($item_parent_id, $item['Class_ID']); $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']); $template_partial_loading = nc_array_value($GLOBALS['template_settings'], 'enable_partial_loading'); // запрет кэширования страницы сервером, если цена или скидки зависят от пользователя if ($template_partial_loading && $item->price_depends_on_user_data()) { header('X-Accel-Expires: 0'); } // Подключение скрипта загрузки информации о вариантах (расположено вне .tpl-variable-part) $selectors = new nc_netshop_item_variant_selector($item, array_keys($variant_fields)); echo $selectors->init(array( 'updated_regions' => '.object-info, .object-character, .object-images, .tpl-block-admin', 'on_update' => 'jQuery(".fotorama").fotorama();', )); $properties = array(); if ($item['Vendor']) { $properties['Производитель'] = $item['Vendor']; } if ($item['Weight']) { $properties['Вес'] = $item['Weight']; } $property_fields = $nc_core->get_component($classID)->get_fields_by_name_prefix('Property_'); foreach ($property_fields as $f) { $property_value = $item[$f['name']]; if (is_scalar($property_value) && !strlen($property_value)) { continue; } if (is_array($property_value)) { $property_value = join(', ', $property_value); } if ($f['type'] == NC_FIELDTYPE_BOOLEAN) { $property_value = $property_value ? 'да' : 'нет'; } if ($property_value) { $properties[$f['description']] = $property_value; } } ?>
records as $record) { $img_list[] = $record['Path']; } ?>

Вы сэкономите
"/> 1): ?> $variant_field_options): ?>
by_template($variant_field_name, array( 'prefix' => "", )); ?>
В наличии .
К-во
Характеристики
$property_value) { ?>