• Resolved Xinator

    (@xinator)


    There are 13 items in inventory, and ten are to display on one page; however, when you go to the second page, nothing appears.

    https://www.letsridebakersfield.com/inventory/page/2/

    I do have a few lines of code on the functions page, but I do not think they cause an issue.

    add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_single_excerpt' ); 
    remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' ); 
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
    
    add_action('woocommerce_before_main_content', 'my_theme_wrapper_start', 10); 
    add_action('woocommerce_after_main_content', 'my_theme_wrapper_end', 10);
    
    function my_theme_wrapper_start() { 
    echo ''; 
    }
    
    function my_theme_wrapper_end() { 
    echo ''; 
    }
    
    add_action( 'after_setup_theme', 'woocommerce_support' ); 
    function woocommerce_support() { 
    add_theme_support( 'woocommerce' ); 
    } 
    //Remove Sales Flash 
    add_filter('woocommerce_sale_flash', 'woo_custom_hide_sales_flash'); 
    function woo_custom_hide_sales_flash() 
    { 
    return false; 
    }

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Delete product transients at:
    Dashboard> WooCommerce > Status > Tools tab, delete transients button

    The functions.php lines don’t look to be responsible, but copy them to a safe place and delete them from functions.php and test to be sure. If the problem remains, deactivate all your other plugins and switch to the default theme. Should work now. Next, reactivate one-by-one and test to try to identify which component is causing the problem.

    Use a lazy load rather than paginating a page. Paginating is downright old school and you will get penalized by Google if you are doing any marketing/indexing.

    Thread Starter Xinator

    (@xinator)

    After trying @lorro suggestions and adding a lazy load as @stefsternyc said.

    Found out it was the permalinks. Changed the permalinks to plain and now we can see the other products, but change it to post name then the other products disappear.

    @xinator there’s no need to change your permalinks for what you are wanting to do. Unless it was a past page and now something is suppose to be on another page. You may have changed “product-category” in the url? Can you take a screen shot of your perma setup?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page 2 of the Shop Won’t Display’ is closed to new replies.