first commit

This commit is contained in:
2025-04-30 23:59:49 +02:00
commit 652863d54f
117 changed files with 12276 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<div class="basket_summary__wrapper">
<h2>Suma:</h2>
<?php
$finalPrice = 0;
foreach ( $this -> cart as $data => $value )
{
foreach ( $value as $key => $val )
{
$price = $val['ticket_price'];
$quantity = $val['quantity'];
$finalPrice += $price * $quantity;
}
}
?>
<p><?= $finalPrice; ?> zł</p>
<button class="buy-btn" type="submit">Płacę</button>
</div>