Jump to content

Edit History

hastalavi2

hastalavi2

Hi, I created a custom module which adds some custom text fields to product editing page on back office. But I want those fields inserted in a table I created with the same name as my module 'kd_combifeature'.

I am using "hookActionProductUpdate" and this code:

DB::getInstance()->insert(_DB_PREFIX_ . '_combifeature', array(
	'id_combifeature' => 'AUTO_INCREMENT',
	'id_feature' => $id_feature,
	'id_product' => $id_product,
	'value' => $value,
));

But it doesn't working. Why?

hastalavi2

hastalavi2

Hi, I created a custom module which adds some custom text fields to product editing page on back office. But I want those fields inserted in a table I created with the same name as my module 'kd_combifeature'.

I am using "hookActionProductUpdate" and this code:

DB::getInstance()->insert(_DB_PREFIX_ . '_combifeature', array(
	'id_combifeature' => 'AUTO_INCREMENT',
	'id_feature' => $id_feature',
	'id_product' => $id_product',
	'value' => $value',
));

But it doesn't working. Why?

×
×
  • Create New...