Скажите пожалуйста, как в шаблоне прописать так, чтобы после точке десятичные знаки были шрифтом меньше? Сам шаблон вот такой
Код |
---|
<?\Aspro\Functions\CAsproSku::showItemPrices($arParams, $arResult, $item_id, $min_price_id, $arItemIDs, ($arParams["SHOW_DISCOUNT_PERCENT_NUMBER"] == "Y" ? "N" : "Y"));?>
<?}else{?>
<?
$item_id = $arResult["ID"];
if(isset($arResult['PRICE_MATRIX']) && $arResult['PRICE_MATRIX']) // USE_PRICE_COUNT
{?>
<?if($arResult['ITEM_PRICE_MODE'] == 'Q' && count($arResult['PRICE_MATRIX']['ROWS']) > 1):?>
<?=CNext::showPriceRangeTop($arResult, $arParams, GetMessage("CATALOG_ECONOMY"));?>
<?endif;?>
<?=CNext::showPriceMatrix($arResult, $arParams, $strMeasure, $arAddToBasketData);?>
<?
}
else
{?>
<?\Aspro\Functions\CAsproItem::showItemPrices($arParams, $arResult["PRICES"], $strMeasure, $min_price_id, ($arParams["SHOW_DISCOUNT_PERCENT_NUMBER"] == "Y" ? "N" : "Y"));?>
<?}?>
<?}?>
<?$arDiscounts = CCatalogDiscount::GetDiscountByProduct($item_id, $arUserGroups, "N", $min_price_id, SITE_ID);
$arDiscount=array();
if($arDiscounts)
$arDiscount=current($arDiscounts);?>
<?if( !$arResult["OFFERS"] && $arResult['PRICE_MATRIX']['COLS'] ){?>
<div class="" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<met a itemprop="price" content="<?=($arResult['MIN_PRICE']['DISCOUNT_VALUE'] ? $arResult['MIN_PRICE']['DISCOUNT_VALUE'] : $arResult['MIN_PRICE']['VALUE'])?>" />
<met a itemprop="priceCurrency" content="<?=$arResult['MIN_PRICE']['CURRENCY']?>" />
<li nk itemprop="availability" href="http://schema.org/<?=($arResult['PRICE_MATRIX']['AVAILABLE'] == 'Y' ? 'InStock' : 'OutOfStock')?>" />
<?
if($arDiscount["ACTIVE_TO"]){?>
<met a itemprop="priceValidUntil" content="<?=date("Y-m-d", MakeTimeStamp($arDiscount["ACTIVE_TO"]))?>" />
<?}?>
<met a itemprop="url" content="<?=$arResult["DETAIL_PAGE_URL"]?>" />
</div>
<?}?> |