jonesevan007 Posted February 10, 2009 Share Posted February 10, 2009 Hey guys, I've just added a binary (0 or 1) section to my Order table entitled "gift_wrap" and made all of the orders default at 0 (or false, or no gift-wrap). Then I've echoed those values in a new column on my admin dashboard right next to the order status. My question is, how can I have the numeric value (0 or 1) be clickable and update the database when the osc admin manually clicks the button to mark the order as needing gift-wrap (or giving it a "1"). This little 'switch' would allow me to eye-ball what orders need to be shipped out with gift wrapping :P Thanks, as always, for your ideas Link to comment Share on other sites More sharing options...
jonesevan007 Posted February 10, 2009 Author Share Posted February 10, 2009 Or how could I display the gift_wrap SQL field as a pre-filled html text input box that I could edit (say change a 0 to a 1) and then hit save and have it change the database value? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.