$value) { if ($value > 0) { $totals[] = [ 'extension' => 'opencart', 'code' => 'tax', 'title' => $this->tax->getRateName($key), 'value' => $value, 'sort_order' => (int)$this->config->get('total_tax_sort_order') ]; $total += $value; } } } }