# Simple Product Page

A minimal, production-ready product page using the CDN build with a single Product component and the default cart drawer.

## What You'll Build

- One product component
- Optional cart button with item count
- Default cart and checkout flow

## Prerequisites

- LiquidCommerce API key
- One product identifier (UPC or grouping ID)

## HTML (CDN)

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Simple Product Page</title>

  <script
    defer
    data-liquid-commerce-elements
    data-token="YOUR_API_KEY"
    data-env="production"
    data-container-1="product"
    data-product-1="00619947000020"
    data-cart-badge-button="header-cart"
    type="text/javascript"
    src="https://elements.reservebar-worker.workers.dev/all/elements.js"
  ></script>

  <style>
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background: #f7f7f7;
    }
    header {
      background: #fff;
      padding: 16px 24px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    main {
      max-width: 1100px;
      margin: 24px auto;
      padding: 0 24px;
    }
    #product {
      background: #fff;
      border-radius: 10px;
      padding: 20px;
      min-height: 600px;
    }
  </style>
</head>
<body>
  <header>
    <h1>Premium Spirits</h1>
    <div id="header-cart"></div>
  </header>

  <main>
    <div id="product"></div>
  </main>
</body>
</html>
```

## What to Tweak Next

- Change the product identifier: `data-product-1="YOUR_PRODUCT_ID"`
- Add a second product (see [Multi-Product Page](./multi-product-page.md))
- Customize styling via theming (see [Theming Guide](../guides/theming.md))

## Related Docs

- [Product Component](../guides/product-component.md)
- [Cart Component](../guides/cart-component.md)
- [Quick Start](../getting-started/quick-start.md)
