     d =
       name: trans,
       value: v
-    console.log d
     j.attributes.push d
 
-exports.XmlImport.prototype.mapPrices = (row, j)->
+exports.XmlImport.prototype.mapPrices = (row, j, customerGroupId)->
   j.prices = []
   currency = 'EUR'
   country = 'DE'

    d =
      name: trans,
      value: v
    console.log d
    j.attributes.push d

  numbers = [ 'hight', 'length', 'wide' ]

    return false
  true

exports.XmlImport.prototype.productType =->
  rest = new Rest Config
  deferred = Q.defer()
  rest.GET "/product-types", (error, response, body)->
    #console.log("PT: %j", body)
    id = JSON.parse(body).results[0].id
    deferred.resolve id
  deferred.promise

exports.XmlImport.prototype.taxCategory =->
  rest = new Rest Config
  deferred = Q.defer()
  rest.GET "/tax-categories", (error, response, body)->
    #console.log("TC: %j", body)
    id = JSON.parse(body).results[0].id
    deferred.resolve id
  deferred.promise

exports.XmlImport.prototype.customerGroup =->
  rest = new Rest Config
  deferred = Q.defer()
  rest.GET "/customer-groups", (error, response, body)->
    id = JSON.parse(body).results[0].id
    #console.log("CG: %j", body)
    deferred.resolve id
  deferred.promise