wpsc_action_set_product_per_page_query_var

Override the per page parameter to use WPEC own "products per page" option.

Description

wpsc_action_set_product_per_page_query_var( (object) $query ); 

Parameters (1)

0. $query (object)
The query.

Usage

  1. if ( !function_exists( 'wpsc_action_set_product_per_page_query_var' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-ecommerce/wpsc-components/theme-engine-v2/helpers/template-engine.php'; 
  3.  
  4. // The query. 
  5. $query = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wpsc_action_set_product_per_page_query_var($query); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wpsc-components/theme-engine-v2/helpers/template-engine.php