Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quick on/off button needed for admin side


jonesevan007

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...