нужно поменять "Розничная цена" на "Цена" и убрать "В корзину"
Вот код: Если не трудно, помогите плз
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<div class="catalog-element">
<?if(is_array($arResult["PREVIEW_PICTURE"]) && is_array($arResult["DETAIL_PICTURE"])):?> <img border="0" src="<?=$arResult["PREVIEW_PICTURE"]["SRC"]?>" width="<?=$arResult["PREVIEW_PICTURE"]["WIDTH"]?>" height="<?=$arResult["PREVIEW_PICTURE"]["HEIGHT"]?>" alt="<?=$arResult["NAME"]?>" title="<?=$arResult["NAME"]?>" id="image_<?=$arResult["PREVIEW_PICTURE"]["ID"]?>" style="display:block;cursor:pointer;cursor: hand;" OnClick="document.getElementById('image_<?=$arResult["PREVIEW_PICTURE"]["ID"]?>').style.display='none';document.getElementById('image_<?=$arResult["DETAIL_PICTURE"]["ID"]?>').style.display='block'" /> <img border="0" src="<?=$arResult["DETAIL_PICTURE"]["SRC"]?>" width="<?=$arResult["DETAIL_PICTURE"]["WIDTH"]?>" height="<?=$arResult["DETAIL_PICTURE"]["HEIGHT"]?>" alt="<?=$arResult["NAME"]?>" title="<?=$arResult["NAME"]?>" id="image_<?=$arResult["DETAIL_PICTURE"]["ID"]?>" style="display:none;cursor:pointer; cursor: hand;" OnClick="document.getElementById('image_<?=$arResult["DETAIL_PICTURE"]["ID"]?>').style.display='none';document.getElementById('image_<?=$arResult["PREVIEW_PICTURE"]["ID"]?>').style.display='block'" /> <?elseif(is_array($arResult["DETAIL_PICTURE"])):?> <img border="0" src="<?=$arResult["DETAIL_PICTURE"]["SRC"]?>" width="<?=$arResult["DETAIL_PICTURE"]["WIDTH"]?>" height="<?=$arResult["DETAIL_PICTURE"]["HEIGHT"]?>" alt="<?=$arResult["NAME"]?>" title="<?=$arResult["NAME"]?>" /> <?elseif(is_array($arResult["PREVIEW_PICTURE"])):?> <img border="0" src="<?=$arResult["PREVIEW_PICTURE"]["SRC"]?>" width="<?=$arResult["PREVIEW_PICTURE"]["WIDTH"]?>" height="<?=$arResult["PREVIEW_PICTURE"]["HEIGHT"]?>" alt="<?=$arResult["NAME"]?>" title="<?=$arResult["NAME"]?>" /> <?endif?> <?if(count($arResult["MORE_PHOTO"])>0):?> <br /> <?endif;?> | <?foreach($arResult["DISPLAY_PROPERTIES"] as $pid=>$arProperty):?> <?=$arProperty["NAME"]?>: <? if(is_array($arProperty["DISPLAY_VALUE"])): echo implode(" / ", $arProperty["DISPLAY_VALUE"]); elseif($pid=="MANUAL"): ?>[url=<?=$arProperty[]"><?=GetMessage("CATALOG_DOWNLOAD")?>[/url]<? else: echo $arProperty["DISPLAY_VALUE"];?> <?endif?><br /> <?endforeach?> |
<?if($arPrice["CAN_ACCESS"]):?>
<?=$arResult["CAT_PRICES"][$code]["TITLE"];?>
<?if($arParams["PRICE_VAT_SHOW_VALUE"] && ($arPrice["VATRATE_VALUE"] > 0)):?>
<?if($arParams["PRICE_VAT_INCLUDE"]):?>
(<?echo GetMessage("CATALOG_PRICE_VAT")?>)
<?else:?>
(<?echo GetMessage("CATALOG_PRICE_NOVAT")?>)
<?endif?>
<?endif;?>:
<?if($arPrice["DISCOUNT_VALUE"] < $arPrice["VALUE"]):?>
<?=$arPrice["PRINT_VALUE"]?> <span class="catalog-price"><?=$arPrice["PRINT_DISCOUNT_VALUE"]?></span>
<?if($arParams["PRICE_VAT_SHOW_VALUE"]):?><br />
<?=GetMessage("CATALOG_VAT")?>: <span class="catalog-vat catalog-price"><?=$arPrice["DISCOUNT_VATRATE_VALUE"] > 0 ? $arPrice["PRINT_DISCOUNT_VATRATE_VALUE"] : GetMessage("CATALOG_NO_VAT")?></span>
<?endif;?>
<?else:?>
<span class="catalog-price"><?=$arPrice["PRINT_VALUE"]?></span>
<?if($arParams["PRICE_VAT_SHOW_VALUE"]):?><br />
<?=GetMessage("CATALOG_VAT")?>: <span class="catalog-vat catalog-price"><?=$arPrice["VATRATE_VALUE"] > 0 ? $arPrice["PRINT_VATRATE_VALUE"] : GetMessage("CATALOG_NO_VAT")?></span>
<?endif;?>
<?endif?>
<?endforeach;?>
<?if(is_array($arResult["PRICE_MATRIX"])):?>
<?= GetMessage("CATALOG_QUANTITY") ?> | <?= $arType["NAME_LANG"] ?> |
<?if(IntVal($arQuantity["QUANTITY_FROM"]) > 0 && IntVal($arQuantity["QUANTITY_TO"]) > 0) echo str_replace("#FROM#", $arQuantity["QUANTITY_FROM"], str_replace("#TO#", $arQuantity["QUANTITY_TO"], GetMessage("CATALOG_QUANTITY_FROM_TO"))); elseif(IntVal($arQuantity["QUANTITY_FROM"]) > 0) echo str_replace("#FROM#", $arQuantity["QUANTITY_FROM"], GetMessage("CATALOG_QUANTITY_FROM")); elseif(IntVal($arQuantity["QUANTITY_TO"]) > 0) echo str_replace("#TO#", $arQuantity["QUANTITY_TO"], GetMessage("CATALOG_QUANTITY_TO")); ?> | <?if($arResult["PRICE_MATRIX"]["MATRIX"][$typeID][$ind]["DISCOUNT_PRICE"] < $arResult["PRICE_MATRIX"]["MATRIX"][$typeID][$ind]["PRICE"]) echo ' else echo '<span class="catalog-price">'.FormatCurrency($arResult["PRICE_MATRIX"]["MATRIX"][$typeID][$ind]["PRICE"], $arResult["PRICE_MATRIX"]["MATRIX"][$typeID][$ind]["CURRENCY"])."</span>"; ?> |
---|
<?if($arParams["PRICE_VAT_INCLUDE"]):?>
<small><?=GetMessage('CATALOG_VAT_INCLUDED')?></small>
<?else:?>
<small><?=GetMessage('CATALOG_VAT_NOT_INCLUDED')?></small>
<?endif?>
<?endif;?><br />
<?endif?>
<?if($arResult["CAN_BUY"]):?>
<?if($arParams["USE_PRODUCT_QUANTITY"] || count($arResult["PRODUCT_PROPERTIES"])):?>
<form action="<?=POST_FORM_ACTION_URI?>" method="post" enctype="multipart/form-data">
<?echo GetMessage("CT_BCE_QUANTITY")?>: | <input type="text" name="<?echo $arParams["PRODUCT_QUANTITY_VARIABLE"]?>" value="1" size="5"> |
<?echo $arResult["PROPERTIES"][$pid]["NAME"]?>: | <?if( $arResult["PROPERTIES"][$pid]["PROPERTY_TYPE"] == "L" && $arResult["PROPERTIES"][$pid]["LIST_TYPE"] == "C" ):?> <?foreach($product_property["VALUES"] as $k => $v):?> <label><input type="radio" name="<?echo $arParams["PRODUCT_PROPS_VARIABLE"]?>[<?echo $pid?>]" value="<?echo $k?>" <?if($k == $product_property["SELECTED"]) echo '"checked"'?>><?echo $v?></label><br> <?endforeach;?> <?else:?> <select name="<?echo $arParams["PRODUCT_PROPS_VARIABLE"]?>[<?echo $pid?>]"> <?foreach($product_property["VALUES"] as $k => $v):?> <option value="<?echo $k?>" <?if($k == $product_property["SELECTED"]) echo '"selected"'?>><?echo $v?></option> <?endforeach;?> </select> <?endif;?> |
<input type="hidden" name="<?echo $arParams["PRODUCT_ID_VARIABLE"]?>" value="<?echo $arResult["ID"]?>">
<input type="submit" name="<?echo $arParams["ACTION_VARIABLE"]."BUY"?>" value="<?echo GetMessage("CATALOG_BUY")?>">
<input type="submit" name="<?echo $arParams["ACTION_VARIABLE"]."ADD2BASKET"?>" value="<?echo GetMessage("CATALOG_ADD_TO_BASKET")?>">
</form>
<?else:?>
<noindex>
[url=<?echo $arResult[]" rel="nofollow"><?echo GetMessage("CATALOG_BUY")?>[/url]
[url=<?echo $arResult[]" rel="nofollow"><?echo GetMessage("CATALOG_ADD_TO_BASKET")?>[/url]
</noindex>
<?endif;?>
<?elseif((count($arResult["PRICES"]) > 0) || is_array($arResult["PRICE_MATRIX"])):?>
<?=GetMessage("CATALOG_NOT_AVAILABLE")?>
<?endif?>
<br />
<?if($arResult["DETAIL_TEXT"]):?>
<br /><?=$arResult["DETAIL_TEXT"]?><br />
<?elseif($arResult["PREVIEW_TEXT"]):?>
<br /><?=$arResult["PREVIEW_TEXT"]?><br />
<?endif;?>
<?if(count($arResult["LINKED_ELEMENTS"])>0):?>
<br /><?=$arResult["LINKED_ELEMENTS"][0]["IBLOCK_NAME"]?>:
- <?foreach($arResult["LINKED_ELEMENTS"] as $arElement):?>
- [url=<?=$arElement[]"><?=$arElement["NAME"]?>[/url]
<?endforeach;?>
<?
// additional photos
$LINE_ELEMENT_COUNT = 2; // number of elements in a row
if(count($arResult["MORE_PHOTO"])>0):?>
<a name="more_photo"></a>
<?foreach($arResult["MORE_PHOTO"] as $PHOTO):?>
<img border="0" src="<?=$PHOTO["SRC"]?>" width="<?=$PHOTO["WIDTH"]?>" height="<?=$PHOTO["HEIGHT"]?>" alt="<?=$arResult["NAME"]?>" title="<?=$arResult["NAME"]?>" /><br />
<?endforeach?>
<?endif?>
<?if(is_array($arResult["SECTION"])):?>
<br />[url=<?=$arResult[]"><?=GetMessage("CATALOG_BACK")?>[/url]
<?endif?>
</div>