• alortiz3

    (@alortiz3)


    alortiz3

    I customized the Cheque Payment Gateway on woocommerce. However, I know that I will loose the customizations as soon as there is a woo update. I do have a child theme and have tried different ways of adding the customized file to the structure but not of it works. Is there a file structure that I should be followin? So far I’ve tried this structure:
    plugins
    ->woocommerce
    –>includes
    —>gateways
    —->cheque

    and this one:
    plugins
    ->woocommerce
    –>gateways
    —>cheque

    Neither one works. Any help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Although this is not related to the Storefront theme (you may want to check out the WooCommerce forum); if you add your code in a child theme, or a separate plugin, you should be fine.

    Just make sure that your custom code is not located anywhere in the /wp-plugins/woocommerce directory, or else it might indeed be overwritten with an update.

    Thread Starter alortiz3

    (@alortiz3)

    alortiz3

    Thank you very much for your help! That is precisely what I am trying to do, add it to a child theme, but it does not matter where I add it, it does not work. A plugin will not work because the system is strictly configured (by 2 different processes) to use a specific file. So what I’m looking for is for the path that I need to add the file. I already have a few other custom files and everything is working fine, it is just this particular one that does not work.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Payment Gateway’ is closed to new replies.