I would like to use the info about the stock to make a change on the produktimage, for example to put a red border on or to use an alpha filter.

I tried to geht the status with variable_get('uc_product_stock_sku', $default) but I don't geht the right value.

Could you tell me how I could use stockinfo for the stock picture?