Module for Drupal 6 / Ubercart 2:
A product has one or two attributes (size and/or color).
Stock levels are enable, so the product has different SKU's depending on the attributes:
when a SKU has reached a stock level of "0", it should be disable on the product page.
In the above example, only size 30 and 32 are available. Size 31 may not be shown in the dropdown to select the size.
This hook should be in a full Drupal 6 module. No changes to the core of Drupal or other modules are allowed. For testing, you'll need to setup a Drupal/Ubercart installation with the acquai prosper theme of fusionthemes enabled.
We need an invoice, so we only do business with another company.