Hello guys, is there an easy way to import a list of products via csv or text delimited into the ecommerce module?
In a test environment I tried to use phpMyAdmin and tried to directly import the data product into the MySQL ecommerce tables, but not sure what are all the tables involved.
I use the ec_transaction_product, because I saw the products title and other data in the insert code, but I think the correct table is ec_product.
I manually entered some products and then I created an export sql code for this table for example:
CREATE TABLE `ec_transaction_product` (
`txnid` int(10) unsigned NOT NULL default '0',
`nid` int(10) unsigned NOT NULL default '0',
`vid` int(10) unsigned NOT NULL default '0',
`title` varchar(128) default NULL,
`price` decimal(10,2) NOT NULL default '0.00',
`qty` int(10) unsigned NOT NULL default '0',
`expires` int(11) unsigned NOT NULL default '0',
`data` text,
`is_recurring` tinyint(3) unsigned NOT NULL default '0',
`price_interval` tinyint(3) unsigned NOT NULL default '0',
`price_unit` varchar(5) NOT NULL default '',
`price_cycle` int(11) NOT NULL default '0',
`auto_charge` tinyint(3) unsigned NOT NULL default '0',
`last_notify` int(11) unsigned NOT NULL default '0',
UNIQUE KEY `txnid` (`txnid`,`nid`),
KEY `txnid_2` (`txnid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO `ec_transaction_product` VALUES (1, 1, 1, 'Test Accolate', 55.00, 1, 0, 's:6:"a:0:{}";', 0, 0, '', 0, 0, 0);