 		if @options.multipleProductIds
 			@manyProducts[productId].quantity = quantity
 		else
-			@skuData = {}
-			@sku = null
+			@quantity = quantity
 
-		@quantity = quantity
 		@update()
 
 	accessoriesUpdated: (evt, productId, accessories) =>

		else
			@skuData = {}
			@sku = null
		@update()

	quantityChanged: (evt, productId, quantity) =>

	update: =>
		url = if @sku or @options.multipleProductIds then @getURL() else "javascript:alert('#{@options.errorMessage}');"
		@element.attr('href', url)
		debugger
		@element.show()

		if @options.hideUnavailable and @skuData and @skuData.available is false
