в файле themes\ваша_тема\boxes\box_cart.html необходимо заменить: {foreach name=aussen item=products_data from=$products} <tr> <td align="left"> {$products_data.QTY} x </td> <td width="100%" align="left"><a href="{$products_data.LINK}" title="{$products_data.NAME}">{$products_data.NAME|os_truncate:$smarty.const.MAX_DISPLAY_CART:"...":true}</a></td> </tr> {/foreach} на {foreach name=aussen item=products_data from=$products} <tr> {assign var="cole" value="`$cole+$products_data.QTY`"} <td align="left"> {$products_data.QTY} x </td> <td width="100%" align="left"><a href="{$products_data.LINK}" title="{$products_data.NAME}">{$products_data.NAME|os_truncate:$smarty.const.MAX_DISPLAY_CART:"...":true}</a></td> </tr> {/foreach} и в переменной {$cole} будет хранится общее количество товаров в корзине.
|