/** * Get the sku from the feedItem object * @param Varien_Object $feedItem a nested object of item info * @return string the sku */ protected function extractSku(Varien_Object $feedItem) { return Mage::helper('ebayenterprise_catalog')->normalizeSku($feedItem->getItemId()->getClientItemId(), $feedItem->getCatalogId()); }
/** * Get the item id for an item based on the item's sku, client id * and catalog id. * @param Varien_Object $item * @return string */ protected function _getItemId(Varien_Object $item) { return $this->_formatId($item->getSku(), $item->getClientId(), $item->getCatalogId()); }