3namespace Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources;
5use Bitrix\Main\SystemException;
6use Bitrix\Main\ArgumentNullException;
25 if(!$this->ebay->isActive())
31 $this->siteId =
$params[
"SITE_ID"];
33 if(!\
Bitrix\
Main\Loader::includeModule(
'catalog'))
34 throw new SystemException(
"Can't include module \"Catalog\"! ".__METHOD__);
60 if(isset(
$settings[$this->siteId][
"IBLOCK_ID"]) && is_array(
$settings[$this->siteId][
"IBLOCK_ID"]))
71 $catRes = \Bitrix\Sale\TradingPlatform\MapTable::getList(
array(
72 'select' =>
array(
'VALUE_INTERNAL'),
73 'filter' =>
array(
'=ENTITY_ID' => $catMapEntId),
74 'group' =>
array(
'VALUE_INTERNAL')
77 while($category = $catRes->fetch())
78 if(intval($category[
"VALUE_INTERNAL"]) > 0)
79 $result[] = $category[
"VALUE_INTERNAL"];
94 if(isset(
$settings[$this->siteId][
"DOMAIN_NAME"]) && is_array(
$settings[$this->siteId][
"DOMAIN_NAME"]))
129 if(!$this->
valid() && $this->currentFeed <
count($this->productFeeds)-1)
131 $this->currentFeed++;
140 foreach($this->productFeeds as $feed)
144 $this->productFeeds[$this->currentFeed]->
next();
static getOfferObject(array $offerParams)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
</p ></td >< td valign=top style='border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 2.0pt 0cm 2.0pt;height:9.0pt'>< p class=Normal align=center style='margin:0cm;margin-bottom:.0001pt;text-align:center;line-height:normal'>< a name=ТекстовоеПоле54 ></a ><?=($taxRate > count( $arTaxList) > 0) ? $taxRate."%"
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']