E COMMERCE WEBSITE
Bau-Anleitung für eine vollständige E-Commerce-Website aus einer einzigen HTML-Datei – mobiltauglich und einsatzbereit.
Bau-Anleitung für eine vollständige E-Commerce-Website aus einer einzigen HTML-Datei – mobiltauglich und einsatzbereit.
Der Prompt
Here’s a strong **copy-paste prompt** you can use with ChatGPT, Claude, Gemini, or an AI website builder:
Act as a senior full-stack web developer and UI/UX designer.
I want you to build a modern, professional, fully responsive **e-commerce website** from scratch.
### Goal
Create a clean and attractive online shopping website suitable for a real business. The website should work smoothly on mobile, tablet, and desktop.
### Technology
Use:
* HTML5
* CSS3
* JavaScript
* Use a single HTML file with CSS and JavaScript included inside it.
* Do not use a backend unless absolutely necessary.
* Use clean, well-organized, beginner-friendly code.
### Website Features
1. **Header/Navbar**
* Professional logo/store name
* Home
* Shop
* Categories
* About
* Contact
* Search icon/bar
* Shopping cart icon with item count
* Login/Register button
2. **Hero Section**
* Large promotional banner
* Attractive headline
* Short description
* "Shop Now" button
* Modern e-commerce design
3. **Categories**
Create attractive category cards such as:
* Electronics
* Fashion
* Shoes
* Accessories
* Beauty
* Home & Living
4. **Product Section**
Display multiple product cards containing:
* Product image
* Product name
* Rating
* Original price
* Discounted price
* Discount percentage
* "Add to Cart" button
* "Buy Now" button
* Wishlist/heart button
5. **Product Search & Filter**
Add working JavaScript functionality for:
* Product search
* Category filtering
* Price sorting
* Rating sorting
6. **Shopping Cart**
Create a functional cart where users can:
* Add products
* Remove products
* Increase/decrease quantity
* See subtotal
* See total price
* Clear cart
7. **Checkout**
Create a professional checkout page/section with:
* Customer name
* Email
* Phone
* Address
* City
* State
* PIN code
* Payment method
* Order summary
* Place Order button
8. **Special Sections**
Add:
* Flash Sale
* Best Sellers
* New Arrivals
* Customer Reviews
* Newsletter subscription
9. **Footer**
Include:
* About the store
* Quick links
* Customer support
* Privacy Policy
* Terms & Conditions
* Social media icons
* Copyright
### Design Requirements
* Premium and modern UI
* Clean typography
* Attractive product cards
* Smooth hover animations
* Responsive layout
* Mobile-friendly hamburger menu
* Good spacing and alignment
* Professional color scheme
* Smooth scrolling
* Accessible buttons and forms
* Add subtle animations without making the website slow
### JavaScript Requirements
Make the following features actually work:
* Search
* Category filtering
* Sorting
* Add to cart
* Remove from cart
* Quantity controls
* Cart total calculation
* Wishlist button
* Mobile navigation
* Checkout form validation
* Order confirmation message
Use sample products and realistic product images from publicly accessible image URLs.
### Important
Do not give me only an explanation. **Build the complete working website code.**
Return the complete code in one HTML file that I can save as `index.html` and open directly in a browser.
Make the final result look like a professional real-world e-commerce website rather than a basic demo.
I can also create a **complete working e-commerce website from this prompt** and give you the HTML/CSS/JavaScript code.
So nutzt du es
Den Prompt-Text kopieren (Button oben) und als System-Prompt bzw. erste Nachricht in ChatGPT, Claude oder einem lokalen Modell einfügen. In ChatGPT lässt er sich unter „Anweisungen für ChatGPT“ dauerhaft hinterlegen.
Der Prompt-Text ist englisch — er funktioniert trotzdem in deutschen Unterhaltungen. Für deutsche Antworten einfach am Ende ergänzen: „Antworte auf Deutsch.“
Im Detail
Dieser Prompt gibt einem LLM die Rolle eines erfahrenen Full-Stack-Entwicklers und lässt es eine komplette E-Commerce-Website erstellen – bewusst in einer einzigen HTML-Datei mit eingebettetem CSS und JavaScript, ganz ohne Backend. Das Ergebnis ist mobiltauglich, sauber strukturiert und anfängerfreundlich, enthält Header mit Warenkorb und Suche, eine Hero-Sektion sowie Shop- und Kategorieseiten. Praktisch ist das vor allem für Prototypen, Demos oder Lernprojekte: Du hast sofort lauffähigen Code, den du lokal im Browser öffnest. Für einen echten Produktivshop reicht das Frontend allein aber nicht – Zahlung, Lager und Login brauchst du serverseitig dazu. Sieh das Ergebnis also als soliden Startpunkt, nicht als fertigen Onlineshop.
Praxis-Tipp
Ersetze die Platzhalter für Logo, Kategorie und Produktbilder durch deine echten Daten, bevor du das Modell losschickst – zum Beispiel: Store-Name ‘Meine Bäckerei’, Kategorien ‘Brot, Kuchen, Gebäck’. So bekommst du direkt brauchbaren Code statt generischer Platzhalter.
Siehe auch
Lizenz & Quelle
- Lizenz: CC0-1.0 (Public Domain)
- Quelle: awesome-chatgpt-prompts (GitHub)
Inhalt ansehen (e-commerce-website.txt)
Lade …
Erfahrungen & Kommentare.
Funktioniert der Prompt bei Ihnen? Tipps, Stolperfallen, Varianten — teilen Sie es mit der Community.
Lade Kommentare …
Passt dazu.
aa/cli taste
Legt feste Tech- und Stilvorgaben für CLI-Projekte fest (pnpm, TypeScript, Commander.js, Ordnerstruktur).
Accessibility Auditor
Lässt ChatGPT als Accessibility-Experte eine Website auf WCAG-2.2- und Section-508-Konformität prüfen.
Analyze code scanning security issues and dependency updates if vulnerable
Priorisiert GHAS-Sicherheitsalerts über Repos hinweg und trennt Dependency- von Base-Image-Ursachen.
