~FIX: added uncommented code, which might be used to ignore subproducts by stock
CHG: renamed misspelled variable
CHG: as the "Category" name convention is not always complied, accept both notations