Shopify + dropship
The In store page lists handhelds sold and shipped from RetroWizard (Shopify). The main Shop catalog links to official manufacturer stores only.
1. Set your store URL
In .env.local (and Vercel env vars for production):
NEXT_PUBLIC_SHOPIFY_STORE_URL=https://retrowizard.net2. Add products in Shopify
Create each handheld in Shopify Admin. Fulfill via DSers, AutoDS, or manual KeepRetro orders.
3. Add to In store catalog
Add the product slug to src/data/in-store.ts:
export const inStoreProductSlugs = [
"miyoo-mini-plus",
];4. Link Shopify checkout
Edit src/data/products/ and add for each device:
shopifyHandle— product URL slug in ShopifyshopifyVariantIdon each color variant (optional but recommended)- Or
shopifyUrl/shopifyUrlMatrixfor full URLs
Example
{
slug: "miyoo-mini-plus",
shopifyHandle: "miyoo-mini-plus",
variants: [
{ id: "black", label: "Black", price: 5699, inStock: true,
shopifyVariantId: "41234567890123" },
],
buyUrl: "https://...", // official tab — unchanged
}Full guide: docs/shopify-setup.md