Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Changelog

1.0.12
- "SR-714 allow capture offline" (Thanks to Pascal Querner)
- Fixed "Display Zero Fee" in customer account order view" (Thanks to [idziakjakub](https://github.com/idziakjakub) (#21))

1.0.11
- Add locale "en_GB" and "pt_PT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function initTotals()
{
$this->_prepareTotals();

if ($this->_totalObject && $this->_totalObject->getCodFee()) {
if ($this->_totalObject && $this->_totalObject->getCodFee() && Mage::getStoreConfigFlag('payment/phoenix_cashondelivery/display_zero_fee')) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not work... If codFee check returns false the last && will not be validated. If the codFee Check returns true and display_zero_fee is set to false the total block is not added even if a fee is set.

$label = $this->__('Cash on Delivery fee');
$value = $this->_totalObject->getCodFee();
$baseValue = $this->_totalObject->getBaseCodFee();
Expand Down
2 changes: 1 addition & 1 deletion app/code/community/Phoenix/CashOnDelivery/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<config>
<modules>
<Phoenix_CashOnDelivery>
<version>1.0.11</version>
<version>1.0.12</version>
</Phoenix_CashOnDelivery>
</modules>

Expand Down
2 changes: 1 addition & 1 deletion var/connect/Phoenix_CashOnDelivery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<description>Cash on Delivery allows to book additional fee on delivery depending on national or international delivery.</description>
<license>OSL</license>
<license_uri>http://opensource.org/licenses/osl-3.0.php</license_uri>
<version>1.0.11</version>
<version>1.0.12</version>
<stability>stable</stability>
<notes>Offizielle Version</notes>
<authors>
Expand Down