     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'

      p =
        productType:
          typeId: 'product-type'
          id: @productTypeId()
        taxCategory:
          typeId: 'tax-category'
          id: @taxCategoryId()
        name: @lang(n)
        slug: @lang(@slugify(n))
        description: @lang(@val(row, 'description', ''))

  variants = {} # uid -> [variant]
  images = {} # uid: variantId -> [images]
  varianId = 0

  productTypeId = 'TODO'
  taxCategoryId = 'TODO'
  customerGroupId = 'TODO'

  @productType().then(@taxCategory()).then(@customerGroup()).then (pId)->
    console.log pId

  for k,row of xmljs.row
    v =
      id: 0
    @mapCategories(row, v)
    @mapAttributes(row, v)
    @mapPrices(row, v, customerGroupId)
    img = @mapImages(row)

    if @isVariant(row)
