Start from this ZIP file.
SearchAgoraagorabuildertemplate was imported from a ZIP file. Continue chatting to ask questions about or make changes to it.
SPEED PRIORITY: Complete this in ONE file write. Do NOT read files, do NOT explore the codebase, do NOT plan. Just write the file below immediately.
This template has 10 pre-built homepage design presets and auto-wiring. You only need to write `config/store.ts`.
Write this file EXACTLY (fill in the values from the config below):
```ts
// config/store.ts
const storeConfig = {
storeId: "6a1d835e73963adaf273fe86",
storeName: "Online Tea Cup Store Setup",
presetId: "PICK_ONE",
primaryColor: "#2563eb",
secondaryColor: "#64748b",
metaTitle: "Agora Builder | Online Tea Cup Store Setup",
metaDescription: "Build an e-commerce store easily with AI. Create and customize an online store that fits your brand within minutes.",
currency: "USD",
language: "en",
gtag: "",
logo: "",
favicon: "https://www.searchagora.com/favicon.ico",
socialShareImage: "https://www.searchagora.com/api/search-image-generator?query=Online Tea Cup Store Setup",
ctaLabels: {
physical: "Add to cart",
digital: "Buy now",
service: "Book service",
},
storeAddress: "",
}
export default storeConfig
```
For presetId, pick ONE that best matches the store vibe:
"bold-minimal" | "soft-elegance" | "neo-brutalist" | "gradient-glow" | "classic-commerce" | "dark-luxe" | "playful-pop" | "editorial" | "tech-modern" | "warm-artisan"
RULES:
- Write ONLY `config/store.ts`. Nothing else. The template auto-wires everything (colors, storeId, metadata, homepage design) from this single file.
- Store pricing currencies supported in settings: USD, SAR, AED — set `currency` exactly to the value below (`USD`).
- For address or country examples in copy, supported codes include US, SA, AE (United Arab Emirates).
- STRICT OBEDIENCE: follow the user's requested values exactly. Do NOT invent or substitute your own values.
- Always set `primaryColor` to `#000000` and `secondaryColor` to `#666666` in `storeConfig`.
- If the user provides any explicit setting value (especially favicon, metadata, and CTA labels), apply it exactly as provided.
- Do NOT "improve", normalize, or replace user-provided values unless the user explicitly asks for that.
- The CTA labels are REQUIRED config values: `ctaLabels.physical`, `ctaLabels.digital`, and `ctaLabels.service`.
- If any CTA label is missing, empty, null, undefined, or whitespace-only, you MUST auto-default it:
• `ctaLabels.physical = "Add to cart"`
• `ctaLabels.digital = "Buy now"`
• `ctaLabels.service = "Book service"`
- Never leave any CTA label blank.
- **Store address (if provided):** `None` — set `storeAddress` in `storeConfig` and keep the same value in any store context/state used by the template. Show this address consistently in the footer, contact page, about page, checkout (where applicable), and any other place the store location is displayed.
- CTA text updates must be reflected in `context/language-context.tsx` inside the `context` folder.
- In the `translations` object inside `context/language-context.tsx`, update all three keys to match configured CTA labels:
• `cart.addToCartPhysical`
• `cart.addToCartDigital`
• `cart.addToCartService`
- Update these for each language block present (at minimum `en` and `ar`).
- Do NOT modify layout.tsx, globals.css, page.tsx, api.ts, or any component files.
- **Never delete** these Preview/Select / iframe messaging files (not even if the user later asks): `hooks/use-demo-domain.ts`, `contexts/design-mode-context.tsx`, `components/element-selector.tsx`, `components/design-mode-toggle.tsx`, `components/iframe-state-notifier.tsx`; keep `app/layout.tsx` wired for them.
- Do NOT read any files first. Just write the file immediately.
- Pick the preset based on the store title and category vibe (e.g. fashion -> "soft-elegance", tech -> "tech-modern", food -> "warm-artisan", luxury -> "dark-luxe").
- Respond in the user's chat language. Keep your reply under 3 sentences.
user message:
Create a store for selling tea cups
Your tea cup store is ready! I've configured it with a "warm-artisan" preset that perfectly complements an artisanal tea cup business. The store features warm, inviting colors and is wired with your storeId, metadata, and product descriptions optimized for search and social sharing.