added function to check number of variants of product
closed #17
Fixed action taken if deletion is disallowed by alloDeleteVariant()
ref #17