[WordPress] 外掛分享: Products CSV Importer for Woocommerce

WordPress 外掛 Products CSV Importer for Woocommerce 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Products CSV Importer for Woocommerce」是 2017-02-21 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2017-02-24,距離現在已有 2991 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.4 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

jonboss | simplisticsca |

外掛標籤

csv | importer | products | woocommerce |

內容簡介

該 WordPress 外掛可匯入符合範本的 CSV 文件的所有行作為 Woocommerce 產品。由 Simplistics Web Design 建立。

操作方式

在 WordPress 管理員選單中,導覽至「產品匯入工具」鏈結。
點擊「選擇檔案」上傳所需產品文件(只支援 .csv 文件類型。有關 .csv 格式的詳細資訊,請參閱下方的「CSV 範本格式」)。
點擊「提交」以執行匯入。請等待匯入完成時顯示的載入畫面。
匯入工具將顯示成功匯入的記錄數。您可以在「產品」選項卡中查看這些記錄。

必要外掛

必須下載 [Woocommerce] 外掛,才能使用此外掛。請至此下載(https://en-ca.wordpress.org/plugins/woocommerce/)

CSV 範本格式

該外掛附帶了一個名為「products_template.csv」的範本檔案,用於格式化您要上傳的產品。該 CSV 中的列需要以下數據:

A:用於您的產品的唯一參考 ID。這必須是一個整數 - 它用於將您的產品連結到正確的文章 ID。
B:此產品的類別。它應該格式化為以下方式:

每個類別名稱之間必須以「|」分隔。
如果字串如此編寫,則不需要存在這些類別,並且如果是這樣,則會為您創建這些類別。該外掛目前不支援階層式類別,您將需要自行從 Woocommerce 管理面板分配父類別。或者,事先創建類別,並且只引用子類別,即可將您的產品連結到正確的類別。

C:產品重量(作為數字)
D:產品名稱。產品名稱用於確定可變產品 - 因此,任何要變化的產品都應具有相同的產品名稱作為其父產品。其名稱的第一個產品將創建父產品以及具有所需屬性的變型 - 不需要指定父行。
E:產品 SKU
F:產品描述
G:產品圖片。如果這些圖片已經存在於資料庫中,將會搜尋圖片並將其附加到產品。多張圖片應以「|」分隔,這些字串中的第一張圖片為產品縮略圖。其他圖片將添加到產品的畫廊中。圖片可能包含或不包含檔案擴展名。
H:庫存。請注意,如果您不希望以這種方式更新產品庫存,則可以在外掛程式的選項頁面中取消選擇「更新庫存」選項。
I:產品常規價格
J:如適用,產品特價價格
K-之後:來自 K 之後的所有列都將被解析為產品屬性。如果這些屬性尚不存在,則將創建列名作為新屬性。如果產品不使用該屬性,只需將該字段留空。可變產品的屬性將自動設置為「用於變形」

將自訂元素添加到您的產品中

可能需要出於某種原因將額外資訊添加到產品中。如果需要此操作,您可以在產品屬性後留空列,然後添加任何自訂元素值。所有自訂元素列的標題都會轉換為 meta_key,並存儲在與產品或變型相關聯的 postmeta 表格中。

自定義鉤子

動作 'wpci_importer_finished' - 此鉤子會在匯入完成後立即觸發,並且在頁面重新導向之前觸發。

原文外掛簡介

Given a CSV document of the proper template, imports all rows as Woocommerce products. Created by Simplistics Web Design.
Operation

Navigate to the ‘Products Importer’ Link in the wordpress administrator menu.
Click ‘choose file’ to upload the desired products document (only .csv file type is supported. For details on .csv formatting see ‘csv template format’ below)
Click ‘submit’ to run the import. The loading screen will appear, please wait while the import finished.
The importer will display the number of records successfully imported. You can view these in the ‘Products’ tab.

Required Plugins

[Woocommerce] is required to use this plugin, downloadable here (https://en-ca.wordpress.org/plugins/woocommerce/)

CSV Template Format
Included with this plugin is a template file entitled ‘products_template.csv’ to be used to format your products for upload. The Columns in that CSV expect the following data:

A: A unique reference ID used for your products. This must be an integer – it is used to link your products to the proper post ID.
B: Categories for this product. This should be formatted as follows:

Each Category Name must be separated with a ‘|’
The Categories need not exist and will be created for you if the string is written in this way. This plugin does not currently support heirarchical categories – you will have to assign categories to parents from the Woocommerce admin panel yourself. Alternatively, creating the categories ahead of time and only referencing the child category will link your product to the correct category.

C: Product Weight (as a number)
D: Product Name. The product’s name is used to determine variable products – so any product you wish to be a variation should have the same product name as its parent. The first product of its name will create the parent product as well as a variation with the given attributes – indicating a parent row is not necessary.
E: Product SKU
F: Product Description
G: Product Images. Images will be searched for in the database and attached to the product if they already exist. Multiple images should be separated by a ‘|’, the first image in the string being the product thumbnail. The other images will be added to the product’s gallery. Images may include or disclude the file extension.
H: Inventory. Please note that if you don’t wish to update the product inventory in this way, you can deselect the ‘update stock’ option in the plugin’s options page.
I: Product Regular Price
J: Product Sale Price, if applicable
K-onwards: All columns from K onwards are parsed as product attributes. The column names will be created as new attributes if they do not already exist. If a product does not use that attribute, simply leave the field blank. Attributes of a Variable Product will automatically be set to ‘use for variation’

Adding Custom Meta To Your Products
It may be necessary to add extra information to your product for some reason. If you require this, you can do so by leaving an empty column after your product attributes, followed by any custom meta values you require. The titles of any custom meta columns will be translated into a meta_key and stored in the postmeta table associated with the product or variation.
Customization Hooks
action ’wpci_importer_finished’ – This hook fires immediately after the import finishes, and before the page is redirected.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Products CSV Importer for Woocommerce」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | trunk |

延伸相關外掛(你可能也想知道)

  • WordPress Importer 》WordPress Importer 可以從 WordPress 匯出檔案中導入以下內容:, , 文章、頁面和其他自定義文章類型, 評論和評論元數據, 自定義欄位和文章元數據, 來自自定...。
  • Widget Importer & Exporter 》Widget Importer & Exporter 是一個有用的外掛,可將小工具從一個WordPress站點移動到另一個站點,備份小工具,並供主題開發人員為用戶提供範例小工具。...。
  • ThemeGrill Demo Importer 》透過這個外掛,只需點選一下按鈕,即可匯入 ThemeGrill 官方主題的示範內容、小工具和主題設定。, 享有免費支援。, 注意事項, , 此外掛會遠端呼叫我們的 Clou...。
  • Import and export users and customers 》在您的免費測試網站中試試看:點擊此處 => https://demo.tastewp.com/import-users-from-csv-with-meta, 一個乾淨易用的用戶和客戶導入/導出外掛,適用於 ...。
  • Blogger Importer 》Blogger Importer 是一個 WordPress.org 外掛,可以將 Google Blogger 網站的部落格資料匯入到 WordPress.org 的網站上。, 匯入的內容, , 分類, 文章(已發佈...。
  • Categories to Tags Converter 》這個外掛可以有選擇地將現有的 WordPress 分類或標籤相互轉換。。
  • Really Simple CSV Importer 》替代 CSV 導入外掛程式。簡單而強大,最適合於技術狂熱者。, , 類別支援, 標籤支援, 自訂欄位支援, Smart Custom Fields 支援, Custom Field Suite 支援, Adv...。
  • RSS Importer 》從 RSS 訂閱中匯入文章。。
  • Movable Type and TypePad Importer 》此外掛可以從 Movable Type 或 TypePad 部落格匯入文章及評論。。
  • Ansar Import 》匯入Themeansar官方主題的示範內容, 需求, , WordPress 4.7或更高版本, Themeansar主題, 。
  • Mystery Themes Demo Importer 》透過單一點擊,即可匯入「Mystery Themes」的所有官方主題。安裝及啟用所有必需的外掛程式非常簡單。以簡單方式匯入所有官方主題的自訂選項、佈景主題設定及...。
  • LiveJournal Importer 》這是一個簡單的匯入工具,可將您的 LiveJournal 匯入 WordPress。。
  • Icyclub 》針對所有 Themeansar 主題的 Icyclub WordPress 外掛, Icyclub 外掛的功能包括:, , 美觀的預建首頁配置, 拖放式頁面自訂, 預定義的實用區段, 即時內容編輯, ...。
  • Sparkle Demo Importer 》首頁 | 文件 | 付費版 | 所有主題 | 外掛 | 部落格, , Sparkle Demo Importer 可以在點擊一下的情況下匯入 SparkleThemes 的完整主題演示。這個外掛專門為了...。
  • WP Options Importer 》目前 WordPress 可透過 WXR 匯出其所有內容,然後再透過 WordPress, 匯入外掛進行導入。這個過程包括所有文章、術語、選單、評論和使用者,, 但不碰觸選項。...。

文章
Filter
Apply Filters
Mastodon