Skip to content

Commit 1af607c

Browse files
Merge pull request #4 from SmartPackWMS/v0.0.2
V0.0.2
2 parents bc80d63 + 91425e9 commit 1af607c

15 files changed

+403
-721
lines changed

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,22 @@ Hooks Smartpack WMS need endpoints to update different data for product, stock a
1313

1414

1515
## Crontab
16-
You need to be enable to use cronjob to sync data between SmartPack WMS and Woocommerce. We are using CLI tools inside the cron so we are sure its react in the same way when you execute your code.
16+
All data between SmartPack WMS and Woocommerce will be synced. We are using WordPress built-in cron-scheduler for processing order and product data, if you disabled the built-in cron-scheduler in WordPress, you need to run add custom-cronjob inside your crontab file and be sure to install the WP CLI on your system.
1717

1818
``` bash
19-
* * * * * /path/to/woocommerce wp smartpack:product:sync
20-
* * * * * /path/to/woocommerce wp smartpack:order:sync
19+
* * * * * wp cron event run wms_cron_product_hook
20+
* * * * * wp cron event run wms_cron_order_hook
2121
```
2222

23-
```
23+
You can also use WP CLI to trigger cron events manually or delete existing cron events if something goes wrong.
24+
25+
``` bash
2426
wp cron event run --due-now --allow-root
2527
wp cron event delete wms_cron_product_hook --allow-root
2628
```
27-
29+
# Product hint:
30+
- Simple product use its own SKU
31+
- Product variations need there own SKU else its used parent SKU.
2832

2933
## Module Featuers
3034
**WMS**
@@ -35,4 +39,9 @@ wp cron event delete wms_cron_product_hook --allow-root
3539
- CLI: Sync all with shipment status
3640
- Stock
3741
- Hook: update product stock on hook signals
38-
- CLI: Full stock sync to be ajour from WMS into Woo
42+
- CLI: Full stock sync to be ajour from WMS into Woo
43+
44+
## Woocommerce order process
45+
Custom orders will not be automatically transfered to the WMS integration.
46+
47+
![](/assets/images/woocommerce-order-process-diagram.webp)
9.17 KB
Loading

composer.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)