WP eCommerce
[resolved] Screen options on products page not saving (3 posts)

  1. Bloke
    Posted 2 years ago #

    I am on the products page listing all the products. I click on the screen options and set to show x amount of products and it won't save. It really slows down my page because its 1000 products and times out. Any idea how to fix this?


  2. Bloke
    Posted 2 years ago #

    I looked in the database and its updated in the meta_key:

  3. Bloke
    Posted 2 years ago #

    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' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.