/******************************************************************************
* gshpPriceManagerComplement.js
*******************************************************************************
Complement par defaut du gestionnaire de prix du module GenericShop
*******************************************************************************
*                                                                             *
* Copyright 2008									                          *
*                                                                             *
******************************************************************************/

//
// ------------------------------------- class GshpPriceManagerComplement()
//
function GshpPriceManagerComplement()
{
}

GshpPriceManagerComplement.prototype.showReference = function(manager, product, reference, key)
{
	if ((manager._activateStockRules == true) && (reference.stockRule != null)) {
		if (product.mode == GshpPriceManager.prototype.CURRENTPRODUCT_MODE) {
			basketQuantityInputElt = document.getElementById("gshpBasketQuantityDiv");
			if (basketQuantityInputElt != null)
				basketQuantityInputElt.style.display = (reference.canCommand() ? "block" : "none");
		}
	}
}

GshpPriceManagerComplement.prototype.onChangeDimension = function(manager, select, product, dimensions)
{
}

GshpPriceManagerComplement.prototype.onClickPackItem = function(manager, checkbox, product)
{
}