Ready to get started?Download WordPress


WP eCommerce
[Plugin: WP e-Commerce] Show pagination also with only one page (1 post)

  1. pils87
    Posted 3 years ago #


    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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic