First of all, I'm a newbie to this forum, so sorry if i'm posting the thread to incorrect place.
I ve been trying to search for the usage of function wpsc_category_image() (WP e-commerce wordpress plug-in), there were some results but unfortunately I still cannot achieve what I expected.
I want to show all images of wpsc categories, and tried the below codes:
<div class="wpsc_categories wpsc_category_grid group">
<?php wpsc_start_category_query(array('category_group'=> 1, 'show_thumbnails'=> 1));?>
<a href="<?php wpsc_print_category_url();?>"
class="wpsc_category_grid_item <?php wpsc_print_category_classes_section(); ?>"
title="<?php wpsc_print_category_name();?>"
style="background:url(<?php echo wpsc_category_image(); ?>)">
</a>
<?php wpsc_end_category_query(); ?>
From what I have read from Internet, these codes should work fine, but somehow the function wpsc_category_image() returned nothing.
Could you guys please tell me the problem in this? I would be very appreciated, I promised my friend to help him make the website, but this is where I still got stuck