Shopify CSV 匯入錯誤「Inventory policy is not included in the list」的解決方法
控制缺貨時是否繼續販售的欄位,填寫了 Shopify 不接受的值。改成 deny(庫存為 0 時停止販售)或 continue(繼續販售),然後重新匯入。
Shopify 顯示的錯誤訊息
Inventory policy is not included in the list
這則錯誤代表什麼
Continue selling when out of stock 欄位(舊版檔案為 Variant Inventory Policy)只接受兩個值:預設的 deny,代表庫存降到 0 時停止販售;continue,代表允許顧客繼續購買並顯示負庫存。其他值(例如 yes、allow、true)都會導致這則錯誤。
常見原因
- 使用了 yes、no、allow、true 等值,而不是 Shopify 的關鍵字。
- 檔案來自其他平台,沿用了它們自己的預購設定。
- 儲存格空白或有拼寫錯誤。
解決方法
- 找到錯誤訊息中的列。
- 在 Continue selling when out of stock 中填寫小寫的 deny 或 continue。
- 對使用相同錯誤值的其他款式做同樣的修改。
- 以 CSV UTF-8 格式儲存,然後重新匯入。
範例
URL handle,Title,Continue selling when out of stock,Price wool-scarf,Wool scarf,allow,24.90
URL handle,Title,Continue selling when out of stock,Price wool-scarf,Wool scarf,continue,24.90
allow 不是 Shopify 接受的值。改成 continue 代表缺貨時仍可販售。
如何避免
- 用尋找與取代把其他平台的預購設定統一改成 deny 或 continue。
- 匯入前用檢查工具檢查這個欄位的值。
常見問題
- 應該選哪個值?
- 大多數商品選 deny,避免賣出沒有庫存的商品;客製商品或計畫接受預購的商品選 continue。
- 大小寫有影響嗎?
- 為保險起見,請使用與 Shopify 範本一致的小寫 deny 或 continue。
Skuvera 中的相關檢查
查看 Shopify 官方說明其他匯入錯誤
- Shopify CSV 匯入錯誤「Validation failed: price can't be blank」的解決方法
- Shopify CSV 匯入錯誤「Validation failed: options are not unique」的解決方法
- Shopify CSV 匯入錯誤「Ignored line because handle already exists」的解決方法
- Shopify CSV 匯入錯誤「Ignored line because it did not contain product data」的解決方法
- Shopify 商品匯入錯誤「Invalid CSV header: missing headers」的解決方法
- Shopify CSV 匯入錯誤
更新於 2026年10月30日
Skuvera