valdeir2000 escreveu:tomporoskipy escreveu:tedros escreveu:Po, valeu kra,
ta funcionando 100%
Abraçoo
aqui de R$ 16,00 passa pra 66,00 atualizando a moeda..
É normal pois ele está convertendo todas as moedas, mas segue uma correção (que por sinal é um pouco trabalhosa).
Let's Go.
1. Abra o arquivo catalog/model/shipping/correios.php
2. Substitua Código: Selecionar todos$this->quote_data[$codigo]['text'] = $this->currency->format($this->tax->calculate($new_cost, $this->config->get('correios_tax_class_id'), $this->config->get('config_tax')));
por Código: Selecionar todos$this->quote_data[$codigo]['text'] = $this->currency->format($this->tax->calculate($new_cost, $this->config->get('correios_tax_class_id'), $this->config->get('config_tax')), "BRL", 1);
2. Substitua Código: Selecionar todos$this->quote_data[$codigo]['text'] = $this->currency->format($this->tax->calculate($new_cost, $this->config->get('correios_tax_class_id'), $this->config->get('config_tax')), $this->session->data['currency']);
por Código: Selecionar todos$this->quote_data[$codigo]['text'] = $this->currency->format($this->tax->calculate($new_cost, $this->config->get('correios_tax_class_id'), $this->config->get('config_tax')), $this->session->data['currency'], 1);
3. Substitua Código: Selecionar todos$text = $this->currency->format($this->tax->calculate($cost, $this->config->get('correios_tax_class_id'), $this->config->get('config_tax')));
por Código: Selecionar todos$text = $this->currency->format($this->tax->calculate($cost, $this->config->get('correios_tax_class_id'), $this->config->get('config_tax')), "BRL", 1);
4. Substitua Código: Selecionar todos$text = $this->currency->format($this->tax->calculate($cost, $this->config->get('correios_tax_class_id'), $this->config->get('config_tax')), $this->session->data['currency']);
por Código: Selecionar todos$text = $this->currency->format($this->tax->calculate($cost, $this->config->get('correios_tax_class_id'), $this->config->get('config_tax')), $this->session->data['currency'], 1);
5. Substitua Código: Selecionar todos$total += $this->currency->format($this->tax->calculate($product['total'], $product['tax_class_id'], $this->config->get('config_tax')), '', '', false);
por Código: Selecionar todos$total += $this->currency->format($this->tax->calculate($product['total'], $product['tax_class_id'], $this->config->get('config_tax')), 'BRL', 1, false);
6. Substitua Código: Selecionar todos$total += $this->currency->format($this->tax->calculate($product['total'], $product['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], '', false);
por Código: Selecionar todos$total += $this->currency->format($this->tax->calculate($product['total'], $product['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], 1, false);
Agora é só fazer o teste.
Como não tenho o módulo instalado, apenas baixei e abrir tem testar, espero que possam dá um feedback para quem tiver interesse em fazer também.
Olá, Pode ajudar por favor. Quando a pessoal calcular o frete e no final aparece certinho. Mas se a pessoa selecionar só esta Utilizar este frete ai aparece errado ainda..... Muito Obrigado