Example #1
0
 public function save()
 {
     if (!empty($this->ebaySettings[$this->siteId]["FEEDS"])) {
         $this->ebaySettings[$this->siteId]["FEEDS"] = \Bitrix\Sale\TradingPlatform\Ebay\Agent::update($this->siteId, $this->ebaySettings[$this->siteId]["FEEDS"]);
     }
     return parent::save();
 }
Example #2
0
    ?>
						<?php 
    foreach ($stepClassesList as $classStep => $class) {
        ?>
							<?php 
        $fullClassName = '\\Bitrix\\Sale\\TradingPlatform\\Ebay\\Wizard\\' . $class;
        ?>
							<div class="adm-sale-ebay-wizard-state-item<?php 
        echo $classStep == $step ? ' active' : '';
        ?>
">
								<?php 
        if ($prevStepCompleted && $fullClassName::hasState()) {
            ?>
									<?php 
            echo Wizard\Step::getLampHtml($fullClassName::isSucceed($siteId, $settings));
            ?>
								<?php 
        } else {
            ?>
									<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
								<?php 
        }
        ?>
								<?php 
        if ($prevStepCompleted) {
            ?>
									<a href="<?php 
            echo $APPLICATION->GetCurPageParam('lang=' . LANGUAGE_ID . '&STEP=' . $classStep . '&SITE_ID=' . $siteId, array('STEP', 'lang', 'SITE_ID'));
            ?>
">