WooCommerce : How to change the number of products on shop page in woocommerce.

Web Development

WooCommerce is one of the most powerful e-commerce plugin for WordPress.And what i love with WooCommerce is that there’s an API for nearly everything.There are almost Hooks and filters For Every Customization work.

In order to change the number of products per page on shop page, you have to use 'loop_shop_per_page' hook.

In our example, we set number of products per page to 10. If you want a different number, just change Return value.

function change_WC_products_per_page() {
return 10;
}
add_filter( 'loop_shop_per_page', 'change_WC_products_per_page', 20 );

Enjoy

Related reading:

Shiv Kumawat

Executive Director & CEO

Shiv Kumawat is the CEO of Eoxys IT Solution LLP, the Jaipur-based IT company he has led since 2009. An AI & IT Solutions Consultant with 16+ years of experience, he works with startups and enterprises to turn ideas into market-ready SaaS platforms, mobile apps and AI-driven solutions. His team has delivered 700+ projects across SaaS, mobile and web apps, automation and AI. He previously served as Chief Technology Officer for a US company.

Latest Posts

Telemedicine app development cost in the USA 2026 banner: Eoxys blue panel with a doctor in scrubs and headset on a video consultation

Telemedicine App Development Cost in the USA (2026)

A telemedicine visit in the USA only works when four things line up: the clinician is licensed in the state…

Shafeeq Khan
November 22, 2026
Colour photograph illustrating the Eoxys blog post 'AI MVP Development Cost in 2026: What You Pay and Why', used as the featured image for ai mvp development cost.

AI MVP Development Cost in 2026: What You Pay and Why

Founders asking about AI MVP development cost usually want one number. The honest answer is a range, because an AI…

Shafeeq Khan
November 22, 2026
Taxi app development cost in Saudi Arabia 2026 banner: Eoxys blue panel with a phone showing turn-by-turn navigation on a car dashboard

Taxi App Development Cost in Saudi Arabia (2026)

A ride in Saudi Arabia only counts as a completed trip when four things hold at once: a licensed, verified…

Shafeeq Khan
November 21, 2026
,

Leave a Reply

Your email address will not be published. Required fields are marked *