diff --git a/views/admin/analytics.php b/views/admin/analytics.php
new file mode 100644
index 0000000..916057e
--- /dev/null
+++ b/views/admin/analytics.php
@@ -0,0 +1,94 @@
+
+
+
+
Analytics
+
Sales, best sellers and stock health.
+
+
+
+
+
+
Revenue
+
= e(formatMoney((int) $revenueCents, $currency)) ?>
+
Paid and fulfilled
+
+
+
Units sold
+
= (int) $unitsSold ?>
+
Across all orders
+
+
+
Avg order value
+
= e(formatMoney((int) $averageOrderCents, $currency)) ?>
+
Per paid order
+
+
+
Low stock
+
= count($lowStock) ?>
+
At or below 5 units
+
+
+
+
+
Revenue, last 14 days
+
+
+ 0 ? max(2, (int) round((int) $day['revenueCents'] / $maxRevenue * 100)) : 2; ?>
+
+
+
= e(substr($day['day'], 5)) ?>
+
+
+
+
+
+
+
+
Top products
+
+
+
+
+
+ | Product | Units | Revenue |
+
+
+
+ | = e($product['name']) ?> |
+ = (int) $product['unitsSold'] ?> |
+ = e(formatMoney((int) $product['revenueCents'], $currency)) ?> |
+
+
+
+
+
+
+
+
+
+
Coupon usage
+
+
+
+
+
+ | Code | Orders | Discount |
+
+
+
+ | = e($coupon['couponCode']) ?> |
+ = (int) $coupon['orderCount'] ?> |
+ = e(formatMoney((int) $coupon['discountCents'], $currency)) ?> |
+
+
+
+
+
+
+
+
diff --git a/views/admin/attributes/index.php b/views/admin/attributes/index.php
new file mode 100644
index 0000000..56311ba
--- /dev/null
+++ b/views/admin/attributes/index.php
@@ -0,0 +1,45 @@
+
+
+
Attributes
+
Options like Size or Color that product variants are built from.
+
+
+
+
+
+
New attribute
+
+
+
+
+
+
No attributes yet. Add one to start building variants.
+
+
+
+
+
+ = e($attribute['name']) ?>
+ = e($attribute['slug']) ?>
+
+
+
+ = e($value['value']) ?>
+
+ No values yet.
+
+
+
+
+
+
+
+