WooCommerce - Add Related Products

By default, WooCommerce related products are hidden. In this tutorial, we'll show you how to enable related products.

1. Go to Appearance > Theme Editor > Functions.php.

2. Locate this section of code:

//* Remove Related Products
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );<br>

3. Delete the entire section noted above.

4. Click Update File to save your changes.