Leonid333 (22 Май 2016 - 10:19) писал:
Здравствуйте.
Зайдите в админ. панель -> Сайт -> Редактор шаблонов -> Шаблоны -> Товар, найдите код:
<script> $('.goods_modifications tr').each(function() { var $modName = $(this).find('.mod_name').html(''); $(($(this).attr('rel') + '_').split('_').sort()).each(function(index, value) { if(value.length) { var $proValue = $('.goods_modifications_properties div[rel="' + value + '"]'); $modName.html($proValue.html() + ' ' + $modName.html()); } }); }); </script>
Замените на:
<script> $('.goods_modifications tr').each(function() { var $modName = $(this).find('.mod_name').html(''); $(($(this).attr('rel') + '_').split('_').sort()).each(function(index, value) { if(value.length) { var $proValue = $('.goods_modifications_properties div[rel="' + value + '"]'); $modName.html($proValue.html() + ' ' + $modName.html()); } }); }); </script>