Hi Justin,
wpsc_display_featured_products_page()
doesn’t work for me neither.
Can you please paste here the snippet of code you’re using?
I’m trying to show the most recent featured product on the homepage. I tried to do it the usual way, retrieving the custom post types marked as sticky but i don’t know how to display all the wp-e-commerce custom fields like variation boxes, buy buttons, fancy notifications etc. I can, of course, list the featured product on the homepage and redirect the visitors to the product page to make the purchase but this 2-step process makes the things difficult for the average internet user.
$sticky = get_option( 'sticky_posts' );
$args = array(
'post_type' => 'wpsc-product',
'posts_per_page' => 1,
'post__in' => $sticky,
'orderby' => 'date',
'order' => 'DESC',
);
$featured_query = new WP_Query( $args );
Above is the query that will retrieve the most recent featured product.
Thank you a lot,
Ciprian