Is there any option to change the “Related.php” file in order to show the related products slider just in the child category?? I have 4 main categories and several subcategories, but the related product slider only shows products from the main category.
I’ve looked for tutorials on the internet but it changed the way it shows the slider in the single product page.
Thank you so much for contacting our support center.
The problem is that the actual database query code is not located in the template file related.php and so you can’t customize it. You will need to look into WooCommerce core PHP files to find that code and customize it but it is not related to our theme template files.