Title: WP-e-commerce bug/issue v 3.8.7.1  ***** QUICK BUG ****
Last modified: August 20, 2016

---

# WP-e-commerce bug/issue v 3.8.7.1 ***** QUICK BUG ****

 *  [mmwaldman](https://wordpress.org/support/users/mmwaldman/)
 * (@mmwaldman)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/wp-e-commerce-bugissue-v-3871-quick-bug/)
 * In WP-e-commerce in the wpsc-theme directory in the wpsc-category-widget.php 
   file 2 sets of two lines need to be switched.
 * As they are not they cause a w3c validator html error.
 * Line 36 and 38 need to be switched. RIght now they are:
 * 36: <ul class=”wpsc_categories wpsc_second_level_categories”>
 * 38: <?php wpsc_start_category_query( array( ‘parent_category_id’ => $category_id,‘
   show_thumbnails’ => $show_thumbnails , ‘show_name’ => $show_name) ); ?>
 * They need to be:
 * 36: <?php wpsc_start_category_query( array( ‘parent_category_id’ => $category_id,‘
   show_thumbnails’ => $show_thumbnails , ‘show_name’ => $show_name) ); ?>
 * 38: <ul class=”wpsc_categories wpsc_second_level_categories”>
 * And lines 59 and 61 need to be switched.
 * 59: <?php wpsc_end_category_query(); ?>
 * 61:
 * They need to be:
 * 59:
 * 61: <?php wpsc_end_category_query(); ?>
 * Right now they are producing an unordered list with nothing in it and it’s causing
   HTML errors.
 * Also, in wp_posts you guys you post_type ‘wpsc-product’, but in wp_term_taxonomy
   the taxonomy is ‘wpsc_product_category’. I’m guilty of switching up too and I
   realize that different people are doing different work, but can we pick a convention?_
   or – ?
 * I think – is the convention in file names and _ is the convention in variables.
 * And dude, the wpsc is too much. What can’t it just be product and product-category.
   I can’t tell you how many times I’ve typed wspc and can’t figure out why the 
   stupid thing isn’t working. You can use a walker_category class to return a sorted
   hierarchical product category list. I also had to use usort to for some reason.
 * I did a Zencart years ago, then he wanted blog functionality so I was going to
   plug WordPress into Zencart. Man it would have been easier just to used wp-e-
   commerce. I have no idea how long that plugin has been around.

Viewing 1 replies (of 1 total)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 6 months ago](https://wordpress.org/support/topic/wp-e-commerce-bugissue-v-3871-quick-bug/#post-2393134)
 * Tagged `WP-e-commerce` so they may actually see this 🙂

Viewing 1 replies (of 1 total)

The topic ‘WP-e-commerce bug/issue v 3.8.7.1 ***** QUICK BUG ****’ is closed to 
new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/wp-e-commerce-bugissue-v-3871-quick-bug/#post-2393134)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
