Changeset 357510
- Timestamp:
- 03/09/2011 02:28:52 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-e-commerce/branches/3.8-development/wpsc-includes/theme.functions.php
r356348 r357510 968 968 $GLOBALS['nzshpcrt_activateshpcrt'] = true; 969 969 970 // Pretty sure this single_product code is legacy...but fixing it up just in case.970 //Pretty sure this single_product code is legacy...but fixing it up just in case. 971 971 // get the display type for the selected category 972 972 if(!empty($temp_wpsc_query->query_vars['term'])) … … 981 981 982 982 ob_start(); 983 wpsc_include_products_page_template($display_type); 983 if( 'wpsc-product' == $wp_query->post->post_type && !is_archive() && $wp_query->post_count <= 1 ) 984 include( wpsc_get_template_file_path( 'wpsc-single_product.php' ) ); 985 else 986 wpsc_include_products_page_template($display_type); 984 987 $is_single = false; 985 988
Note: See TracChangeset
for help on using the changeset viewer.