| Аргумент | Возможный тип | Описание |
| У метода нет аргументов | ||
$total = 0;
foreach ($this->getProducts() as $product) {
$total += $this->tax->calculate($product['price'], $product['tax_class_id'], $this->config->get('config_tax')) * $product['quantity'];
}
return $total;