通过查找是和ecs_cart这个表是有关系的,导入
DROP TABLE IF EXISTS `ecs_cart`;
CREATE TABLE `ecs_cart` (
`rec_id` mediumint(8) unsigned NOT NULL auto_increment,
`user_id` mediumint(8) unsigned NOT NULL default '0',
`session_id` char(32) character set utf8 collate utf8_bin NOT NULL
default '',
`goods_id` mediumint(8) unsigned NOT NULL default '0',
`goods_sn` varchar(60) NOT NULL default '',
`product_id` mediumint(8) unsigned NOT NULL default '0',
`goods_name` varchar(120) NOT NULL default '',
`market_price` decimal(10,2) unsigned NOT NULL default '0.00',
`goods_price` decimal(10,2) NOT NULL default '0.00',
`goods_number` smallint(5) unsigned NOT NULL default '0',
`goods_attr` text NOT NULL,
`is_real` tinyint(1) unsigned NOT NULL default '0',
`extension_code` varchar(30) NOT NULL default '',
`parent_id` mediumint(8) unsigned NOT NULL default '0',
`rec_type` tinyint(1) unsigned NOT NULL default '0',
`is_gift` smallint(5) unsigned NOT NULL default '0',
`is_shipping` tinyint(1) unsigned NOT NULL default '0',
`can_handsel` tinyint(3) unsigned NOT NULL default '0',
`goods_attr_id` varchar(255) NOT NULL default '',
`package_attr_id` varchar(100) NOT NULL,
PRIMARY KEY (`rec_id`),
KEY `session_id` (`session_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
就可以解决加入购物车空白的问题
|