Спасибо огромное! А как плюсануть в репутацию? Почему-то не могу найти кнопку..
Еще один вопрос, пожалуйста!
Надеюсь, он к сборке не относится..
Вместо краткого описания в категории вывожу атрибуты вот так
catalog\controller\product\category.php,
'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..',
'attribute_groups' => $this->model_catalog_product->getProductAttributes($result['product_id']),
'price' => $price,
catalog\view\theme\default\template\product\category.tpl,
<div class="description">
<?php if($product['attribute_groups']) { ?>
<table>
<?php foreach($product['attribute_groups'] as $attribute_group) { ?>
<tbody>
<?php foreach($attribute_group['attribute'] as $attribute) { ?>
<tr>
<td><?php echo $attribute['text']; ?></td>
</tr>
<?php } ?>
</tbody>
<?php } ?>
</table>
<?php } ?>
</div>
Сможете ли Вы подсказать, каким образом можно ограничить вывод символов в кратком описании при выводе товара "Таблицей"?