Overview
Mis Compras provides multiple ways for buyers to discover products across various categories. The platform offers featured products, category-based browsing, and powerful search functionality to help you find exactly what you’re looking for.Featured Products on Homepage
When you first visit Mis Compras, you’ll see a curated selection of featured products on the homepage atindex.html.
Homepage Components
Hero Carousel
The homepage features a rotating carousel showcasing:
- Hot sales and promotions (up to 35% off on technology)
- Free shipping offers (on purchases over $100,000)
- Seasonal promotions and new arrivals
Category Quick Access
Quick navigation buttons for popular categories:
- Smartphones
- Laptops
- Fruits & Vegetables
- Home & Decoration
- Meats & Seafood
- Fashion & Accessories
- Beauty & Personal Care
The homepage carousel auto-rotates through promotional slides. Use the arrow buttons (❮ ❯) or indicator dots to manually navigate between slides.
Browsing by Category
Products are organized into categories for easy browsing through theproductos.html page.
Category Structure
The platform loads products dynamically using theproductos.js script, which fetches from php/obtener_productos_por_categoria.php:
Product Cards
Each product card displays:- Product Image - Visual preview with fallback to default image if unavailable
- Product Name - Clear product title
- Price - Formatted as
$XX.XX - Seller Information - “Publicado por [Seller Name]” with clickable link to seller profile
- View Button - Links to detailed product page
Product images that fail to load automatically show a default placeholder image located at
imagenes/default-product.svg.Search Functionality
The navigation bar includes a powerful search feature that helps you find products quickly.Using the Search Bar
Search Algorithm
The search functionality (php/buscar_productos.php) searches across multiple fields:
- Product Name - Matches product titles
- Description - Searches product descriptions
- Price - Can even search by price range
Search uses SQL
LIKE matching, so partial matches will be returned. For example, searching “phone” will find “iPhone”, “Smartphone”, etc.Filtering Products
Filter by Seller
On the products page (productos.html), you can filter to see only your own listed products:
Login Required
You must be logged in to use this filter. If not logged in, you’ll see: “Inicia sesión para ver tus productos”
Product Details Page
Click on any product’s “Ver” or “Ver más” button to access the detailed product page (producto.html).
Product Page Features
The product detail page displays comprehensive information:Product Information
- High-resolution product image
- Full product name and description
- Current price
- Seller information with profile link
- Action buttons (Add to Cart, Buy Now)
Reviews & Ratings
- Average rating (⭐ X / 5)
- Total number of reviews
- Individual customer reviews with:
- Reviewer name
- Star rating
- Written comment
- Review date
Viewing Product Details
Product information is loaded viaphp/producto.php?id={id_producto}:
Seller Profiles
Click on any seller’s name to view their profile and all their listed products.Seller profile pages (
vendedor.html?id={id_vendedor}) show all products from a specific seller, helping you discover more items from trusted vendors.Navigation Best Practices
Start with Categories
Use category buttons on the homepage or the Products dropdown menu to browse specific product types
Use Search for Specific Items
When you know what you want, use the search bar for the fastest results
Check Seller Profiles
Found a product you like? Check out the seller’s other products for similar items
Related Resources
Shopping Cart
Learn how to add products to your cart
Checkout Process
Complete your purchase securely