Answer the question
In order to leave comments, you need to log in
Woocommerce include folder customization. How right?
Guys, here's the task, how to customize the woocommerce functions that are in the include folder?
Answer the question
In order to leave comments, you need to log in
If there is an urgent need for such actions, first of all I recommend creating a repository for woocommerce git (for example, on GitLab) and creating a separate develop branch for customization and a branch for the original plugin. So when updating the woocommerce plugin, you can make a merge request between the original and custom branches without losing your work. And after that, deploy the plugin from the repository into a working project.
If it’s not just about a global change in the woocommerce core, but about new functionality, it’s better to create a separate plugin.
For the vast majority of cases - hooks (actions and filters) + their custom functions on them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question