WordPress.org

Forums

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

  1. pils87
    Member
    Posted 4 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic