This is a Ubercart module which offers a custom attribute type called 'quantity grid'