Have to require some WooCommerce files from my child theme directory

This topic has 1 reply, 1 voice, and was last updated 9 years, 11 months ago ago by phstudio

  • Avatar: phstudio
    phstudio
    Participant
    December 4, 2014 at 19:46

    Hello,

    Due to my Woocommerce site being multilanguage I have to load some files required within the ” /code/init.php” file from my Child Theme directory. This way I can use my own child theme text domain I have defined for the whole site.

    For example I would need to override “require_once( trailingslashit(ETHEME_CODE_DIR). ‘woo.php’ );” with “require_once( trailingslashit(CHILD_ETHEME_CODE_DIR). ‘woo.php’ );” or something like that.

    How could I do this?

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

The issue related to '‘Have to require some WooCommerce files from my child theme directory’' has been successfully resolved, and the topic is now closed for further responses

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