About SM FASHION

Samocool Textile & Fashion Outfit is a dynamic and trendsetting company that specializes in delivering high-quality textiles and fashionable outfits. With a passion for style and a commitment to excellence, we curate a diverse range of textiles and clothing that cater to individuals seeking both comfort and sophistication. Our collection encompasses a fusion of modern design elements and timeless classics, ensuring that our customers are always at the forefront of fashion. At Samocool, we take pride in offering a seamless shopping experience, where creativity meets craftsmanship to adorn you in elegance from fabric to attire.

₦99.00 25% Off
Product Image
₦99.00 25% Off
Product Image
₦99.00 25% Off
Product Image

Samocool Textile & Fashion Outfit is a dynamic and trendsetting company that specializes in delivering high-quality textiles and fashionable outfits. With a passion for style and a commitment to excellence, we curate a diverse range of textiles and clothing that cater to individuals seeking both comfort and sophistication. Our collection encompasses a fusion of modern design elements and timeless classics, ensuring that our customers are always at the forefront of fashion. At Samocool, we take pride in offering a seamless shopping experience, where creativity meets craftsmanship to adorn you in elegance from fabric to attire.

  • limited time offer

  • limited time offer

  • limited time offer

  • limited time offer

  • limited time offer

  • limited time offer

  • limited time offer

  • limited time offer

  • limited time offer

  • limited time offer

include 'db.php'; // PDO connection if (!isset($_SESSION['user_id'])) { header("Location: login.php"); exit; } $userId = $_SESSION['user_id']; // Fetch user info $stmt = $pdo->prepare("SELECT * FROM users WHERE id = :id"); $stmt->execute([':id' => $userId]); $user = $stmt->fetch(PDO::FETCH_ASSOC); // Fetch orders $stmtOrders = $pdo->prepare("SELECT * FROM orders WHERE user_id = :id ORDER BY created_at DESC"); $stmtOrders->execute([':id' => $userId]); $orders = $stmtOrders->fetchAll(PDO::FETCH_ASSOC); // Fetch wishlist $stmtWishlist = $pdo->prepare(" SELECT p.* FROM wishlist w JOIN products p ON w.product_id = p.id WHERE w.user_id = :id "); $stmtWishlist->execute([':id' => $userId]); $wishlist = $stmtWishlist->fetchAll(PDO::FETCH_ASSOC); ?> User Dashboard - SM FASHION

Profile

Name:

Email:

Joined: January 1, 1970

Orders

You have no orders yet.

Wishlist

Your wishlist is empty.

Settings