Hello,
The functionality of the related products comes from WooCommerce plugin – https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/ and can’t be changed, by default.
Regards