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.

One thought on “How can I modify the WooCommerce bought together template?

  1. PEter Andras says:

    hi!
    I just purchased your plugin. Im trying to modify (delete the variations, add to cart, wishlist, compare button) but it is now working. could you help me?

Leave a Reply

Your email address will not be published.