/**
 * Change number of products that are displayed per page (shop page)
 */
add_filter( 'woocommerce_return_to_shop_redirect', 'pro_change_return_shop_url' );
 
function pro_change_return_shop_url() {
return home_url();
}