Support » Plugins and Hacks » WP E-Commerce display only subcategories.

WP E-Commerce display only subcategories.

  • Hello everyone and coders )

    I use WP E-Commerce plugin for my shop.
    I want to display subcategories. I have 5 categories and many subcategories. so the idea is to display all the categories exept this 5 ones. and in my css I want show/hide some of this subcategories by parent categories, so I still want somehow identify this subcategories (that’s why I use subcategories)

    `<?php wpsc_start_category_query(array(‘category_group’=> get_option(‘wpsc_default_category’), ‘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(); ?>”>
    <?php wpsc_print_category_image(); ?>
    <?php wpsc_print_subcategory(“”, “”); ?>
    <?php wpsc_end_category_query(); ?>
    <!–close wpsc_categories–>`

    Here is my code any help?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WP E-Commerce display only subcategories.’ is closed to new replies.
Skip to toolbar