Initial commit

This commit is contained in:
2026-01-25 21:03:33 +01:00
commit 8d8e213f1c
2570 changed files with 479666 additions and 0 deletions
@@ -0,0 +1,13 @@
<?php
session_start();
// Recupera la chiave dell'elemento da rimuovere
$cart_key = $_POST['cart_key'] ?? '';
if ($cart_key && isset($_SESSION['cart'][$cart_key])) {
// Rimuovi l'elemento dal carrello
unset($_SESSION['cart'][$cart_key]);
echo json_encode(['success' => true]);
} else {
echo json_encode(['success' => false, 'message' => 'Elemento non trovato']);
}