diff --git a/cart.php b/cart.php index 65729bb..fb5db7c 100644 --- a/cart.php +++ b/cart.php @@ -1,12 +1,9 @@ $price_net, 'price_gross' => $price_gross, 'quantity' => $quantity, - 'line_total' => $line_total_gross, // Use gross for calculations + 'line_total' => $line_total_gross, ]; - $total_price += $line_total_gross; // Sum up the gross total + $total_price += $line_total_gross; } } catch (PDOException $e) { - die("Błąd połączenia z bazą danych: " . $e->getMessage()); + die(t('db_connection_error') . $e->getMessage()); } } -$page_title = 'Koszyk'; $user_role = get_user_role(); ?> - - -
- - -