rainbow007 Posted September 23, 2002 Share Posted September 23, 2002 Hi, I was looking through the forums and contributions for a hint in regard of delivery times. What I am looking for is put a graphic up which tell this product is on hand, or need two to three days and so on. I know I could generate this manually but would like to handle through the DB. Any idea how to do this? rainbow017 www.moddingstore.com Besser heute als morgen...... Link to comment Share on other sites More sharing options...
Mark Evans Posted September 23, 2002 Share Posted September 23, 2002 I know I could generate this manually but would like to handle through the DB. You could add a new field to the database which stored 1 for on hand 2 for 1-2 days etc etc Then query this field on the product_info.php and then do a switch case to determine which graphic to show :) You can find more details on the case statement here http://www.php.net/manual/en/control-struc...ures.switch.php Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.