 
 # PLUGIN DEFAULTS
 $.fn.skuSelector.defaults =
-	showBuyButton: false
-	showProductImage: false
-	showProductTitle: false
-	showPrice: false
-	showPriceRange: false
+	modalLayout: false
 	warnUnavailable: false
 	selectOnOpening: false
 	confirmBuy: false


	# Renders the DOM elements of the Sku Selector
	render: =>
		dust.render "sku-selector", @data, (err, out) =>
			console.log "Sku Selector Dust error: ", err if err
			@context.html out
			@update()
			@hideProductImage() unless @options.showProductImage
			@hideProductTitle() unless @options.showProductTitle
			@showBuyButton() if @options.showBuyButton
			@context.trigger('vtex.sku.ready')

	update: =>


		if selectableSkus.length == 1
			selectedSku = selectableSkus[0]
			@context.trigger 'skuSelected', [selectedSku]
			if selectedSku.available
				@showBuyButton(selectedSku)
				@showPrice(selectedSku)
			else
				@showWarnUnavailable(selectedSku.sku) if @options.warnUnavailable
				@hideBuyButton()
		else if selectableSkus.length > 1
			@showPriceRange(@data.findPrices(selectableSkus))

	resetDimension: (dimension) =>
		@select.itemDimensionInput(dimension.name)
