protected function applySellingFormatTemplateModifications($value)
 {
     if ($this->getIsMagentoMode()) {
         return $value;
     }
     return parent::applySellingFormatTemplateModifications($value);
 }
 protected function getOptionBaseValue(Ess_M2ePro_Model_Listing_Product_Variation_Option $option)
 {
     if (!$option->getMagentoProduct()->isStatusEnabled() || !$option->getMagentoProduct()->isStockAvailability()) {
         return 0;
     }
     if ($this->getSource('mode') == Ess_M2ePro_Model_Template_SellingFormat::QTY_MODE_PRODUCT) {
         if (!$this->getMagentoProduct()->isStatusEnabled() || !$this->getMagentoProduct()->isStockAvailability()) {
             return 0;
         }
     }
     return parent::getOptionBaseValue($option);
 }