smartpack/wordpress-woocommerce-plugin
Composer 安装命令:
composer require smartpack/wordpress-woocommerce-plugin
包简介
WordPress SmartPack addon to WooCommerce with full integration to smartpack.dk system.
README 文档
README
Webhook rules
Hooks Smartpack WMS need endpoints to update different data for product, stock and order there will be some REST API endpoints for that. remeber to add a webhook key in the settings area else its have disabled security and all can sending webhook to your store.
Stock changed webhook
{domain-path}/wp-json/smartpack-wms/v1/stock-changed
Order changed webhook
{domain-path}/wp-json/smartpack-wms/v1/order-changed
Crontab
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.
* * * * * wp cron event run wms_cron_product_hook * * * * * wp cron event run wms_cron_order_hook
You can also use WP CLI to trigger cron events manually or delete existing cron events if something goes wrong.
wp cron event run --due-now --allow-root wp cron event delete wms_cron_product_hook --allow-root
Product hint:
- Simple product use its own SKU
- Product variations need there own SKU else its used parent SKU.
Module Featuers
WMS
- Product
- CLI: Full sync of products from shop to WMS integration
- Order
- CLI: Sync all with shipment status
- Stock
- Hook: update product stock on hook signals
- CLI: Full stock sync to be ajour from WMS into Woo
Woocommerce order process
Custom orders will not be automatically transfered to the WMS integration.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-09-14
