ginlane / spree_importer

BSD 3-Clause "New" or "Revised" License
1 stars 9 forks source link

including taxons with uploads #13

Closed laertiades closed 10 years ago

laertiades commented 10 years ago

I can't figure out how to specify the taxons that pertain to products which are listed in csv file which is uploaded. Any help would be greatly appreciated.

weeksie commented 10 years ago

The taxon column of the CSV can take comma separated taxon hierarchies like so:

Clothing -> Shirts -> Button Up, Looks -> Spring, . . .

That will create or match the top level as a Taxonomy and create/match the children. The -> separator is default but can be configured (see the SpreeImporter::Config class).