Skip to content

Instantly share code, notes, and snippets.

NameError in Spree::Admin::ProductImportsController#user_csv_import
uninitialized constant DataShift::SpreeEcom
Extracted source (around line #80):
opts = {}
opts[:mandatory] = ['sku', 'name', 'price']
loader = DataShift::SpreeEcom::ProductLoader.new( nil, {:verbose => true})
message = "Check Imported Data"
if params[:csv_file]
if params[:csv_file].respond_to?(:path)