I removed the $title, coz it already shows the title outside of the #node container
added modelnumber
added dimensions
changed pictures to refere to the base path (lotta ppl use a local webserver to test multiple drupal projects at the same time)
changed the sub picture loop not to include the main picture again
made main picture bigger, sub pictures smaller
changed all IDs to classes
<?php
// Grabs the firsts image path and sets $imagePath.
$imagePath = $node->field_image_cache['0']['filepath'];
?>
<div id="node">
<div class="productnode">
<?php // default image display ?>
<div class="imagesholder">
<div class="mainimage"><a href="<?php print base_path() ?>files/imagecache/product/<?php print $imagePath; ?>"><img src="<?php print base_path() ?>files/imagecache/product/<?php print $imagePath; ?>" height="200px" width="200px" alt="Title"></a></div>
<?php // all image display ?>
<ul class="other_imgs">
<?php
// get all images except the default one that's already shown
foreach ($node->field_image_cache as $images) {
if ($images['filepath'] != $imagePath) {
?>
<li><a href="<?php print base_path() ?>files/imagecache/product/<?php print $images['filepath']; ?>" title="<?php print $images['title']; ?>" rel="pagination"><img src=" <?php print base_path() ?>files/imagecache/product/<?php print $images['filename']; ?>" width="50" height="50" alt="<?php print $images['alt']; ?>"></a></li>
<?php
} }
?>
</ul>
</div>
<?php // model number ?>
<?php print $node->content['model']['#value']; ?>
<?php // product description ?>
<div class="productdesc"><?php print $node->content['body']['#value']; ?></div>
<?php // dimensions ?>
<?php print $node->content['dimensions']['#value']; ?>
<?php // list price and sell price display ?>
<div class="price">
<p>List Price: <?php print uc_currency_format($node->list_price); ?></p>
<p>Sell Price: <?php print uc_currency_format($node->sell_price); ?></p>
</div>
<div id="cartButtons">
<?php // add to cart buttons ?>
<?php print $node->content['add_to_cart']["#value"]; ?>
</div>
</div>
</div>
hope this helps some1 besides myself ^^
