I had the same problem, the cost was not displayed properly. The following is not a fix but a workaround to do your job. In my case I don't show any taxes or calculate them. it's included in the price.
edit file, catalog/model/payment/GOP_COD.php
change
line 202: $cost_and_tax=null; to $cost_and_tax='2.3';
line 337: 'cost' =>$cost, to 'cost' => '2.3',
line 337: 'cost_and_tax' => $cost_and_tax, to 'cost_and_tax' => '2.3',
change the 2.3 to whatever the COD charge is (including tax).
Also comment the following code: lines 321 to 328
Code: Select all
/*if($tax!=0)
{
$title=$title.'('.$this->language->get('text_without_taxes').' '.$this->formatCurrency($cost).')';
}
}
else
{
$title=$title.'('.$this->language->get('text_free').')';*/