Overview
PixelTech’s product catalog delivers a lightning-fast shopping experience using a SmartProductSync real-time caching system. Customers can browse thousands of products instantly, with automatic updates when prices or inventory change.How Customers Browse Products
Instant Loading Experience
When customers visit the store:- Immediate Display - Products load instantly from local cache (no waiting)
- Real-Time Updates - The system connects to Firebase in the background
- Live Inventory - Stock levels and prices update automatically without page refresh
- Smart Refresh - Only changed products are downloaded (saves bandwidth)
The first visit downloads the full catalog. Return visits only sync what changed since the last visit - typically just a few products.
Product Display
Each product card shows:- High-quality product image (optimized loading)
- Product name and category
- Current price (updates in real-time)
- Discount badges (if applicable with percentage)
- Stock status (Available/Out of Stock)
- Action buttons (Add to Cart or Configure Options)
Search and Filter System
Advanced Filtering
Customers can filter products by multiple criteria:Filter by Category
Main categories and subcategories appear dynamically based on available inventory. The count next to each category updates in real-time.
Filter by Brand
All available brands are listed with product counts. Only brands with stock are shown.
Filter by Color
Colors are extracted from product variants. Visual color swatches make selection intuitive.
Filter by Capacity
Storage capacities (64GB, 128GB, 256GB, etc.) are grouped for easy comparison.
How Filters Work
Sorting Options
Customers can sort products by:- Newest First (default)
- Price: Low to High
- Price: High to Low
- Alphabetical
- Best Discounts (in promotions view)
Smart Caching Technology
How SmartProductSync Works
Benefits for Customers
Instant Loading
Products appear immediately, no loading spinners
Offline Browsing
View products even with poor connection
Live Prices
Always see current pricing and availability
Data Efficient
Only downloads what changed, saves mobile data
Product Variants System
Configuring Products
Products with variants (colors, capacities) have special handling:- Automatic Detection - System detects when variants exist
- Configuration Modal - Opens when customer clicks “Options”
- Price Updates - Price changes instantly when selecting different variants
- Image Preview - Product image updates to show selected color
- Stock Validation - Only available combinations are selectable
Variant Selection Flow
- Simple Products
- Products with Colors
- Products with Capacity
- Both Color + Capacity
No VariantsClick “Add to Cart” → Item added instantly with default settings
Homepage Features
Featured Banners
Promotional Slider- Auto-rotating hero banners (5 seconds each)
- Manual navigation arrows
- Custom banner images or auto-generated from product data
- Smooth crossfade transitions
- Highlights newest arrivals
- Similar auto-play and navigation
- Different visual treatment than promotions
Product Collections
Weekly Choices
Curated selection of featured products. If fewer than 4 are marked as “Weekly Choice”, the system randomly fills with popular items.
Special Offers
Displays up to 15 products with active discounts. Sorted randomly to give all promos equal visibility.
Featured Products
Rotates every 8 days automatically. Shows 10 products per rotation cycle. Cached to avoid repetition during the cycle.
View History
Shows last 10 products the customer viewed. Stored locally for quick access.
Catalog Page
Full Product Grid
The dedicated catalog page (/shop/catalog.html) offers:
- 28 products per page (optimized for performance)
- Pagination controls (jump to any page)
- Mobile filter drawer (slide-in on mobile devices)
- Sticky filters (desktop sidebar remains visible while scrolling)
- Product count display (always shows number of results)
- URL parameters (can link directly to filtered views)
Special Promotions Mode
Accessing/shop/catalog.html?mode=promos activates:
- Filters to only show discounted products
- Default sort by biggest discount
- Red accent theme
- “Limited Time” messaging
Real-Time Synchronization
What Updates Automatically
Price Changes
Price Changes
If an admin changes a product price, all customers browsing see the new price within seconds. Already-added cart items maintain their price at time of adding.
Stock Updates
Stock Updates
When a product sells out, the “Out of Stock” badge appears automatically. If it comes back in stock, the button reappears without page reload.
New Products
New Products
When admin adds a new product, it appears in the catalog for all customers within seconds.
Product Removal
Product Removal
If a product is deactivated or deleted, it disappears from the catalog immediately.
Technical Implementation
Cache Structure
localStorage under key pixeltech_master_catalog.
Delta Update Logic
The catalog system is designed for scalability. A store with 10,000 products performs as fast as one with 100 products thanks to smart caching.
Related Features
Shopping Cart
Learn how products move from catalog to purchase
Order Tracking
Track orders after purchase