Ejemplo n.º 1
0
 protected function _preProcess()
 {
     // no first file for separate category
     if ($this->getSitemap()->isSepCategory()) {
         $this->_firstFile = FALSE;
         $this->_prodCounter = new Varien_Object();
         $this->_imageCounter = new Varien_Object();
     }
     parent::_preProcess();
 }
Ejemplo n.º 2
0
 protected function _preProcess()
 {
     $this->_imageCounter = new Varien_Object();
     $this->_imageCounter->setCount(0);
     $this->_imageCounter->setLabel($this->_imgCounterLabel);
     $this->_imageCounter->setExclude(true);
     $this->_prodCatCounter = new Varien_Object();
     $this->_prodCatCounter->setCount(0);
     $this->_prodCatCounter->setLabel($this->_prodCatcounterLabel);
     parent::_preProcess();
 }