Start a free 14-day trial by December 1 on a wide range of WooCommerce Marketplace extensions and themes. Explore products

Change Back In Stock Notifications dashboard limits

Back In Stock Notifications shows up to five products in each list on the Stock Notifications dashboard by default. Use these filters to change how many products the lists can show.

Note:

This is a developer-level doc. If you are unfamiliar working with code and resolving potential conflicts, we recommend you work with a Woo Agency Partner for larger projects, or find a WooCommerce developer on Codeable for smaller customization work. We are unable to provide support for customization under our Support Policy.

Set the dashboard limit

↑ Back to top

On a test store with Back In Stock Notifications active, add this snippet to a site-specific plugin. The example sets the Most wanted, Most overdue, and Most signed-up lists to show up to 15 products each. Use a positive whole number and keep it small to avoid expensive dashboard queries.

$woo_docs_stock_dashboard_limit = static function () {
	return 15;
};

add_filter( 'woocommerce_bis_most_anticipated_products_sql_limit', $woo_docs_stock_dashboard_limit );
add_filter( 'woocommerce_bis_most_delayed_products_sql_limit', $woo_docs_stock_dashboard_limit );
add_filter( 'woocommerce_bis_most_subscribed_products_sql_limit', $woo_docs_stock_dashboard_limit );

Go to WooCommerce > Stock Notifications > Dashboard and refresh the page. With at least 15 eligible products for a list, check that it shows 15. Remove the snippet to restore the default. For more about the lists, see viewing stock notification insights.

Related Products

Set minimum and maximum quantity rules for products, orders, and categories.

Get shipping rates from the Canada Post Ratings API which handles both domestic and international parcels.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.