it adds cod taxes, even if I choose another payment method like paypal.
How can I fix this?
this is a part of my catalog/model/total/cod_fee.php
I think the error is here:
Code: Select all
if ($this->config->get('cod_fee_status')) {
if (isset($this->session->data['payment_method']['id']) == "cod" && $this->config->get('cod_tax') > 0) {
if ($this->config->get('cod_free') == 0 || ($this->config->get('cod_free') == 1 && $this->cart->getSubTotal() < $this->config->get('cod_free_value'))) {