Adjust the number of products displayed on the shop page to improve user experience.
add_filter('loop_shop_per_page', 'codebykp_custom_products_per_page', 20);
function codebykp_custom_products_per_page() {
return 12; // Change to your desired number of products per page
}