• 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)
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.