• Resolved marciek

    (@marciek)


    I am trying to change the number of columns and products shown as described in: https://github.com/woocommerce/storefront/issues/943

    The code they provided did not work in functions.php (testing on a staging site):

    add_filter(‘storefront_product_categories_shortcode_args’,’custom_storefront_category_per_page’ );

    // Category Products
    function custom_storefront_category_per_page( $args ) {
    $args[‘number’] = 4;
    $args[‘columns’] = 4;
    return $args;
    }

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

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Products on homepage’ is closed to new replies.