// Check if functions.php exists before requiring $functions_file = SITE_ROOT . '/includes/functions.php'; if (file_exists($functions_file)) { require_once $functions_file; } else { // Create a simple fallback if file doesn't exist error_log("Functions file not found: " . $functions_file); // Define basic functions if file is missing if (!function_exists('sanitize_input')) { function sanitize_input($data) { if (is_array($data)) { return array_map('sanitize_input', $data); } $data = trim($data); $data = stripslashes($data); $data = htmlspecialchars($data, ENT_QUOTES | ENT_HTML5, 'UTF-8'); return $data; } } if (!function_exists('generate_csrf_token')) { function generate_csrf_token() { if (empty($_SESSION['csrf_token'])) { $_SESSION['csrf_token'] = bin2hex(random_bytes(32)); $_SESSION['csrf_token_time'] = time(); } return $_SESSION['csrf_token']; } } }

Shop Together, Save More!

Join group buying and get amazing discounts. Invite friends and save up to 90%! Free shipping on orders above Rs 2000.

5M+
Happy Customers
10K+
Products
90%
Max Savings
24/7
Support

Shop By Category

Explore our wide range of product categories

FLASH SALE Ends in:
24
Hours
00
Minutes
00
Seconds
View All