Zen Cart Logo

Import Manufactures list

Locked

Views: 1,384

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
25 Jul 2008, 6:46 AM
#1
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Import Manufactures list

Hi,

Is it possible for me to import a manufacturers list? I have over 800 manufacturers, and that could take some time.

I have all manufacturers in a .csv or tabbed delimited format, how do I import that?

I'm looking at the easy populate mod, but for now it does not seem to be an answer...

Actually, I have a database from a Cold Fusion site. When I open the csv files and flat files in Excel, it looks like a monkey on crank garbled up all the data.

:shocking:

25 Jul 2008, 8:35 AM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Import Manufactures list

EasyPopulate doesn't do this.

You could compile a SQL query that looks like this:-

INSERT INTO `manufacturers` (`manufacturers_id`, `manufacturers_name`, `manufacturers_image`, `date_added`, `last_modified`) VALUES
(1, 'Casio', 'manufacturers/casio.jpg', '2008-05-20 09:00:00', '2008-05-20 09:00:00'),
(2, 'Hitachi', 'manufacturers/casio.jpg', '2008-05-20 09:00:00', '2008-05-20 09:00:00'),
(3, 'JVC','manufacturers/casio.jpg', '2008-05-20 09:00:00', '2008-05-20 09:00:00'),
(4, 'Kenwood', 'manufacturers/casio.jpg', '2008-05-20 09:00:00', '2008-05-20 09:00:00');

My example shows just 4 entries, but this should not take long if you use Excel and make use of it's capacity to:-
add an incremental number in a cell (for the Manufacturer's ID)
CONCATENATE text in fields (if needed, will help create image file path, AND bring all the text together for each reference)
EXPORT file as TXT file

With Excel, a lot of the data is duplicated (see my dates), so use excel to copy and paste.

With 800 manufacturers, this method should take about 30 minutes...

12 Sep 2008, 9:15 AM
#3
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: Import Manufactures list

This query only works partially. I cannot see the new manufacturers on my home page- i.e. under "manufacturers" list scroll down box.

However, I can see the new manufacturers when I go to admin > catalog > manufacturers

Suggestions? :ohmy:

13 Sep 2008, 4:39 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Import Manufactures list

Add some products for them? :smile:

Or, check the Configuration ... Maximum Values ...

Manufacturers List - Verify Product Exist
Verify that at least 1 product exists and is active for the manufacturer name to show

Note: When this feature is ON it can produce slower results on sites with a large number of products and/or manufacturers
0= off 1= on

NOTE: A dropdown box of 800 manufacturers can really be a problem to navigate ... you may want to come up with a different method of accessing them, if proves to be a problem ...

16 Sep 2008, 6:40 AM
#5
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: Import Manufactures list

Yes, adding products for them works!