Ballmac UI home

Ecommerce Pro 5: cart page with promo codePRO

A full cart with steppers, a promo code field that validates, delivery choices and a live summary of subtotal, discount, delivery, tax and total.

Installation

  1. Once per project: add the Pro registry and your licence key.

    components.json
    {
      "registries": {
        "@ballmac": "https://ui.ballmac.com/r/{name}.json",
        "@ballmac-pro": {
          "url": "https://ui.ballmac.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${BALLMAC_LICENSE_KEY}" }
        }
      }
    }
    .env.local
    BALLMAC_LICENSE_KEY=your-licence-key
  2. Add it.

    $ pnpm dlx shadcn@latest add @ballmac-pro/ecommerce-pro-5
  3. Need a licence or help with setup?

    The source is part of Ballmac UI Pro.

    Log in with your licence key to read and copy it here, or install it through the shadcn CLI or the MCP server. You own the code once it is in your project.

Usage

import { EcommercePro5 } from "@/components/ballmac/blocks/ecommerce-pro-5/ecommerce-pro-5"

Dependencies

Use with AI

Cart page where every total is computed from the items. Codes are a prop; sample codes are for the demo only. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Ecommerce Pro 5: cart page with promo code (@ballmac-pro/ecommerce-pro-5) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Cart pages

Not for

  • Quick carts (use ecommerce-pro-4)

Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/ecommerce-pro-5.json

Covered by the Ballmac UI Pro license.