Forums / Managing Customers and Orders / Export orders to Spreadsheet / Excel to email to suppliers

Export orders to Spreadsheet / Excel to email to suppliers

Views: 81,058

Results 201 to 220 of 223
22 May 2010, 12:18 PM
#201
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Export orders to Spreadsheet / Excel to email to suppliers

dhcernese:

fyi -- the last history comment can have newlines in it and the attributes can have ^M^J in them, neither are cleaned.Back on 16-Nov-2007 I posted the fix for the comment field: replace "\r\n" with array("\r\n","\r","\n")

22 May 2010, 12:32 PM
#202
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

dhcernese:

Back on 16-Nov-2007 I posted the fix for the comment field: replace "\r\n" with array("\r\n","\r","\n")Also, you can't use "nl2br()" later for cleaning product attribute values.. ..it does not remove newlines unlike the function name implies.

22 May 2010, 12:43 PM
#203
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

Another bug: your code marks *all *orders downloaded even if they were not included in the date range and not downloaded. :(

22 May 2010, 12:47 PM
#204
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

For your reference, see my copy with all my edits (except for fixing the fact that it sets all orders downloaded).

26 May 2010, 3:34 PM
#205
fe1lho avatar

fe1lho

New Zenner

Join Date:
Apr 2010
Posts:
74
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

Hi,

Just a question, this shipping export zip file contain only one PHP file. Should we install before the shipping export module first ?

Pascal.

26 May 2010, 11:00 PM
#206
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

fe1lho:

Hi,

Just a question, this shipping export zip file contain only one PHP file. Should we install before the shipping export module first ?

Pascal.My changes were meant for the author primarily-- however you are free to use them, after installing the base module, just replace the one file.

27 May 2010, 1:47 PM
#207
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Export orders to Spreadsheet / Excel to email to suppliers

dhcernese:

My changes were meant for the author primarily-- however you are free to use them, after installing the base module, just replace the one file.

Been out of the office here and just getting back in. Wow. Thanks for spear heading this. I'm reading through your previous posts here and going to dload your file. Will add credit in the readme etc... for you!

Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information

10 Jun 2010, 3:11 PM
#208
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

sorry to dig up the past, just downloaded and order exporter from downloads section, i thought this would include price paid for the items???

i may not know how yet, but i soon will....i hope :)

10 Jun 2010, 3:25 PM
#209
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

spid3r1987:

sorry to dig up the past, just downloaded and order exporter from downloads section, i thought this would include price paid for the items???
what code would i need to add to "admin>ordersExport.php" for this to show the EXC tax price???

i may not know how yet, but i soon will....i hope :)

11 Jun 2010, 7:27 AM
#210
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

spid3r1987:

what code would i need to add to "admin>ordersExport.php" for this to show the EXC tax price???

ignore comment above, found the table and what info i need to put in :D
brings up the info i need now :D

i may not know how yet, but i soon will....i hope :)

22 Jun 2010, 7:46 AM
#211
ideashop avatar

ideashop

New Zenner

Join Date:
Sep 2007
Posts:
24
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

econcepts:

Ok, here is the direct link to the page you can download this new 1.3.0 version from if you don't want to wait for it to be activated in the Zen Cart downloads section (it has been submitted ... just waiting for the Zen Cart team to activate it.)

http://www.zencartoptimization.com/downloads/

Thanks for keeping this up-to-date. I'm looking forward to messing with it.

Naive question: is this essentially a much more robust version of Orders Exporter?

THANKS AGAIN!

23 Jun 2010, 11:47 AM
#212
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Export orders to Spreadsheet / Excel to email to suppliers

IdeaShop:

Thanks for keeping this up-to-date. I'm looking forward to messing with it.

Naive question: is this essentially a much more robust version of Orders Exporter?

THANKS AGAIN!

There is actually a 1.3.1 version now out (at the same link posted previously) which addresses a few bugs the 1.3.0 version had. Will post that officially to the Zen Downloads section after I see how it fairs with those using it.

I don't know how the Orders Exporter works to be honest (never used it) so I don't know if it is a more robust version. I saw that the orders exporter is based off of Easy Populate so that may be a little different (mine was basically written years ago from scratch for the most part.)

Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information

13 Jul 2010, 4:00 PM
#213
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

Once this mod is up and running, could the csv file be automatically generated using a cron job?

Thanks!

Danielle

2 Jul 2011, 2:30 AM
#214
evaudio avatar

evaudio

New Zenner

Join Date:
Mar 2011
Posts:
7
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

what are the chances there is an update for the 1.3.9h version??? I could really use a mod like this.

Thanks

4 Jul 2011, 1:47 PM
#215
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Export orders to Spreadsheet / Excel to email to suppliers

Danielle:

Once this mod is up and running, could the csv file be automatically generated using a cron job?

Thanks!

With a number of adjustments (and a new file ready for cron) yes. I have built this custom type of job for a number of users. If interested, send me a private message and we can go over details etc...

I've customized it for number of people where it not only runs the cron job, but emails (or even FTP's) the completed file to the supplier for fulfillment.

Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information

4 Jul 2011, 1:48 PM
#216
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Export orders to Spreadsheet / Excel to email to suppliers

evaudio:

what are the chances there is an update for the 1.3.9h version??? I could really use a mod like this.

Thanks

This should work on all version of Zen cart just fine. I'm running it on a few 1.3.9h installs with no issues.

Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information

7 Jan 2012, 11:36 PM
#217
slingblade01 avatar

slingblade01

New Zenner

Join Date:
Dec 2011
Location:
Atlanta, GA
Posts:
32
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

How hard would it be to split my attributes into separate columns? I am using flexible attributes and I am running up to 13 attributes for some products.

30 Jan 2012, 5:25 PM
#218
bwood5 avatar

bwood5

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

This looks like a great tool and I will use it to import to my sage peachtree accounting package.

I have installed it and did my 1st 'test mode' export and had the check box for ISO Country Code (2 Character) checked and received this error.

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cc.countries_name = o.delivery_country WHERE o.orders_id = ot.orders_id AND' at line 1
in:
[SELECT o.orders_id, customers_email_address, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, shipping_method, customers_telephone, order_total, op.products_model, products_name, op.products_price, final_price, op.products_quantity, date_purchased, ot.value, orders_products_id, order_tax, o.orders_status, o.payment_method, cc.countries_iso_code_2 FROM (zen_orders o LEFT JOIN zen_orders_products op ON o.orders_id = op.orders_id), zen_orders_total ot, zen_countries cc AND cc.countries_name = o.delivery_country WHERE o.orders_id = ot.orders_id AND ot.class = 'ot_shipping' AND downloaded_ship='no' ORDER BY orders_id ASC]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Unchecking the ISO Country Code (2 Character) option
runs fine.

BowEquipped.com
ver 1.3.9.f

Any ideas what i did wrong?

25 Feb 2012, 3:56 PM
#219
webstar avatar

webstar

New Zenner

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

Re: Export orders to Spreadsheet / Excel to email to suppliers

econcepts:

I could pretty easily add order information as well. What part of the order information are you looking for?

Is there a way to export the State names in Abbreviations instead of the full name?

7 May 2012, 11:55 PM
#220
dougrun avatar

dougrun

New Zenner

Join Date:
May 2012
Posts:
5
Plugin Contributions:
0

Re: Export orders to Spreadsheet / Excel to email to suppliers

Just installed the latest version in 1.5 store but I get nothing in my tools menu. Tried in different browsers too. I do have the "orders export" add-on installed, could that mess things up? All files uploaded and confirmed and ran the sql with no problem, any ideas?