wpsc_pagination

Located in: product-template.php
Version Introduced: 3.8

Description: This template tag is used to output the pagination on the product page. You would want to include this tag on all your product templates expect for the single product.

Note: Pagination will only be output if the user has them turned on in the store settings. You will also want to use the conditional tags to check if the user wants to display pagination on the top, or bottom of their product page (or both!)

Code Example:
Pagination on top – using the conditional tag to see if the user wants pagination there
[php]
<?php if(wpsc_has_pages_top()) : ?>
<div class="wpsc_page_numbers_top">
<?php wpsc_pagination(); ?>
</div><!–close wpsc_page_numbers_top–>

[/php]
Pagination on bottom – using the conditional tag to see if the user wants pagination there
[php]
<?php if(wpsc_has_pages_bottom()) : ?>
<div class="wpsc_page_numbers_bottom">
<?php wpsc_pagination(); ?>
</div><!–close wpsc_page_numbers_bottom–>
[/php]