[WordPress] 外掛分享: XML Shipping Importer for WooCommerce

首頁外掛目錄 › XML Shipping Importer for WooCommerce
10+
安裝啟用
尚無評分
4334 天前
最後更新
問題解決
WordPress 3.0.1+ v1.0 上架:2014-05-06

內容簡介

插件的原始目的

這個插件最初的目的是將 WooCommerce 安裝與配送中心的訂單處理介面連接起來。

配送/履行中心設置了 FTP 伺服器
配送/履行中心要求上傳訂單的 XML 檔案到他們的 FTP 伺服器 (使用 WooCommerce Customer/Order XML Export Suite 進行此過程 - http://www.woothemes.com/products/customerorder-xml-export-suite/ )
配送/履行中心會上傳一個已完成訂單的 XML 檔案到他們的 FTP 伺服器。這個文件包括 1) WooCommerce 訂單號 2) 追蹤號碼 3) 運輸承運人名稱
這個插件被設計來處理已完成的訂單:

將追蹤號碼和承運人信息添加到訂單的元數據中
將訂單狀態更改為完成
捕獲卡片信息(在訂單出貨時授權的信用卡信息,捕獲時付款)

您需要自定義的內容

FTP 資訊 - 插件有一個設定頁面用於這些字段 - 可以改進安全性
根據您想要導入的 XML 文件格式,您可能需要自定義處理導入的代碼。目前,此插件使用 SimpleXML 類將 XML 文件導入對象。
當前的信用卡捕獲需要根據您的需要和付款網關進行自定義 (目前設置為與 Intuit 的付款網關配合使用)

示例

範例 XML 檔案作為 example.xml 包含在 repo 中 - 這是您的配送中心會放在他們的 FTP 伺服器上的檔案

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「XML Shipping Importer for WooCommerce」→ 直接安裝(推薦)

原文外掛簡介

Original Purpose
The original purpose for this plugin was to interface a WooCommerce installation with a distribution center’s order processing.

Distribution / fulfillment center had an FTP server set up
Distribution / fulfillment center requested an XML file of orders be uploaded to their FTP server (WooCommerce Customer/Order XML Export Suite was used for this process – http://www.woothemes.com/products/customerorder-xml-export-suite/ )
Distribution / fulfillment center would upload an XML file of completed orders to their FTP server. This file included 1) WooCommerce Order Number 2) Tracking number 3) Shipping Carrier Name
This plugin was designed to process the completed orders:

Add tracking number and carrier information to order as meta data
Change order status to completed
Capture card information (credit card info authorized at time of order, captured when order has shipped)

What You’ll Need To Customize

FTP information- the plugin has a settings page for these fields – could use improved security
Depending on the format of the XML file you’d like to import, you may need to customize the code that handles the import. The plugin currently uses the SimpleXML class to import the XML file to an object.
The current credit card capture will need to be customized depending on your needs and your payment gateway (currently set up to work with Intuit’s payment gateway)

Examples

Example XML file included in repo as example.xml – this is the file that your distribution center would place on their FTP server

延伸相關外掛

文章
Filter
Apply Filters
Mastodon