If you want to modify, edit or delete stuff from the WooCommerce bought together products template, you need to copy the following file:

wp-content/woocommmerce-bought-together/public/partials/bought-together-product.php

into your child theme at the WooCommerce folder:

wp-content/themes/your-child-theme/woocommerce/bought-together-product.php

Then you can modify this file. For example if you do not want to show variations in the bought together section, you can remove in line 46 the “product_variation” parameter from the query.

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *