If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Need to upload a huge number of products...

Need to upload a huge number of products...

Locked

Started by beadan on 4 Nov 2009, 10:58 AM · Views: 3,629

Results 1 to 20 of 29
This thread is locked. New replies are disabled.
4 Nov 2009, 10:58 AM
#1
beadan avatar

beadan

New Zenner

Join Date:
Sep 2009
Posts:
5
Plugin Contributions:
0

Post #1 by beadan

Hi everyone.

I have tried Easy Populate (Still using it) as well as tried to get Store Manager for Zen Cart working, but that is a very unstable program I think.

I was wondering, is there anything else I can try? Something like Store Manager (I don't mind paying if I can test it out, and it works).

The problem is is that I have a HUGE number of products, and the pricing on them change every month. I get the products via an excel file (luckly) so I can copy my info from there.

But the problem comes in with the upload. It takes me a long time entering the info into the spreadsheet for Easy Populate. And I need to go and change the full discription for each product (just once at least) to html.

So, anyone have any ideas? Store Manager for Zen Cart's competitor maybe?

4 Nov 2009, 10:58 PM
#2
scrat avatar

scrat

Zen Follower

Join Date:
Dec 2005
Posts:
451
Plugin Contributions:
0

Post #2 by scrat

Beadan From what you are telling us it is a bespoke application you are really asking for, can you give us an example of what you are trying to acheive ?

9 Nov 2009, 11:45 AM
#3
countryboy avatar

countryboy

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

Post #3 by countryboy

You could write a script to import products into zen cart if you have the expertise. I import 15,000 products in roughly 6 min for the full import and 2 min to update the site. But you need to be able to set php time limits on your server.

I will be offering to write these scripts for a fee in a few weeks.
The script will make any and all changes to the csv file before importing automatically, change categories, set pricing, etc. If the csv or txt file can be pulled from a url then it can do that automatically too. Just set a cron job to run the script.

9 Nov 2009, 3:23 PM
#4
granola_gourmet avatar

granola_gourmet

New Zenner

Join Date:
Nov 2009
Posts:
1
Plugin Contributions:
0

Post #4 by granola_gourmet

countryboy:

You could write a script to import products into zen cart if you have the expertise. I import 15,000 products in roughly 6 min for the full import and 2 min to update the site. But you need to be able to set php time limits on your server.

I will be offering to write these scripts for a fee in a few weeks.
The script will make any and all changes to the csv file before importing automatically, change categories, set pricing, etc. If the csv or txt file can be pulled from a url then it can do that automatically too. Just set a cron job to run the script.

I am having a similar need. I have the need to import hundreds of coupon codes from an excel spreadsheet and to export orders to a spreadsheet. Can you assist with this?

9 Nov 2009, 5:45 PM
#5
countryboy avatar

countryboy

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

Post #5 by countryboy

I have my hands full right now but could work on it the first of next week if you are interested. If you are pm me the details and a short version of the data and I will take a look at it.

12 Nov 2009, 8:36 AM
#6
beadan avatar

beadan

New Zenner

Join Date:
Sep 2009
Posts:
5
Plugin Contributions:
0

Post #6 by beadan

Scrat:

Beadan From what you are telling us it is a bespoke application you are really asking for, can you give us an example of what you are trying to acheive ?

Ok, what I'm trying to do is the following:

I receive about 4 excel pricelists from my suppliers, each in his / her own set way of writing.
Thus the layout isn't always the same.

I want to import these products to my online shop, the easiest and fastest way.
There should be a way to change the price quick as well.

So far EP works well, but it still takes me ages to upload. And I don't have too much time as of yet, and I'm lazy :P

StoreManager looks very good, but can't get it to work. Is there anything out there that is a combo of storemanager and ep? Or what do you guys use to populate your shop and update prices?

But I have a lot of products each month and the prices change every month on almost every product. and some of the products might have been discontinued.

12 Nov 2009, 11:14 AM
#7
countryboy avatar

countryboy

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

Post #7 by countryboy

So far all that is available is EP and Store Manager from what I see.

That is why I wrote my own script. Debating on trying to teach how to write it, but that could take a while (especially for someone with no idea) or writing these scripts for customers, that would entail a fee. Takes time.

You would be able to do everything automatically, or 95% automatic. Depending on the format of the data being imported,
What I mean by that is if the format of the data you want to import is csv or txt you can probably import directly from the supplier to the database. Set up your script on a cron job and you are done.

If the data is in an excel format you would have to download, change the format, FTP up the server and run the script. Done

I am currently working a system where either way it is 100% automatic, using macros.

The script would change anything you set up to change, categories, product name,add SKU's, change SKU's, add keywords, meta data, etc. Also do all your pricing for you, on a percentage markup basis.

All in all, this is not for the faint of heart , it take time and patience to set up. I could do one per week. If you try it, it could take a month or more, depending on the complexity and your dedication. There would still be cost involved since you would need an editor to write the php files.

I would like to hear feedback on what everyone would be interested in. Lessons or pay to have it set up. The lessons would take a couple of weeks to go through.

This is definetly the way to go, if frees up so much of your time to do marketing, build more sites, etc. Things that make you money. That is why I decided to write this. I need to spend my time doing things to further my business, not maintaining my business. That negates growth.

14 Nov 2009, 4:54 PM
#8
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Post #8 by notageek

I posted the following on "justanswer.com" and paid the $18 fee, but no answer. Is there anyone who is able to answer the following question through that forum so he/she can receive my fee?

I need to extract about 2000 images from a file of maybe 60-80,000 images. The images should match the image names in my spreadsheet which coordinate with the products. I will then upload those images to my server for my zen cart shopping cart. I read that I should not try to put image files into MySQL, but there might be a way to put them into CSVed or OpenOffice Calc or Excel, but I can't envision how to match them up, assuming they can be placed in a column, with a duplicate filename in the imagename column, and then get rid of the images that do not match.

My question was posted under the name "notageekq". I am not sure how to withdraw the question in order to pay someone who can help from this forum, as this is more a database skills question than a question specific to Zen Cart.

Adding to this, I would need some advice on how then to extract only the images from the spreadsheet into an images file to upload.

Thanks to anyone who can help.

14 Nov 2009, 10:04 PM
#9
countryboy avatar

countryboy

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

Post #9 by countryboy

You can put images into mysql (not recommended) but some companies do it. You have to use an INNOB table (type of mysql table) and a BLOB format.

The problem I don't know is how to get that many pictures into an csv file. Calc will only take 65000 and excel not much more. Also not sure on how to get them all in a the same time rather than using insert to do one at a time.

Writing the code to delete the files you don't want can be done, but getting the images into and out of the csv file is the hard part.

14 Nov 2009, 11:14 PM
#10
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #10 by schoolboy

notageek:

I posted the following on "justanswer.com" and paid the $18 fee, but no answer. Is there anyone who is able to answer the following question through that forum so he/she can receive my fee?

I need to extract about 2000 images from a file of maybe 60-80,000 images. The images should match the image names in my spreadsheet which coordinate with the products. I will then upload those images to my server for my zen cart shopping cart. I read that I should not try to put image files into MySQL, but there might be a way to put them into CSVed or OpenOffice Calc or Excel, but I can't envision how to match them up, assuming they can be placed in a column, with a duplicate filename in the imagename column, and then get rid of the images that do not match.

My question was posted under the name "notageekq". I am not sure how to withdraw the question in order to pay someone who can help from this forum, as this is more a database skills question than a question specific to Zen Cart.

Adding to this, I would need some advice on how then to extract only the images from the spreadsheet into an images file to upload.

Thanks to anyone who can help.

I don't require payment, but if you want to make a contribution to the zencart team. get the $18 back from that site and give it over to the team.

perhaps your solution lies here:

http://www.zen-cart.com/forum/showpost.php?p=682618&postcount=9

20 years a Zencart User

14 Nov 2009, 11:17 PM
#11
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #11 by schoolboy

... or am I mis-reading your question?

Excel (the only MS program that scores higher than 2 out of 10) may do this... I have the Office 2007 version and I see there is a de-duplicating feature. (But I have not used it).

or you could try pivot tables in Excel.

20 years a Zencart User

14 Nov 2009, 11:46 PM
#12
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #12 by schoolboy

After reading your question again I am still a bit confused.

Are you talking about the actual image FILE, or a list containing the image file NAMES... like

12345.jpg
23456.jpg
34567.jpg ... and so on for another 60,000 lines...

An then you have a product called "dog collar" and that needs to be matched up to " 12345.jpg "... ???

IF your product code is:
12345

AND the image relating to it is
12345.jpg

Then I may have a solution for you.

20 years a Zencart User

15 Nov 2009, 6:39 PM
#13
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Post #13 by notageek

Schoolboy,

Thanks. I will be interested to see if wget is more efficient than ftp to download the image files. I appreciate the reference.

I do have the images on my hard drive. I want to pull out the 2000 or so images that match the products I have selected from the 80,000+product database.

The spreadsheet has an item number 123456 that most often but not always matches to an "image link column" 123456. I will have to ultimately add the suffix .gif to that column, so that it will pull the 123456.gif from the images file I will upload to Zen Cart.

I then need to insert the actual images into a column "realimages" and try to have the images insert themselves in the same rows where their "image link columns" appear.

I either need to import all of the images into perhaps the original file, then split out my 2,000 products with the actual images in an extra column, and then extract those images as my images file.

This would be possible in CSVed or OpenOffice because those do not have the 2000-line limit.

However, if Excel is the only program that will take .gif image files (not just the name and suffix .gif), I am guessing I will need to split the images file, and somehow try to merge each of the 41 2000-row split files into the products file matching "image link column" to "realimage name", and then extract the "realimage" file as my images file.

I seem to be accruing some of the words or concepts here, but not the actual step-by-step ability to do this, so I will be continuing to explore the spreadsheet commands to try to accomplish this.

Notageek

15 Nov 2009, 7:45 PM
#14
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #14 by schoolboy

WGET is used to SCRAPE a remote server for the actual images.

if you already have the images on your server, then what exactly are you looking for.

Just FTP the images to your server.

(Do you have all 60,000 images on your hard drive? - wow - that's a lot of disk space!)

20 years a Zencart User

15 Nov 2009, 7:47 PM
#15
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #15 by schoolboy

I'm concerned that you are not grasping the fact that the info you have on a spreadsheet is just a LABEL... It is not the actual image FILE.

20 years a Zencart User

15 Nov 2009, 7:54 PM
#16
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #16 by schoolboy

The spreadsheet has an item number 123456 that most often but not always matches to an "image link column" 123456. I will have to ultimately add the suffix .gif to that column, so that it will pull the 123456.gif from the images file I will upload to Zen Cart.

You have a spreadsheet with the product codes you want (2,000 out of a total possible 60,000)

So just do this, assuming that the Product Codes are in Column A

COLUMN A

12345
23456
34567
45678
56789
...etc

What you are after is this:

PCode |Image Names
12345 | 12345.gif
23456 | 23456.gif
34567 | 34567.gif
45678 | 45678.gif
56789 | 56789.gif

In column B cell 1, put .jpg (or .gif if your images are gifs.
Use Excel COPY feature to put .jpg alongside all PCode numbers, all the way down column B.

In the new Column C header cell (cell 1), enter:

=CONCATENATE(A1,B1)

Use same Excel COPY feature to copy and paste formula all the way down the column, to the end-most PCode.

So, Column C will now have your product code, with the essential file extension, achieved by the CONCATENATE command.

Now, HIGHLIGHT Column C and <ctrl + c> (copy) it.

Put the cursor into cell D1.

Right Click

PASTE SPECIAL - (choose VALUES)

You now have all your product codes with .jpg (.gif) extensions

20 years a Zencart User

15 Nov 2009, 8:35 PM
#17
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Post #17 by notageek

Schoolboy, thanks so much for the quick reply.

Actually, I do understand that what is in my spreadsheet at the moment is just the name of the file.

I am sorry not to be more clear.

I feel it would be overloading my host's server to download the complete image file, which took me more than 12 hours to partially download and filled up my disk.

Consequently, I need to extract the 2,000 pertinent images. In order to correlate them with what is in the spreadsheet, I believe I need to put the actual images file in the spreadsheet, then cull out the records I want, and then separate out those images from the spreadsheet to place in an images file to upload to my host server.

I believe you have given me some new concepts to consider, but just renaming the files with the .gif suffix is not the actual problem; the problem is getting only the pertinent image files in the upload images file.

15 Nov 2009, 8:41 PM
#18
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #18 by schoolboy

Once you have the column of image names you want, you can use CONCATENATE again (following exactly the technique I describe) to append http://www.xxxxxxxx.com/images/ to the list of image names that you have filtered earlier.

So you get:

http://www.xxxxxxxx.com/images/12345.gif
http://www.xxxxxxxx.com/images/23456.gif
http://www.xxxxxxxx.com/images/34567.gif
http://www.xxxxxxxx.com/images/45678.gif
http://www.xxxxxxxx.com/images/56789.gif

Then you save this as a TXT file and run WGET to fetch (scrape) those image off the remote server.

20 years a Zencart User

16 Nov 2009, 9:37 AM
#19
beadan avatar

beadan

New Zenner

Join Date:
Sep 2009
Posts:
5
Plugin Contributions:
0

Post #19 by beadan

Ok... any luck on my question at all? Seeing as this has gone WAY off topic.
I didn't want to spam someone else's topic thus I created my own, as it was a quite unique question as far as I could find. But other people don't have the same curtsy it seems...

16 Nov 2009, 4:34 PM
#20
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #20 by schoolboy

Beadan:

But the problem comes in with the upload. It takes me a long time entering the info into the spreadsheet for Easy Populate. And I need to go and change the full discription for each product (just once at least) to html.

OK, back to the original request.

Sadly, there are no automatic substitutes for formatting plain text into html for the product descriptions' texts - well, certainly not in the zencart system or the many add-ons that are available.

20 years a Zencart User