← All projects

TM Cart — Add-to-Cart for SMM Panels

Cart layer retrofitted onto a closed panel platform via pure theme code.

2026-08present
JavaScriptTwiglocalStorageUX

Key Features

  • Zero-backend cart on closed platform
  • Native checkout integration
  • Mobile-first overlay UI

The constraint

The panel platform is closed-source — no backend access, only Twig templates. Users wanted a cart; the platform has none.

The trick

Built a complete cart entirely client-side:

  • Add-to-Cart on every service card → localStorage cart
  • A floating My Cart overlay with quantities and totals
  • Checkout auto-fills the panel's own mass-order form and submits through the platform's native flow — so orders stay 100% legitimate platform orders

Shipping it required working around Twig parsing quirks (CSS {# sequences open comments!) and deploying large JS through a CodeMirror editor.