Overriding upsell.php template not working (1 post)

  1. goyt
    Posted 2 years ago #


    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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic