Zen Cart Logo
Forums / General Questions / Export products as CSV file?

Export products as CSV file?

Locked

Views: 22,126

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
4 Nov 2007, 5:45 AM
#1
gabenn2 avatar

gabenn2

Zen Follower

Join Date:
Feb 2007
Posts:
109
Plugin Contributions:
0

Export products as CSV file?

Is there a way to export products as a CSV file with zen cart. I checked into easy populate but from what I can tell that only allows import. I have a client that wants to switch from Zen Cart to X-cart. I would like to be able to easliy switch over her products to X-cart. Does anyone know how to do this? Thanks in Advance.

4 Nov 2007, 5:55 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Export products as CSV file?

phpmyadmin export as a csv file

Zen-Venom Get Bitten

4 Nov 2007, 8:50 PM
#3
poolprorich avatar

poolprorich

Zen Follower

Join Date:
Aug 2007
Location:
Tampa FL.
Posts:
143
Plugin Contributions:
0

Re: Export products as CSV file?

Try this,

SELECT * 
INTO OUTFILE 'YOUR FOLDER/result.csv'
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n'
FROM products, products_discription 

if its not on a local server u will have to retrive file from where you saved it.

Always Backup Your Database First

5 Nov 2007, 12:00 AM
#4
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Export products as CSV file?

gabenn2:

Is there a way to export products as a CSV file with zen cart. I checked into easy populate but from what I can tell that only allows import. I have a client that wants to switch from Zen Cart to X-cart. I would like to be able to easliy switch over her products to X-cart. Does anyone know how to do this? Thanks in Advance.

Easy Populate will allow you to EXPORT - but what a strange place to be asking if anyone knows who to switch TO X-Cart :laugh:

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

5 Nov 2007, 12:09 AM
#5
poolprorich avatar

poolprorich

Zen Follower

Join Date:
Aug 2007
Location:
Tampa FL.
Posts:
143
Plugin Contributions:
0

Re: Export products as CSV file?

Ryk:

Easy Populate will allow you to EXPORT - but what a strange place to be asking if anyone knows who to switch TO X-Cart :laugh:

i was going to say that but thought i would be nice! :D

5 Nov 2007, 1:54 AM
#6
gabenn2 avatar

gabenn2

Zen Follower

Join Date:
Feb 2007
Posts:
109
Plugin Contributions:
0

Re: Export products as CSV file?

It isn't for me, trust me I love my zen. I tried asking on the X-cart forums but they all acted like they didn't know what zen cart was :laugh:.

And duh :frusty:, why didn't I think of doing the database export, Sorry guys and thanks!

15 Nov 2007, 1:03 PM
#7
webguygary avatar

webguygary

New Zenner

Join Date:
Oct 2007
Posts:
17
Plugin Contributions:
0

Re: Export products as CSV file?

I'm actually in the opposite end of this problem - have a new client on x-cart and they are miserable. Are there any thread links about how I'd go about converting an x-cart database to zen cart? I'm hoping it's an easy conversion, I haven't even quoted them a price yet...

16 Nov 2007, 12:50 AM
#8
poolprorich avatar

poolprorich

Zen Follower

Join Date:
Aug 2007
Location:
Tampa FL.
Posts:
143
Plugin Contributions:
0

Re: Export products as CSV file?

webguygary:

I'm actually in the opposite end of this problem - have a new client on x-cart and they are miserable. Are there any thread links about how I'd go about converting an x-cart database to zen cart? I'm hoping it's an easy conversion, I haven't even quoted them a price yet...

Hi,
I dont believe the database fields match but you could export your database to cvs and modify it for upload with zencart with easypopulate it will take some time but i think its worth it to switch to zencart

21 Nov 2009, 10:34 PM
#9
thenax avatar

thenax

New Zenner

Join Date:
Jun 2009
Posts:
67
Plugin Contributions:
0

Re: Export products as CSV file?

poolprorich:

Try this,

SELECT *
INTO OUTFILE 'YOUR FOLDER/result.csv'
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n'
FROM products, products_discription

> if its not on a local server u will have to retrive file from where you saved it.
> 
> Always Backup Your Database First

where have I to insert this code? in a new php page? or in sql section in phpmyadmin?