Coder Social home page Coder Social logo

go-shopify-csv-helper's Introduction

Go Shopify CSV Helper

Shopify is a great platform, but it's sometimes suprising that their CSV importer is limited to only 15 MB.

For users with a lot of products, this forces them to use an API or awkwardly split up a CSV...I'm sure there's a wealth of tools out there to split a Shopify CSV and avoid that 15 MB limit, but I decided to write a utility for this, myself.

How to Use

This is a go app, so you'll need to install go. This was done as a coding project, so it expects that you can look into the code yourself.

  • Update the main() endpoint to change the CSV file location.
  • In the fixCSvSize module, adjust the MAX_ROWS_PER_FILE const to create larger or smaller files.
  • By default, resized files will be prefxied like "resizedCsv_1.csv", "resizedCsv_2.csv", etc.
  • Simply drag and drop the mess of files into Shopify. Fun.

Note that this only outputs new files if the input file is > 15 MB. Also, it checks the input file to ensure that each column matches the Shopify definition.

Creating dummy files

See https://github.com/eric-koyanagi/shopify-csv-maker

go-shopify-csv-helper's People

Contributors

eric-koyanagi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.