WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Overriding upsell.php template not working (1 post)

  1. goyt
    Member
    Posted 3 months ago #

    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?

    https://wordpress.org/plugins/woocommerce/

Reply

You must log in to post.

About this Plugin

About this Topic