changeQuantity Event

The ‘changeQuantity’ event is triggered when change count items on the cart.

Sample use for limit buy only X items

// simple example
evoShop.bind( 'changeQuantity' , function( item ){
	if ( item ){	// need check for item from prevent error if decrement delete
		if (item.get('quantity') > 2) {
		  	item.quantity( 2 );
		  	alert('max items to buy 2pcs.'); 
		}
	}
});