WordPress.org

Support

Support » Plugins and Hacks » WP eCommerce » [Plugin: WP e-Commerce] Show pagination also with only one page

[Plugin: WP e-Commerce] Show pagination also with only one page

  • Ello!

    Is it possible to also show the pagination when there is only one page in a category?

    If found this in wpsc_query.php:

    //if we are using pages, how many items per page and what page?
    		if((get_option('use_pagination') == 1)) {
    			$products_per_page = $this->query_vars['number_per_page'];
    			if($this->query_vars['page'] > 0) {
    				$startnum = ($this->query_vars['page']-1)*$products_per_page;
    			} else {
    				$startnum = 0;
    			}
    		} else {
    			$startnum = 0;
    		}

    But i really don’t know what to change.

    Somebody who can point me in the right direction?

    Robert

  • The topic ‘[Plugin: WP e-Commerce] Show pagination also with only one page’ is closed to new replies.
Skip to toolbar