Maffy Posted June 30, 2006 Posted June 30, 2006 I use osC as an internal ordering system for the departmental stores. Some items we carry in stock and others we don't. I have put the whole catalogues on the website, but I'd like to distinguish between items that we hold and items we have to order. I had the idea of using the items stock quantity as this is a variable I don't use at all. I hope to have all items needed to be ordered as stock quantity '0' and items we carry as stock quantity '1', and when browsing the catalogue change the text colour for all items with a stock level of '1'. I've tried playing with some of the out of stock css settings, but that only affects things once in the shopping basket. I'd like it to be obvious when selecting items. So I suppose I need to add some code somewhere like: if stock_level > 0 then product_listing_text_colour is blue else product_listing_text_colour is black but I'm not sure where or how to do it. Any pointers or help would be greatfully received.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.