Replace Woocommerce related products layout

Replacing layout of Woocommerce related products is super easy.
Here is all what you have to do:
– create new folder woocommerce (if not exist) in folder of active theme wp-content/themes/active_theme/
– create new sub-folder single-product (if not exist) in above folder
– create new file related.php in the sub-folder
– copy below code to above file (replace VIEW_ID with ID of View)

Here is the code:
click here to open.

Scroll to Top