Advertisement:

Author Topic: need to add new field value in databse  (Read 1052 times)

airpk

  • Newbie
  • *
  • Posts: 13
need to add new field value in databse
« on: January 06, 2012, 05:08:26 pm »
i have modified oc_t_item Table ,

add new field called "b_show_contactnumber" bool.

i have added following code in "ItemActions.php"

'b_show_contactnumber'  => $aItem['showcontactNumber'],

$aItem['showcontactNumber']  = (Params::getParam('showcontactNumber') != '') ? 1 : 0;

its not working, item is not saving.

i just check the value of $aItem['showcontactNumber'] in other field and value is passing.

how can i make it working?

Thanks