Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- CModule::IncludeModule("catalog");
- $intIBlockID = 27;
- $mnResult = CCatalogSKU::GetInfoByProductIBlock($intIBlockID);
- if (is_array($mnResult))
- {
- $rs_offers = CIBlockElement::GetList(array(),array('PROPERTY_'.$mnResult['CML2_LINK'] => $arElement["ID"]));
- while ($arOffer = $rs_offers->GetNext())
- {
- $ar_price = GetCatalogProductPrice($arOffer["ID"], 6);
- echo FormatCurrency($ar_price["MIN_PRICE"], $ar_rice["Currency"]);
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment