Documentation / Plugins / WooCommerce / Codex / Snippets / Theming Snippets How can we improve this documentation? This feature is not an official support channel, if you need support for one of our products please visit our Help Desk and submit a ticket. Your email address How can we improve our documentation? Are you human? What is 5+5? Change number of related products output Please note: This snippet will only work for WooCommerce 2.0 and might not work with all themes. To change the number of related products only, use this code in your theme’s functions.php file. View the code on Gist.