Change number of related products output

To change the number of related products only, use this code in your theme’s functions.php file.

*Note that it does not work for all themes because of the way they’re coded.

Note: This is a Developer level doc. If you are unfamiliar with code/templates and resolving potential conflicts, select a WooExpert or Developer for assistance. We are unable to provide support for customizations under our  Support Policy.

WooCommerce - the most customizable eCommerce platform for building your online business.

Back to the top