• I have added some extra function in “report.php” and “Helpers.php”. how can i override those file via child theme?
    I don’t want to edit plugin core files so that it not deleted during update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author FAKTOR VIER

    (@faktorvier)

    Hi @rokeyfx

    What exactly did you add? We’re always interested in new features to add that may help others.

    Currently you can’t add custom functionality to the total stock value report page. You could add yor own reports page additional to ours. There are some guides out for that: https://avada.io/woocommerce/docs/custom-report-guide.html

    Maybe we’ll add some hooks toa dd custom output on our reports page, but we can’t tell you when this will be.

    Thread Starter Rokeybur Rahman

    (@rokeyfx)

    On Helpers.php and report.php I added extra meta key from cost of goods sold plugin. so i know what is my cost for stock.

    https://prnt.sc/REqoCX2FBPzW
    https://prnt.sc/RnNMtAShlf4J

    Plugin Author FAKTOR VIER

    (@faktorvier)

    Hi @rokeyfx

    I’m afraid that’s currently not possible to overwrite this code without adding it to the files every time the plugin is updated. As I mentioned in my previous reply, we plan to add some more hooks so everyone can add custom code to both of this files. But we don’t know when this will be implemented or how it will look and work exactly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to override file’ is closed to new replies.