Build product catalogs with cart and checkout optimized for WhatsApp. No backend, no payment gateway, no complications.
Download whanda.min.js and whanda-plugins.min.js from dist/ — you're running in minutes.
Lentes de Sol
$1,500
Reloj Clásico
$3,500
Bolso Cuero
$4,200
Collar Plata
$2,800
✅ Order sent to WhatsApp
"Gracias por tu compra, María!"
How it works
Your customer finds your products through social media, ads, or word of mouth.
They explore your catalog — search, filter, see prices and stock in real time.
They add items, apply coupons, choose shipping and payment. All validated.
You receive the complete order details — items, price, address — via WhatsApp.
You confirm, arrange payment and delivery — manually, on your terms.
Features
Real-time stock validation, quantities, localStorage persistence with cache TTL.
Fixed shipping, per-item, or free above threshold. Multi-currency with auto-conversion.
Fixed amount, percentage, expiration, usage limits, minimum order. Full control.
Link generation, catalog sharing, thank-you page. Customizable templates.
Tax and shipping by region. ITBIS in DR, IVA elsewhere. Automatic conversion.
Pending, confirmed, shipped, delivered, cancelled. Complete order tracking.
Customize any step of the flow. beforeAddToCart, afterCheckout, beforeWhatsAppSend.
Load products directly from a spreadsheet. No backend, no database. Just a URL.
String sanitization, JSON validation, rate limiting. XSS protection built-in.
Bundle size
~26 KB
whanda.min.js
Core (IIFE)
~4 KB
whanda-plugins.min.js
Plugins
~0.5 KB
whanda-extensions.min.js
Extensions
~8-10 KB
With gzip
Core compressed
Quick start
// 1. Create instance
const w = new Whanda({ whatsappNumber: "1234567890" });
// 2. Load products
w.setProducts([
{ id: "1", name: "T-Shirt", price: 1200, stock: 25, category: "Clothing", image: "tshirt.jpg" }
]);
// 3. Add to cart
await w.addItem("1");
// 4. Customer info
w.setCustomerName("Juan");
w.setCustomerAddress("123 Main St");
w.setPaymentMethod("Cash");
w.setDeliveryMethod("Home Delivery");
// 5. Create order and send to WhatsApp
const order = await w.createOrder();
const link = await w.sendToWhatsApp(order);
window.open(link, "_blank");
Plugins
Just ~4 KB more. Enable only what you need.
Date-based promotions. Christmas, Black Friday, special days. Automatic discounts.
Low stock alerts, countdowns, badges. "Only 3 left!"
Grouped products with discount. "Shirt + Pants combo" at 15% off.
Cart abandonment offers. Recover sales with smart discounts.
Free shipping progress bar, recently viewed, social proof. Headless — you render the UI.
Load products from a spreadsheet. No backend, no database. Just a URL.
No backend
Load products directly from a Google Sheet. The adapter converts CSV to Whanda products. Set your sheet to "Anyone with the link can view."
const w = new Whanda({
whatsappNumber: "1234567890"
});
// Load from Google Sheets
await loadFromSheets(w, {
sheetUrl: "https://docs.google.com/
spreadsheets/d/SHEET_ID/
edit?gid=0"
});
// Products ready
w.getProducts();
// → [{ id, name, price, ... }]
Vibecoding
Copy this prompt and paste it into your favorite AI agent to generate a complete store in seconds.
Using whanda.min.js and whanda-plugins.min.js,
create a [TYPE] store in a single HTML file.
IMPORTANT:
- No npm. No import statements.
- Copy whanda.min.js and whanda-plugins.min.js
to the same directory as the HTML.
Flow: Catalog → Cart → WhatsApp → Manual close
Requirements:
1. <script src="whanda.min.js">
2. new Whanda({ whatsappNumber: "NUM" })
3. w.setProducts([...])
4. await w.addItem(id)
5. w.setCustomerName() / setCustomerAddress()
6. const order = await w.createOrder()
7. window.open(await w.sendToWhatsApp(order))
8. Responsive design with Tailwind CSS
Download Whanda, copy the files to your project, and you have a store running in minutes.