     @addToCartButton.click (event)=>
       event.preventDefault()
       addToCartBtn = $(event.target)
-      console.log "addtocart event.target " + event.target
       productType = $(addToCartBtn).data('product')
       
       if productType is "pupil"

    @eyeConfigActiveClass = "a[class='StoreConfig-eye #{ @storeConfigActiveClass }']"
    @configSubTotalClass = "p[class='StoreConfig-subTotal']"
    @cartNavCounter = $("sup[class='Nav-cart-itemCount']")
    @activeLink = null
    ) ->
      @eventAddToCart()
      @eventClearCart()



  eventUpdateConfig: ->
    $(@storeConfigSelector).click (event)=>
      event.preventDefault()
      # typically we would use $(this) to refer to the jquery object
      # within the scope of the `click` function
      # but in coffeescript when we use the fat arrow (=>)
      # we are referring to the class itself and not the jquery object 
      activeLinks = $(event.target)
      @_setActiveState(activeLinks)
      @_swapImg(activeLinks)
