Zen Cart 1.3.8a
I am starting a new thread as I can't find any info on the current easy populate addon and I have searched and searched the existing easy populate threads... for a few hours!
Have installed the ep addon and downloaded existing product file. I then tried uploading the same file (before even opening and editing) and found it would import the first 3 products only. After that the error message for remaining products was:
MySQL error 1110: Column 'products_last_modified' specified twice
When executing:
INSERT INTO zen_products SET
So.... I deleted all the other products except for the first 3. Uploaded the file and it imported fine.
I then opened in the file in TextPad and duplicated the last product, uploaded and it imported fine with 4 products.
I tried changing the model number (first column) and got the original error message. I changed the model number back to the duplicate of product 3 and it worked. I can change anything in that row EXCEPT the model number.
Here is the successful upload:
UPDATED! - Model: BHL80040 | red-heart- | Heart Lamp | 7x7x6cm | | | | | 10 | 0 | 05/11/2009 | 06/08/2009 | 1000 | Crystal Co | Candles | | | | | | | --none-- | 1 | 0 | 0 | 0 | 0 | 0 | | | |
UPDATED! - Model: GB-Lily 2 | votive-set | Scented Vo | Lily of th | | | | | 8 | 0 | 05/11/2009 | 06/08/2009 | 1000 | Crystal Co | Candles | | | | | | | --none-- | 1 | 0 | 0 | 0 | 0 | 0 | | | |
UPDATED! - Model: SM5556 | Star-Tea-L | Star Tea L | Star Tea L | | | | | 12 | 0 | 05/11/2009 | 06/08/2009 | 1000 | Crystal Co | Candle Hol | | | | | | | --none-- | 1 | 0 | 0 | 0 | 0 | 0 | | | |
UPDATED! - Model: SM5556 | Star-Tea-L | New Produc | Star Tea L | | | | | 12 | 0 | 05/11/2009 | 06/08/2009 | 1000 | Crystal Co | Candle Hol | | | | | | | --none-- | 1 | 0 | 0 | 0 | 0 | 0 | | | |
And here is one of the complete error messages where I changed the model number in the 4th product:
products_model = 'TM5556' ,
products_price = '12' ,
products_image = 'Star-Tea-Light-Holder2.jpg' ,
products_weight = '0' ,
products_tax_class_id = '' ,
products_last_modified = '2009-05-11 20:27:00' ,
products_date_added = '2009-06-08 20:31:00' ,
products_last_modified = CURRENT_TIMESTAMP ,
products_quantity = '1000' ,
master_categories_id = '2' ,
manufacturers_id = '1',
products_status = '1',
metatags_title_status = '0',
metatags_products_name_status = '0',
metatags_model_status = '0',
metatags_price_status = '0',
metatags_title_tagline_status = '0'
I don't understand where the duplicate products_last_modified is coming from. Help anyone??
Bookmarks