Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imports 1st row only - Rails 4 - Spree 2.1 #23

Open
Allanon29 opened this issue Jan 24, 2014 · 2 comments
Open

Imports 1st row only - Rails 4 - Spree 2.1 #23

Allanon29 opened this issue Jan 24, 2014 · 2 comments

Comments

@Allanon29
Copy link

Hi,

I tested Your gem with Rails 4 and Spree 2.1 stable. At first I would like to say that it was a brilliant idea to use Google Spreadsheets.
I set up a small, 10 row file with the following columns:
name
price
description

I tried to import it from both google and from csv, but it imports the first row only.

The only error message I get is this:
ActionController::RoutingError (No route matches [GET] "/admin/assets/spritemap.png")

Any idea why this happens?

@weeksie
Copy link
Contributor

weeksie commented Jan 27, 2014

Interesting. One good way to go is to do a product export with an empty database. That will give you all of the columns that are required for an import. You're going to want to have a sku column (or a sku pattern column for import.

@ArjanL
Copy link

ArjanL commented Jan 27, 2014

Try using one of these csv files in the "/spec/fixtures/files" folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants