WooCommerce connector for OneHash v15
This app allows you to synchronise your OneHash site with multiple WooCommerce websites
- Sales Order Synchronisation
- Item Synchronisation
- Sync Item Stock Levels
- Sync Item Prices
- Integration with WooCommerce Plugins
User documentation is hosted at woocommerce-fusion-docs.finfoot.tech
-
Once ERPNext is installed, add the woocommerce_fusion app to your bench by running
$ bench get-app https://github.com/sukh2001-git/Woocommerce-Integration.git
-
After that, you can install the woocommerce_fusion app on the required site by running
$ bench --site sitename install-app woocommerce_fusion
To run unit and integration tests:
bench --site test_site run-tests --app woocommerce_fusion --coverageFor integration tests, we use InstaWP to spin up temporary Wordpress websites.
TBD - steps to create a new site and template
We use pre-commit for linting. First time setup may be required:
# Install pre-commit
pip install pre-commit
# Install the git hook scripts
pre-commit install
#(optional) Run against all the files
pre-commit run --all-filesWe use Semgrep rules specific to Frappe Framework
# Install semgrep
python3 -m pip install semgrep
# Clone the rules repository
git clone --depth 1 https://github.com/frappe/semgrep-rules.git frappe-semgrep-rules
# Run semgrep specifying rules folder as config
semgrep --config=/workspace/development/frappe-semgrep-rules/rules apps/woocommerce_fusionIf you use VS Code, you can specify the .flake8 config file in your settings.json file:
"python.linting.flake8Args": ["--config=frappe-bench-v15/apps/woocommerce_fusion/.flake8_strict"]The documentation has been generated using mdBook
Make sure you have mdbook installed/downloaded. To modify and test locally:
cd docs
mdbook serve --openGNU GPL V3
The code is licensed as GNU General Public License (v3).