This isn’t exactly controlled by the theme. That’s something WooCommerce controls. It’s best to ask the plugin developer on the best practice on how to implement this.
Note: this requires modification or creation of template for WooCommerce plugin’s /templates/single-product/related.php. That’s the file responsible for related products loop.