Have to require some WooCommerce files from my child theme directory

Solved0 replies1 participantUpdated by phstudio

  • Avatar: phstudio
    phstudio
    Participant

    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?

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