<?php
session_start();
include 'config.php';
checkCustomerAuth();

// Clear cart
$_SESSION['cart'] = [];

// Return success response
header('Content-Type: application/json');
echo json_encode(['success' => true]);
?>