diff --git a/views/admin/categories/form.php b/views/admin/categories/form.php new file mode 100644 index 0000000..f276edc --- /dev/null +++ b/views/admin/categories/form.php @@ -0,0 +1,34 @@ + $category[$key] ?? ''; +?> +
Categories / = $editing ? 'Edit' : 'New' ?>
+= count($categories) ?> categories.
+| Name | Slug | Products | |
|---|---|---|---|
| = e($category['name']) ?> = e($category['description']) ?> |
+ /= e($category['slug']) ?> | += (int) $category['productCount'] ?> | +
+
+ Edit
+
+
+ |
+
= e($product['name']) ?>
+No variants yet. Add one below.
| SKU | Options | Price | Stock | Status | |
|---|---|---|---|---|---|
| = e($variant['sku']) ?> | += e($variant['label'] !== '' ? $variant['label'] : '-') ?> | += e(formatMoney((int) $variant['priceCents'], $currency)) ?> | += (int) $variant['stockQuantity'] ?> | += (int) $variant['isActive'] === 1 ? 'active' : 'off' ?> | ++ + | +
Create at least one attribute with values first.
+ + + +