• Hi,

    I want to show all my products on my homepage on my woocommerce Storefront theme. Does anybody know how to do this? I have tried different shortcodes, but they don’t work.

    I’ve also tried to set all my products as “Featured” but then only 4 products appear on my homepage.

Viewing 2 replies - 1 through 2 (of 2 total)
  • So you can pretty easily do this by setting your homepage to your shop page in:

    Settings > Reading

    Then click the radio that says “A static page”

    Then for front page choose your main shop page.

    And finally add this code to your functions file:

    /**
     * Change number of products per page
     */
    
    add_filter( 'storefront_products_per_page', 'sf_child_products_per_page' );
    function sf_child_products_per_page() {
    	return 99;
    }

    Where 99 is the minimum number of products that will show per page. So set that to 99 or 999 or whatever is larger than the number of products in your store.

    Thanks for sharing I will surely try this on my site
    https://coupon4all.in/

    How can se make the view add box to products?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Storefront theme – show all products on homepage’ is closed to new replies.