diff --git a/app/code/community/Phoenix/CashOnDelivery/Block/Totals/Abstract.php b/app/code/community/Phoenix/CashOnDelivery/Block/Totals/Abstract.php index 9887ae9..7003150 100644 --- a/app/code/community/Phoenix/CashOnDelivery/Block/Totals/Abstract.php +++ b/app/code/community/Phoenix/CashOnDelivery/Block/Totals/Abstract.php @@ -44,7 +44,9 @@ public function initTotals() { $this->_prepareTotals(); - if ($this->_totalObject && $this->_totalObject->getCodFee()) { + if (Mage::getStoreConfigFlag('payment/phoenix_cashondelivery/display_zero_fee') + || ($this->_totalObject && $this->_totalObject->getCodFee() > 0) + ) { $label = $this->__('Cash on Delivery fee'); $value = $this->_totalObject->getCodFee(); $baseValue = $this->_totalObject->getBaseCodFee(); @@ -123,4 +125,4 @@ protected function _addTotalToParent($total, $after = null) return $this; } -} \ No newline at end of file +}