Guest User

Untitled

a guest
Aug 14th, 2015
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <?php
  2. CModule::IncludeModule("catalog");
  3. $intIBlockID = 27;
  4. $mnResult = CCatalogSKU::GetInfoByProductIBlock($intIBlockID);
  5. if (is_array($mnResult))
  6. {
  7. $rs_offers = CIBlockElement::GetList(array(),array('PROPERTY_'.$mnResult['CML2_LINK'] => $arElement["ID"]));
  8. while ($arOffer = $rs_offers->GetNext())
  9. {
  10. $ar_price = GetCatalogProductPrice($arOffer["ID"], 6);
  11. echo FormatCurrency($ar_price["MIN_PRICE"], $ar_rice["Currency"]);
  12. }
  13. }
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment