Walmart Integration¶
The Walmart page manages product matching and price tracking for accurate shopping cost estimation.
Overview¶
The Walmart integration provides:
- Product Matching: Link ChefByte products to Walmart items
- Price Tracking: Auto-update prices from Walmart.com
- Manual Prices: Enter prices for non-Walmart items
- Cart Estimation: Calculate shopping list costs
Missing Links Count¶
Shows how many Grocy products don't have Walmart links yet.
Why it matters:
- Unlinked products won't have price data
- Shows how much work is left
- Click to filter unlinked products
Not a Walmart Item Checkbox¶
Mark products that aren't sold at Walmart (homemade items, local produce).
How to use:
- Check this box to mark as "not linkable"
- Won't count against missing links
- Keeps database organized
URL Paste vs Product Suggestions¶
Two ways to link products:
| Method | How It Works |
|---|---|
| Paste Walmart URL | Copy from walmart.com and paste directly |
| Product Suggestions | Type name and pick from autocomplete |
Missing Links Workflow¶
For products without Walmart links:
Process¶
- Open Walmart page
- System loads 5 products at a time
- Each product shows 4 Walmart search results
- Review options with images and prices
- Click best match OR "Not Walmart"
- Click "Update All" to save and load next batch
Search Results Show¶
- Product image
- Product name
- Current Walmart price
- Link to Walmart page
Options¶
- Select Match: Link this Walmart product
- Not Walmart: Mark as not available at Walmart
- Skip: Leave for later
Missing Prices Workflow¶
For "Not Walmart" items:
- Switch to "Missing Prices" tab
- See items marked as non-Walmart
- Enter manual prices
- Save to enable cost tracking
Automatic Price Updates¶
Keep prices current:
- Click "Start Price Update"
- System launches 5 parallel workers
- Each worker scrapes current Walmart prices
- Progress bar shows completion
- Prices update in real-time
Update Features¶
- Respects rate limits
- Handles variations gracefully
- Strips tracking parameters
- Logs update history
Dashboard Integration¶
The Home dashboard shows:
| Card | Description |
|---|---|
| Missing Walmart Links | Products needing matching |
| Missing Prices | Items without price data |
| Shopping Cart Value | Estimated cost of current list |
Price Sources¶
| Source | Priority | Notes |
|---|---|---|
| Walmart Scrape | 1st | Auto-updated prices |
| Manual Entry | 2nd | For non-Walmart items |
| Search Result | Initial | From matching workflow |
Best Practices¶
- Batch Processing: Match products in batches after scanning
- Weekly Updates: Run price refresh weekly
- Mark Non-Walmart: Identify Costco/farmers market items
- Enter Manual Prices: Don't leave items without prices
- Review Matches: Verify matched products are correct
Rate Limiting¶
The scraper respects Walmart's servers:
- Maximum 5 concurrent requests
- Built-in delays between batches
- Automatic retry on failures
- Graceful handling of blocks
Scraping Limits
Heavy usage may trigger temporary blocks. If scraping fails repeatedly, wait an hour before retrying.
Non-Walmart Items¶
For products not sold at Walmart:
- Click "Not Walmart" during matching
- Switch to "Missing Prices" tab
- Enter price from actual purchase location
- Examples: Costco, farmers market, specialty stores
Cart Link Generation¶
After matching products:
- Add items to shopping list
- Click "Get Cart Links"
- URLs copied to clipboard
- Paste links to quickly build Walmart cart
Technical Details¶
The integration uses:
- SerpApi: Walmart search results
- Scrape.do: Price scraping proxy
- Vercel Functions: Serverless processing
- Supabase: Price storage
Troubleshooting¶
| Issue | Solution |
|---|---|
| No search results | Product may not exist at Walmart |
| Price update fails | Check API keys in environment |
| Slow updates | Normal - respects rate limits |
| Wrong matches | Re-match in Walmart page |