Limit the number of results from wpsc_start_category_query

The wpsc_start_category_query() function basically calls the native WP get_terms() functions that is used to make a wp query: $category_list = get_terms(‘wpsc_product_category’,’hide_empty=0&parent=”.$category_id); Since WPEC uses custom post types you can just build your own queries easily, here using http://codex.wordpress.org/Function_Reference/get_terms But get_terms() doesn”t do random, so you have to get them all and then shuffle the array … Read more

wp-e-commerce plugin – Second Test Gateway payment option [closed]

I just copied the testmode.merchant.php file (plugins/wp-e-commerce/wpsc-merchants). Renamed it (in my case mynewgateway.merchant.php) and changed name, class_name, display_name and form in the first array. Then changed the class name on line 29 (just changing test to mynewgateway, same as above), the name variable on line 31 and at last the form function name on line … Read more

techhipbettruvabetnorabahisbahis forumutaraftarium24eduedusedueduedusedueduseduedusedus