← 返回
未分类 Key

Shopify Bulk Upload

批量上传商品到 Shopify 店铺。支持从 Excel/CSV 文件读取商品数据,自动创建产品、产品图片、变体、价格和库存。使用场景:(1) 批量上架新品 (2) 从其他平台迁移商品到 Shopify (3) 批量更新现有商品信息
批量上传商品至 Shopify,自动读取 Excel/CSV 数据创建产品、图片、变体、价格和库存。适用场景:① 批量上架新品;② 从其他平台迁移商品;③ 批量更新已有商品信息。
zhaoteng-qd
未分类 clawhub v1.0.3 1 版本 99704.1 Key: 需要
★ 0
Stars
📥 337
下载
💾 0
安装
1
版本
#latest

概述

Shopify Bulk Upload Tool

A powerful tool to bulk upload products to your Shopify store from Excel/CSV files.

Features

  • ✅ Read Excel/CSV product data
  • ✅ Create products with multiple images
  • ✅ Support product variants (color, size, etc.)
  • ✅ Auto image upload processing
  • ✅ Inventory management
  • ✅ Error logging and retry
  • ✅ Incremental update by SKU
  • ✅ Upload progress display

Quick Start

1. Prepare Product Data File

Prepare product data in assets/products.xlsx or assets/products.csv:

FieldRequiredDescription
------------------------------
titleProduct title
descriptionProduct description (HTML supported)
vendorBrand/Supplier
product_typeProduct type
pricePrice
compare_at_priceOriginal price (for showing discount)
skuSKU code
inventory_quantityStock quantity
weightWeight (unit: kg)
weight_unitWeight unit: kg, g, lb, oz
statusactive, draft, archived
tagsTags (comma separated)
imagesImage URLs (comma separated, multiple)
variant_titleVariant name (e.g., Color, Size)
option1_nameVariant option 1 name (e.g., Color)
option1_valueVariant option 1 value (e.g., Red)
option2_nameVariant option 2 name (e.g., Size)
option2_valueVariant option 2 value (e.g., M)

2. Configure Shopify API

Configure in .env file:

SHOPIFY_STORE_URL=https://your-store.myshopify.com
SHOPIFY_ACCESS_TOKEN=your_access_token
SHOPIFY_API_VERSION=2024-01

To get Access Token:

  1. Login to Shopify Admin
  2. Go to Settings → Apps and sales channels → Develop apps
  3. Create App → Configure Admin API scopes
  4. Check write_products, write_inventory permissions
  5. Install app → Get Access Token

3. Install Dependencies

cd scripts
pip install -r requirements.txt

4. Run Upload Script

python shopify_bulk_upload.py

Output Results

After completion:

  • logs/upload.log - Upload log
  • logs/error.log - Error details
  • output/products_created.json - Successfully created products
  • output/products_failed.json - Failed products

Configuration

Edit scripts/config.py to customize:

CONFIG = {
    "batch_size": 10,           # Products per batch
    "retry_count": 3,           # Retry attempts on failure
    "retry_delay": 2,           # Retry interval (seconds)
    "image_timeout": 30,       # Image upload timeout (seconds)
    "default_status": "active" # Default product status
}

Documentation

Requirements

  • Python 3.8+
  • pandas
  • requests
  • python-dotenv
  • openpyxl

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-05-12 05:34 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,998
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,354 📥 317,991
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 710 📥 243,694