Gallery Category automatically suppresses the display of quantity in product listing and product info, so there is no need to set quantity to 0 for this.

Are the items displaying in other kinds of listings too? If those listings depend on category, the output can be fixed.