prepare("SELECT c.*, ci.image_path FROM cars c LEFT JOIN car_images ci ON c.id = ci.car_id AND ci.is_main = 1 WHERE c.id = ? AND c.status = 'approved'"); $stmt->execute([$id]); $car = $stmt->fetch(); if (!$car) { header('Location: cars.php'); exit; } $success = false; $error = ''; if ($_SERVER['REQUEST_METHOD'] === 'POST') { $name = $_POST['buyer_name'] ?? ''; $phone = $_POST['buyer_phone'] ?? ''; $email = $_SESSION['user_email'] ?? ''; $stmt = $pdo->prepare("INSERT INTO purchases (car_id, user_id, buyer_name, buyer_email, buyer_phone) VALUES (?, ?, ?, ?, ?)"); if ($stmt->execute([$id, $_SESSION['user_id'], $name, $email, $phone])) { $success = true; } else { $error = "Failed to submit request. Please try again."; } } ?>

Request Submitted!

Your purchase request for the has been sent to our verification team. Our representative will contact you at within 24 hours to guide you through the offline bank transfer process.

Back to Marketplace Home Page

Purchase Summary

Model -

Total Amount $

Complete Your Request

Please provide your contact details. This is an offline purchase simulation for the Afghan automotive market.

🏦 Offline Payment Process

1. Submit this purchase request.
2. Wait for admin approval (usually within 24 hours).
3. Visit any Azizi Bank or New Kabul Bank branch.
4. Deposit the total amount into the verified seller's account.
5. Upload the bank receipt to complete the transaction.

Cancel