00:00 / 00:00

Subspace Shop

Shopify Helper

Shopify CSV Converter

Converts Shopify CSV order records into the formats external providers accept

Features

  • Speeds up order processing and reduces manual work — exports tens of thousands of orders into a provider's required format in seconds
  • Automatically identifies the provider for each order by SKU
  • Automatically fills the blank cells left by multi-item orders
  • Automatically completes missing county-level city data
  • Automatically detects bundle orders

Supported Platforms

  • Rouzao
  • Any platform compatible with the Mabang or Mangoerp format
  • Kingdee Guanyi ERP

Usage

bun run src/index.ts --outputDir '/export/dir' --input '/path/to/exported.csv'

Options

  • --outputDir: Output directory
  • --input: Path to the input CSV file
  • --note: Note text, appended to the end of the file name

Shopify Coupon Generator

Automatically generates percentage-off discount coupons for a given Shopify product

bun run src/scripts/generateCoupon.ts --variantId 50019194634516 --discount 100 --png

Options

  • --variantId: Shopify product variant ID
  • --discount: Discount percentage
  • --png: Whether to generate a PNG image

Environment Variables

  • PROVIDERS: Order SKU whitelist, split by comma, only SKU starts with these values will be imported
  • ORDER_PREFIX Order prefix to avoid conflict with providers, mainly used by Rouzao
  • GUANYI_ERP_SHOP_NAME: Shop name in Guanyi ERP
  • GUANYI_ERP_PRIVATE_MODE: When private mode is enabled, no price amount will be exported
  • SHOPIFY_SHOP_SLUG: Shopify shop slug
  • SHOPIFY_API_SECRET: Shopify custom developer app API secret

Repository

Last updated on September 19, 2026

Tech otakus destroy the world