Support » Plugin: WooCommerce » Overriding upsell.php template not working

  • Hi,

    I’m developing a new site using woocommerce 2.1.6.

    In my child theme I would like to edit the layout of the of the related products and upsell products templates.

    I have edited the related product template in my child theme successfully, however when I copy the up-sells template to the same folder the upsell section disappears from the website – even if the template file is original or even if I swap its contents for the related products contents.

    woocommerce/single-product/related.php – works
    woocommerce/single-product/up-sells.php – doesn’t work

    I have tried to add the up-sells.php to different themes but it always seems to break whereas related.php always works.

    Please can someone help? What do I need to do to successfully override the upsells template?

  • The topic ‘Overriding upsell.php template not working’ is closed to new replies.