Skip to content
Script to upload a bunch of products to Shopify based on a folder structure, images and text files.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src code formatting Feb 8, 2019
.gitignore initial Feb 7, 2019
README.md Update README.md Feb 9, 2019
package.json added content Feb 8, 2019
yarn.lock added progress bar Feb 7, 2019

README.md

shopify-product-uploader

This is a CLI app to upload a batch of products to a Shopify store based on a folder structure, image and text files.

Installation

$ git clone https://github.com/AlexanderProd/shopify-product-uploader
$ cd shopify-product-uploader
$ yarn install

Usage

Create a .env file in the root directory of the cloned repository that looks like this with your shops credentials.

SHOP_NAME=testshop
APIKEY=123456
PASSWORD=123456

Just run yarn start [directory] inside the downloaded directory.

Every product needs to be inside its own folder where the folder name sets the products name. Images inside of the folder are uploaded as product photos.

A .rtf file is used for the description, formatting will be kept.

Filenames are not important everything is determined based on file extension.

Directory to start in
|
├── Product 1
|     ├── image1.png
|     ├── image2.jpg
|     ├── details.json
|     └── description.rtf
└── Product 2
      ├── image1.png
      ├── image2.jpg
      ├── details.json
      └── description.rtf
You can’t perform that action at this time.