WordPress.org

Ready to get started?Download WordPress

Forums

wp e-commerce - Mio v1.3.4 - category widget problem (1 post)

  1. xiaoyao160
    Member
    Posted 2 years ago #

    Mio v1.3.4
    wpsc-category_widget.php

    if ( $grid ) : ?>
    …
    $image_src = $wpdb->get_var($sql);
    …
    <?php else : ?>
    …
    <img src="<?php echo bloginfo('template_url'); ?>/sp-framework/timthumb/timthumb.php?src=<?php echo WPSC_CATEGORY_URL.$image_src; ?>&h=<?php echo $height; ?>&w=<?php echo $width; ?>&zc=1" alt="" />

    Category thumbnails category widget cannot be showed when Use Category Grid View is unchecked because variable $image_src haven’t defined.
    I replace “WPSC_CATEGORY_URL.$image_src” with $category_image then problem sovled.

Topic Closed

This topic has been closed to new replies.

About this Topic