diff --git a/index.php b/index.php index 4217bee..5725a04 100644 --- a/index.php +++ b/index.php @@ -9,6 +9,7 @@ $products = Product::all(array("order" => "name ASC")); $sizes = Size::all(array("order" => "id ASC")); $colors = Color::all(array("order" => "name ASC")); +$first_color_id = $colors[0]->id(); // make sure the images line up with the select box include "app/includes/header.php"; @@ -22,7 +23,7 @@ = $product->g("name") ?> - = implode(", ", $product->category_names()) ?> - " width="300" height="300" class="product_photo"> + " width="300" height="300" class="product_photo">