function formatProduct($product)
 {
     //********************************************************************
     //Pre-flight
     //********************************************************************
     if (!isset($this->merchant_id)) {
         $this->addErrorMessage(9000, 'MerchantID not configured. Need advanced command: $merchant-id = ....');
         $this->merchant_id = '';
     }
     if (!isset($this->merchant)) {
         $this->addErrorMessage(9001, 'Merchant not configured. Need advanced command: $merchant = ....');
         $this->merchant = '';
     }
     $product->attributes['current_category'] = $this->current_category;
     //********************************************************************
     //Prepare
     //********************************************************************
     $product->attributes['merchant_id'] = $this->merchant_id;
     $product->attributes['merchant'] = $this->merchant;
     $product->attributes['description'] = $this->description_long;
     $product->attributes['description_short'] = $this->description_short;
     return parent::formatProduct($product);
 }
 protected function continueFeed($category, $file_name, $file_path, $remote_category)
 {
     $this->loadTemplate($remote_category);
     parent::continueFeed($category, $file_name, $file_path, $remote_category);
 }