WPSC how do i output product per category on one page (wpsc-product-page)
I am trying to output and sort products per category, like:
Cat1
prod
prod
Cat2
prod
Cat3
prod
prod
prod
I am able to get the cat_ID per product, but how do i display
?php while (wpsc_have_products()) : wpsc_the_product(); ?
?php
$wpsc_product_category = get_the_product_category( wpsc_the_product_id() );
$curr_cat = $wpsc_product_category[0]-name;
$cat_id = $wpsc_product_category[0]-cat_ID;
//print_r( $wpsc_product_category);
echo $cat_id;
?
Any tips, suggestions?
Topic plugin-wp-e-commerce Wordpress
Category Web