               action: 'changePrice'
               variantId: variantInMaster.id
               price: price
-      else if retailerPrice
+      else if retailerPrice?
         # Add new price
         price = _.clone retailerPrice
         # add channel for retailer in master

      liveAction.staged = false
      actions.push liveAction

    actions

  _normalPrice: (prices) ->

      @getCustomerGroup(@masterClient, CUSTOMER_GROUP_SALE)
      @getCustomerGroup(@retailerClient, CUSTOMER_GROUP_SALE)
    ]).spread (retailerChannelInMaster, masterCustomerGroup, retailerCustomerGroup) =>
      console.error "retailerChannelInMaster %j", retailerChannelInMaster
      console.error "masterCustomerGroup %j", masterCustomerGroup
      console.error "retailerCustomerGroup %j", retailerCustomerGroup

      @getPublishedProducts @retailerClient, ((page, count) -> console.error "Page #{page} processed - #{count} price update(s) done."), (retailerProduct) =>
        current = retailerProduct.masterData.current
        current.variants or= []
