<?php if(wpsc_the_product_thumbnail()) :?> <a rel="<?php echo str_replace(array(" ", '"',"'", '"','''), array("_", "", "", "",''), wpsc_the_product_title()); ?>" class="thickbox preview_link" href="<?php echo wpsc_the_product_image(); ?>"> <img class="product_image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="<?php echo wpsc_the_product_title(); ?>" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo wpsc_the_product_image($image_width, $image_height); ?>" /> </a> <?php else: ?> <div class="item_no_image"> <a href="<?php echo wpsc_the_product_permalink(); ?>"> <span>No Image Available</span> </a> </div> <?php endif; ?> </div> <?php endif; ?> <div class="producttext"> <h2 class="prodtitles"><span><?php echo wpsc_the_product_title(); ?></span><?php echo wpsc_edit_the_product_link(); ?></h2> <?php do_action('wpsc_product_before_description', wpsc_the_product_id(), $wpsc_query->product); ?> <div class="wpsc_description"><?php echo wpsc_the_product_description(); ?></div> <?php do_action('wpsc_product_addons', wpsc_the_product_id()); ?> <?php if(wpsc_the_product_additional_description()) : ?> <div class="single_additional_description"> <?php $value = ''; $the_addl_desc = wpsc_the_product_additional_description(); if( is_serialized($the_addl_desc) ) { $addl_descriptions = @unserialize($the_addl_desc);
<?php } ?> </div> <?php } ?> <div class="producttext"> <h2 class="prodtitles"><span><?php echo wpsc_the_product_title(); ?> </span><?php echo wpsc_edit_the_product_link(); ?> </h2> <?php do_action('wpsc_product_before_description', wpsc_the_product_id(), $wpsc_query->product); ?> <div class="wpsc_description"><?php echo wpsc_the_product_description(); ?> </div> <?php do_action('wpsc_product_addons', wpsc_the_product_id()); ?>
<?php } else { ?> <p class='soldout'><?php echo __('This product has sold out.', 'wpsc'); ?> </p> <?php } ?> <?php } ?> <?php echo '<p>' . wpsc_edit_the_product_link() . '</p>'; ?> </div> <?php } ?> </div> </form> </li> <?php if ($i % $products == 0) { echo "<br class='clear' /></div>"; } ?> <?php