Import/Export Module: Default Values
Posted: Wed Dec 23, 2009 5:00 pm
Hi!
Can't quite get the hang of this module. Do I need to fill in the Date/time stamp for the date added / modified / available fields? As NOW() or a made up time? Not having much luck. Keep on getting is error message:
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''9781841101675',0,'9781841101675.jpg',1,21.95,NOW(),NOW(),NOW(),0,1,1,9,0,0,0,0,' at line 1
Error No: 1064
INSERT INTO `product` (`product_id`,`quantity`,`sku`,`location`,`stock_status_id`,`model`,`manufacturer_id`,`image`,`shipping`,`price`,`date_added`,`date_modified`,`date_available`,`weight`,`weight_class_id`,`status`,`tax_class_id`,`viewed`,`length`,`width`,`height`,`measurement_class_id`) VALUES (116,1,'0','0',,'9781841101675',0,'9781841101675.jpg',1,21.95,NOW(),NOW(),NOW(),0,1,1,9,0,0,0,0,'1');
Any suggestions?
Cheers
Michael
Can't quite get the hang of this module. Do I need to fill in the Date/time stamp for the date added / modified / available fields? As NOW() or a made up time? Not having much luck. Keep on getting is error message:
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''9781841101675',0,'9781841101675.jpg',1,21.95,NOW(),NOW(),NOW(),0,1,1,9,0,0,0,0,' at line 1
Error No: 1064
INSERT INTO `product` (`product_id`,`quantity`,`sku`,`location`,`stock_status_id`,`model`,`manufacturer_id`,`image`,`shipping`,`price`,`date_added`,`date_modified`,`date_available`,`weight`,`weight_class_id`,`status`,`tax_class_id`,`viewed`,`length`,`width`,`height`,`measurement_class_id`) VALUES (116,1,'0','0',,'9781841101675',0,'9781841101675.jpg',1,21.95,NOW(),NOW(),NOW(),0,1,1,9,0,0,0,0,'1');
Any suggestions?
Cheers
Michael