Ana Sayfa / Kod ve Scriptler / CartWhats - WhatsApp Storefront PWA

CartWhats - WhatsApp Storefront PWA

CartWhats; çevrimdışı PWA desteği ile bir WhatsApp vitrini, restoran menüsü ve görsel katalog oluşturucu sunar.

  • Yayın tarihi12 Kasım 2026
  • Paket içeriği.html, .md, JavaScript .js
  • Son güncelleme12 Kasım 2026
  • Canlı demoVar
CartWhats - WhatsApp Storefront PWA

Overview

CartWhats is a complete, offline-ready WhatsApp Storefront, Restaurant Menu & Visual Catalog Builder PWA built with Vanilla JavaScript (ES2022), Tailwind CSS v4, and Vite 6 (zero jQuery, zero database or backend server required).

Designed for restaurants, bakeries, cafes, boutiques, grocery shops, and freelance agencies, CartWhats lets store owners manage products visually via a built-in Catalog Builder (builder.html), export a clean store.json config, and take structured customer orders directly on WhatsApp (wa.me) with variant pricing, optional add-ons, promo codes, delivery zone fees, and printable receipts.

Core JavaScript Features: - Interactive Storefront (index.html): - 3 built-in industry presets switchable live (Bakery & Cafe, Tech Gear Studio, Fresh Market). - Category filter pills + real-time catalog search. - Product Customization Modal: Radio size/option variants, multi-select paid/free add-ons, special notes, and real-time unit price calculation (order-engine.js). - Slide-Over Cart & WhatsApp Checkout Drawer: Quantity controls, promo code validator (percent, fixed, freeship with minimum spend rules), Delivery Zone fee calculator vs. Store Pickup ($0), validated customer details form, live formatted WhatsApp order preview, 1-click Send Order via WhatsApp, Copy Order Text, and Print Receipt. - Local Order History: Saves completed orders in localStorage with 1-click Reorder. - RTL / LTR & Dark / Light Theme Support: Instant direction switching and persistent dark mode. - PWA Ready: Includes manifest.webmanifest and offline-capable service worker (sw.js). - No-Code Visual Catalog Builder (builder.html): - Configure store branding, WhatsApp number, currency symbol, tax rate, accent color, and RTL/LTR direction. - Add, remove, or toggle product stock live, preview changes immediately, and import/export store.json. - Unit & E2E Tested Architecture: - Ships with tests/order-engine.test.mjs (node --test) and tests/e2e.mjs (Playwright browser tests).

Features

Interactive WhatsApp Order Builder & Storefront, No-Code Visual Catalog Builder (builder.html), Product Variants, Add-ons & Promo Code Engine, Delivery Zone Fee Calculator vs Store Pickup, RTL/LTR + Dark/Light Mode + Offline PWA, Includes Unit Tests & Full Vite/Tailwind 4 Source)

Requirements

For hosting the compiled app/ folder: - Any modern web browser (Chrome, Edge, Firefox, Safari) - Any static web host or HTTPS server (cPanel, Nginx, Apache, Netlify, Vercel, GitHub Pages) — no PHP, MySQL, or backend runtime required

Optional (for developers modifying source/ or running tests): - Node.js 18+ and npm