title: Turn basic wordpress search into wp-ecommerce search allowing 'product tag search'
body: <p>Novice programmer here.  Thanks for any help...</p>
  
  <p>I am working with wp-ecommerce plugin for wordpress:</p>
  
  <p>I would like to be able to search for product tags.</p>
  
  <p>I know wordpress search does not automatically search for tags associated with a blog post.  For some reason, the wp-ecommerce search widget does not work.  Even if it did, it still does not search for product tags... to my knowledge.</p>
  
  <p>Here is my current custom search.php code:</p>
  
  <pre><code>&lt;?php get_header(); ?&gt;
  &lt;?php if (have_posts()) : ?&gt;
  &lt;?php if (is_type_page()) continue; ?&gt;
  
  &lt;div id="cat-products-container"&gt;
      &lt;h1&gt;&lt;?php printf( __( 'Search Results for "%s"', 'kandice' ), '&lt;span&gt;' . get_search_query() . '&lt;/span&gt;' ); ?&gt;&lt;/h1&gt;
      &lt;div id="cat-products-internal-container"&gt;
      &lt;ul class="block"&gt;
      &lt;?php $i=1 ?&gt;
      &lt;?php while (have_posts()) : the_post(); ?&gt;
          &lt;?php 
          if (is_int($i/4)){
          echo '&lt;li class="right"&gt;';
          } else {
          echo '&lt;li&gt;';
          }
      ?&gt;
  
      &lt;a href="&lt;?php echo wpsc_the_product_permalink(); ?&gt;"&gt;
          &lt;img style="width:&lt;?php echo get_option('product_image_width'); ?&gt;px;height:&lt;?php echo get_option('product_image_height'); ?&gt;px" class="product_image" id="product_image_&lt;?php echo wpsc_the_product_id(); ?&gt;" alt="&lt;?php echo wpsc_the_product_title(); ?&gt;" src="&lt;?php echo wpsc_the_product_thumbnail(); ?&gt;" /&gt;
              &lt;div class="animated-product-info-container"&gt;
              &lt;h2&gt;&lt;a href="&lt;?php echo wpsc_the_product_permalink(); ?&gt;" title="&lt;?php echo wpsc_the_product_title(); ?&gt;"&gt;&lt;?php echo wpsc_the_product_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
                      &lt;div class="description-container"&gt;
                          &lt;p&gt;&lt;?php echo wpsc_the_product_description(); ?&gt;&lt;a class="details-links" href="&lt;?php echo wpsc_the_product_permalink(); ?&gt;"&gt;&lt;/a&gt;&lt;/p&gt;
                      &lt;/div&gt;&lt;!--description-container--&gt;
          &lt;/div&gt;&lt;!--animated-product-info-container--&gt;
              &lt;/a&gt;
          &lt;/li&gt;
      &lt;?php $i++ ?&gt;                           
      &lt;?php endwhile; ?&gt;
  &lt;/ul&gt;
  &lt;div class="clear"&gt;&lt;/div&gt;
  
  &lt;?php else : ?&gt;
          &lt;h2 class="no-search-results"&gt;No search results found.&lt;/h2&gt;
      &lt;?php endif; ?&gt;
  
      &lt;/div&gt; &lt;!--close cat-products-internal-container--&gt;
  &lt;/div&gt; &lt;!--close cat-products-container--&gt;
  </code></pre>
  
  <p></p>
  
  <p>Thanks again!</p>