Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Bloke

    (@bloke)

    I looked in the database and its updated in the meta_key:
    edit_wpsc-product_per_page

    Thread Starter Bloke

    (@bloke)

    I found a temporary fix. Seems like its an issue if you have drag and drop turned on. When you are on the products page it lists all the products because pagination is disabled. I added this function found here here and its working.

    function wpsc_dnd_cat_only_option_filter( $option ) {
    	global $wp_query, $current_screen;
    	if ( is_admin() && $current_screen->id == 'edit-wpsc-product' ) {
    		if ( !isset( $_GET['wpsc_product_category'] ) ) {
    			$option = 'id';
    		}
    	}
    	return $option;
    }
    add_filter( 'option_wpsc_sort_by', 'wpsc_dnd_cat_only_option_filter' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Screen options on products page not saving’ is closed to new replies.