I'm using Wordpress e-commerce for my worpress blog. I wish to display a specific product during my template. I authored the code such as this.

          query_posts('p=186'); 
          while (wpsc_have_products()) :  wpsc_the_product(); 
                 echo wpsc_the_product_title();
                       ................
                       ................
          endwhile;

But it's no longer working. I believe the issue is with query_posts(). Can there be any equivalent function for query_posts or How do i display an item with it's id in Wordpress e-commerce.

Find out if it matches your needs:

$wpsc_query = new WPSC_query("category_id=3");