StealThis .dev
Pages Hard

Shop — Product Manager

A polished e-commerce admin product manager built in vanilla JS. Browse a products data-table with thumbnails, SKUs, prices, stock, and status, then search, filter by status, and sort any column. Select rows for bulk publish, archive, or delete, edit inventory inline, and create or update items in a slide-in drawer with title, price, stock, variants, and status. Includes pagination, live summary stats, and toast feedback.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Product Manager

A complete storefront admin for managing a catalog. The screen pairs a fixed sidebar and a live summary strip (total products, published count, out-of-stock, and inventory value) with a sortable products data-table. Each row shows a gradient product thumbnail, title, variant count, SKU, formatted price, an inline-editable stock field, a status badge, and quick edit/delete actions. A search box matches on title or SKU, status chips filter the list, and clicking any column header toggles ascending/descending sort.

Selecting rows reveals a sticky bulk-action bar where you can publish, archive, or delete many products at once; a header checkbox selects the whole current page. Stock can be edited directly in the cell, instantly updating the summary stats. The “Add product” button and per-row edit pencil open a slide-in drawer for full CRUD — title, price, inventory, SKU (auto-generated if blank), chip-based variants, and status — with inline validation, a focus trap, and Escape to close.

Everything runs on vanilla JavaScript with no dependencies: filter, search, sort, selection, bulk operations, inline edits, pagination, and drawer create/edit all mutate a single in-memory dataset and re-render. Toasts confirm each action so the CRUD flow feels real.

Illustrative storefront UI only — fictional products, prices, and reviews. No real checkout.