Mock Data Reference
All mock data available in the playground. Use this data for testing components and workflows.
Mock Products
9 products with variants, pricing, and inventory

Classic Band Tee
prod_tshirt_001
100% cotton vintage-style band tee with premium screen printing. Pre-shrunk for the perfect fit.

Limited Edition Tour Tee
prod_tshirt_002
Exclusive tour merchandise. Heavy cotton with vintage wash. Only 500 made.

Premium Logo Hoodie
prod_hoodie_001
Ultra-soft fleece hoodie with embroidered logo. 80% cotton, 20% polyester blend.

Embroidered Dad Hat
prod_hat_001
Classic dad hat with embroidered logo. Adjustable strap, one size fits most.

Canvas Tote Bag
prod_tote_001
Heavy-duty canvas tote with printed design. Perfect for everyday use.

Latest Album - Limited Vinyl
prod_vinyl_001
Limited edition colored vinyl. Includes digital download code. Only 1000 pressed.

Concert Poster - Signed
prod_poster_001
Limited edition concert poster. Signed and numbered by the artist. 18x24 inches.

Upcoming Release - Long Sleeve
prod_draft_001
Coming soon! Premium long sleeve with new design.

Vintage Festival Tee - SOLD OUT
prod_soldout_001
Classic festival merchandise from 2024 tour. No restocks planned.
Import in your code:
1import { mockProducts, getProductById } from '@/lib/mock-data';2 3// Get all products4const products = mockProducts;5 6// Get specific product7const product = getProductById('prod_tshirt_001');8 9// Filter by state10const publishedProducts = mockProducts.filter(p => p.state === 'published');11 12// Get product variants13const variants = product.variants;Product Categories
Apparel
apparel
cat_apparel
Accessories
accessories
cat_accessories
Music
music
cat_music
Helper Functions
Utility functions available in mock-data.ts
1import {2 getProductById,3 getVariantById,4 formatPrice,5 calculateCartTotal,6 calculateProfit,7 getProfitStatus,8} from '@/lib/mock-data';9 10// Get product11const product = getProductById('prod_tshirt_001');12 13// Get variant14const variant = getVariantById('prod_tshirt_001', 'var_tshirt_001_m_black');15 16// Format price17const formattedPrice = formatPrice(2999); // "€29,99"18 19// Calculate cart total20const total = calculateCartTotal('cart_demo_001');21 22// Calculate profit23const profitInfo = calculateProfit(2999, 1200);24// Returns: { profit, profitMargin, platformFee, baseCost }25 26// Get profit status27const status = getProfitStatus(profitMargin); // 'low' | 'medium' | 'good'