getId(); st_include_partial('stProduct/header', array('title' => __('Lista ofert', null, 'stAllegroBackend'), 'related_object' => $product, 'route' => null)); st_include_component('stProduct', 'editMenu', array('related_object' => $product)); } else { st_include_partial('stAllegroBackend/header', array('title' => __('Lista ofert', null, 'stAllegroBackend'))); st_include_component('stAllegroBackend', 'listMenu'); } ?>
get('offers_updated')): ?>
$filters, 'forward_parameters' => array('product_id' => $product_id))) ?> getNbResults() > 0): ?> $pager, 'forward_parameters' => array(), 'url' => st_url_for('@stAllegroPlugin?action=list&product_id='.$product_id), 'prefix' => 'head')) ?>
offers as $index => $offer): $editUrl = url_for('@stAllegroPlugin?action=edit&id=' . $offer->id . '&product_id='.$product_id); $auction = AllegroAuctionPeer::retrieveByAuctionNumber($offer->id); ?>
     
name ?> stock ? $offer->stock->available : '' ?> getProduct()) { $auction->getProductOptionsArray(); echo $auction->getProduct()->getStock(); stNewProductOptions::clearCache($auction->getProduct()); } ?> sellingMode ? stCurrency::formatPrice($offer->sellingMode->price->amount) . ' ' . $offer->sellingMode->price->currency : '' ?> stock ? $offer->stock->sold : '' ?> publication->status) ?> publication->status == stAllegroApi::STATUS_ACTIVE): ?> id ?> id ?>
    publication->status == stAllegroApi::STATUS_INACTIVE): ?>
  • publication->status == stAllegroApi::STATUS_ACTIVE || $offer->publication->status == 'ENDED'): ?>
  • publication->status == stAllegroApi::STATUS_ACTIVE): ?>

'add', 'label' => __('Dodaj'), 'action' => '@stAllegroPlugin?action=edit&product_id='.$product_id), )); ?>