Filled cart drawer

  • Block
  • cart-drawer
  • Beauty
  • HTML demo (Liquid pending)
  • 3.4 KB JS

Cart drawer variation with shipping progress, an item, and an add-on. It belongs to Tress, a beauty theme for hair care, in the free, open-source Blocko library.

Open live demo Open in library

Features

  • Interactive: ships 3.4 KB of vanilla JavaScript (blko-cart-checkout.js), registered as an idempotent Custom Element.
  • Shopify Liquid not available yet: not migrated to neutral template. The HTML demo is complete; an agent can port it using the prompt below.
  • Category cart-drawer, designed for beauty (hair care) storefronts.

Preview

Use it with your agent

Paste this one-line prompt into any coding agent. It asks where the block should go before it changes anything.

Use the Blocko library (https://github.com/blockoai/blocko, or the Claude Code plugin: claude plugin marketplace add blockoai/blocko && claude plugin install blocko-sections@blocko) to implement the block "Filled cart drawer" (id `cart-checkout-drawer-filled`, theme `tress`; live demo: https://demo.blocko.ai/html/tress/blocks/cart-drawer--cart-checkout-drawer-filled.html; no Shopify bundle yet (not migrated to neutral template) — port it from the HTML demo demo/tress/blocks/cart-drawer--cart-checkout-drawer-filled.html into a Liquid section with a {% schema %}, mirroring the structure of an existing bundle in sections/veil/) into my project. Before changing any code, ask me where it should go — which project/theme, which page or template, and the position (e.g. after the hero) — and whether the target is a Shopify theme or a plain HTML site, unless I already said; restate the plan and wait for my OK. Then follow the repo's AGENTS.md: keep the blko- class prefix and CSS tokens (with fallbacks), keep custom elements idempotent, don't touch unrelated code, run `shopify theme check` for Shopify targets, and finish by telling me how to add/arrange it (Theme Editor steps for Shopify).

Connected to the Blocko MCP server (https://blocko.ai/mcp)? Ask your agent to run get_item for tress/cart-checkout-drawer-filled, then get_item_source and get_install_guide. Connect your agent.