Changes in childs up-sells.php - by Bjorn

This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago ago by Olga Barlow

  • Avatar: Bjorn
    Bjorn
    Participant
    September 17, 2016 at 12:56

    Hi,

    I wanted to make some changes to the up-sells.php file. Since I’m using a child I copied the up-sells.php from the parent template to the /child/woocommerce directory and made the changes in that file. But this file is not being used. Instead it’s still using the up-sells.php file from the X-store parent template? Am I forgetting something?

    Br,
    Bjorn

    2 Answers
    Avatar: Bjorn
    Bjorn
    Participant
    September 17, 2016 at 13:00

    Sorry…sometimes writing it down is part of the solution. Had to copy the file to the childs /woocommerce/single-product instead….

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 19, 2016 at 09:09

    Hello,

    Yes, if you want to change woocommerce files in child theme you need to copy them in the same directory as they are in the parent theme.

    Regards

  • Viewing 3 results - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.