Website kits › Haat › Bag and checkout
The bag splits into one parcel per seller, each with its own date and fee; cash on delivery is checked per seller.
Bag and checkout is a bag and checkout from Haat, a website kit with 5 pages: A working multi-seller marketplace for Pakistan: compare sellers, live facet search, a bag split by seller, Urdu and English. Price: $5 for the whole pack.
Built with: split by seller, cash on delivery rules, inline validation.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
photos | Record<string | ||
seed | boolean | Fill an empty bag with a few lines from four sellers (store showcase). | |
autoplay | boolean | ||
onNavigate | (page: string) => void | ||
onOrder | (o: HaatOrder) => void |
checkout(): voiddestroy(): voidimport HaatBag from './HaatBag';
<HaatBag />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Multi-vendor marketplace, Pakistan, Pakistan e-commerce, Right-to-left (RTL).