{foreach $products as $p}
    {$available = $wa->shop->settings('ignore_stock_count') || $p.count === null || $p.count > 0}
    <li itemscope itemtype ="http://schema.org/Product">
        <a href="{$p.frontend_url}" title="{$p.name}">
            <div class="image">
                <div class="badge-wrapper">
                    {$badge_html = $wa->shop->badgeHtml($p.badge)}
                    {if $badge_html}
                        <div class="corner top right">{$badge_html}</div>
                    {/if}
                    {$wa->shop->productImgHtml($p, '200', ['itemprop' => 'image', 'alt' => $p.name, 'default' => "`$wa_theme_url`img/dummy200.png"])}
                    
                    <div class="show-tooltip">со скидкой: <span id="total-price"></span></div>
                </div>
            </div>
            <h5>
                <span itemprop="name">{$p.name}</span>
            </h5>
            {if $p.summary}<span itemprop="description" class="summary">{strip_tags($p.summary)|truncate:100}</span>{/if}
        </a>
        {if !empty($p.features)}
        <table class="features">
            {foreach $p.features as $f_code => $f_value}
            <tr{if $features[$f_code].type == 'divider'} class="divider"{/if}>
            <td class="name">
                {$features[$f_code].name|escape}
            </td>
            <td class="value" itemprop="{$f_code|escape}">
                {if is_array($f_value)}
                    {if $features[$f_code].type == 'color'}
                        {implode('<br /> ', $f_value)}
                    {else}
                        {implode(', ', $f_value)}
                    {/if}
                {else}
                    {$f_value}
                {/if}
            </td>
            </tr>
            {/foreach}
        </table>
        {/if}
        <div itemprop="offers" class="offers" itemscope itemtype="http://schema.org/Offer">
            {if $available}
                <form class="" {if $p.sku_count > 1}data-url="{$p.frontend_url}{if strpos($p.frontend_url, '?')}&{else}?{/if}cart=1"{/if} method="post" action="{$p.frontend_url}">
                    <div class="pricing">
                        {if $p.compare_price > 0}<span class="compare-at-price nowrap"> {shop_currency_html($p.compare_price)}</span> от{/if}
                        <span class="price nowrap">{shop_currency_html($p.price)}</span>
                        <meta itemprop="price" content="{$p.price}">
                        <meta itemprop="priceCurrency" content="{$wa->shop->primaryCurrency()}">
                    </div>
                    <input type="hidden" name="product_id" value="{$p.id}">
                    <a href="{$p.frontend_url}"><input type="submit" value="Подробнее"></a>
                    <i class="adding2cart"></i>
                    <span class="added2cart" style="display: none;"></span> </a>
                    </form>
                <link itemprop="availability" href="http://schema.org/InStock" />
            {else}
                <span class="price nowrap">{shop_currency_html($p.price)}</span>
                <meta itemprop="price" content="{$p.price}">
                <meta itemprop="priceCurrency" content="{$wa->shop->primaryCurrency()}">
                <div class="out-of-stock"><strong>{if $wa->shop->settings('ignore_stock_count')}[`Pre-order only`]{else}[`Out of stock`]{/if}</strong></div>
                <link itemprop="availability" href="http://schema.org/OutOfStock" />
            {/if}
        </div>
        {if $p.rating > 0}
            <span class="rating nowrap">{$wa->shop->ratingHtml($p.rating, 16)}</span>
        {/if}
    </li>
{/foreach}<span class="price nowrap">{shop_currency_html($p.price*0.95)}</span>{$p.price}; (кстати, почему то у вас два раза ;;) поставил 10500. Получается должно выводиться 10500*0.97=10185, но выводится значение 10290, а это 10500*0.98