Forums / All Other Contributions/Addons / Export Shipping & Order Information

Export Shipping & Order Information

Started by dhcernese on 14 Sep 2007, 5:56 PM · Views: 109,899

Results 361 to 380 of 538
12 Sep 2012, 10:47 AM
#361
loosefast avatar

loosefast

Zen Follower

Join Date:
Jun 2005
Posts:
199
Plugin Contributions:
0

Export Shipping & Order Information

Hi,

Please see private message.

thanks!

7 Nov 2012, 2:52 AM
#362
pepsi avatar

pepsi

New Zenner

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

Re: Export Shipping & Order Information

Anybody knows how to add the Currency of all order placed. I read through the whole thread and found no one ever mentioned it. Is it not important enough if you run a store with muti-currencies? This is the only thing lacked for import to our ERP system. Anybody can do help would be much appreciated!

11 Nov 2012, 1:52 PM
#363
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,134
Plugin Contributions:
56

Re: Export Shipping & Order Information

When I install this plugin (v1.3.2.1) on Zen Cart v1.5.1 (using the for_v1.5.0 directory's files from the plugin) and the currently signed-in admin is not a superuser (but has been given authority to use this tool), they are receiving the message "Sorry, your security clearance does not allow you to access..". To correct this problem, you'll need to edit the file /admin/includes/extra_datafiles/shipping_export.php as described below to remove the .php from the filename definition:

<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers                           |
// |                                                                      |
// | http://www.zen-cart.com/index.php                                    |
// |                                                                      |
// | Portions Copyright (c) 2003 osCommerce                               |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.zen-cart.com/license/2_0.txt.                             |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to       |
// | [email protected] so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
//  $Id: shipping_export.php  2007-06-01  econcepts $
//
//define('FILENAME_SHIPPING_EXPORT', 'shipping_export.php');
define('FILENAME_SHIPPING_EXPORT', 'shipping_export');
define('BOX_TOOLS_SHIPPING_EXPORT', 'Export Shipping/Order Information');

?>

If you've installed the plugin on v1.5.0 or v1.5.1, you'll need to edit the file /YOUR_ADMIN/includes/extra_datafiles/shipping_export.php

17 Dec 2012, 10:21 AM
#364
barendfaber avatar

barendfaber

Zen Follower

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

Re: Export Shipping & Order Information

econcepts:

You would need to open up the "shipping_export.php" file (in the admin directory) and then my recommendation would be to copy the lines for the "shipping information" and alter to include the billing info for the customer. You will need to alter this in multiple areas of the script and may also need to alter some SQL queries for it to work.

If you need help adding this let me know (just send me a private message). I've customized this for many others.

We are in need of the customer's billing address in export as well, could you help please? Did send a private message but never heard back from you.

6 Jan 2013, 2:36 PM
#365
yoyospike avatar

yoyospike

New Zenner

Join Date:
Jan 2013
Posts:
15
Plugin Contributions:
0

Re: Export Shipping & Order Information

I've have tried to install this module, all files are installed, ren sql. it tells me 1 item processed,however cant find the export under tools. what im doing wrong?

6 Jan 2013, 7:48 PM
#366
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,134
Plugin Contributions:
56

Re: Export Shipping & Order Information

yoyospike:

I've have tried to install this module, all files are installed, ren sql. it tells me 1 item processed,however cant find the export under tools. what im doing wrong?
See post#363.

9 Jan 2013, 2:23 AM
#367
yoyospike avatar

yoyospike

New Zenner

Join Date:
Jan 2013
Posts:
15
Plugin Contributions:
0

Re: Export Shipping & Order Information

i have edited the file below and still no option under tools. using v1.51. any advise?

<?php // // +----------------------------------------------------------------------+ // |zen-cart Open Source E-commerce | // +----------------------------------------------------------------------+ // | Copyright (c) 2003 The zen-cart developers | // | | // | <http://www.zen-cart.com/index.php> | // | | // | Portions Copyright (c) 2003 osCommerce | // +----------------------------------------------------------------------+ // | This source file is subject to version 2.0 of the GPL license, | // | that is bundled with this package in the file LICENSE, and is | // | available through the world-wide-web at the following url: | // | <http://www.zen-cart.com/license/2_0.txt>. | // | If you did not receive a copy of the zen-cart license and are unable | // | to obtain it through the world-wide-web, please send a note to | // | [email protected] so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // $Id: shipping_export.php 2007-06-01 econcepts $ define('FILENAME_SHIPPING_EXPORT', 'shipping_export.php'); define('BOX_TOOLS_SHIPPING_EXPORT', 'Export Shipping/Order Information'); ?>
29 Jan 2013, 5:36 PM
#368
farrel avatar

farrel

New Zenner

Join Date:
Nov 2012
Posts:
28
Plugin Contributions:
0

Re: Export Shipping & Order Information

Hi, great mod!

I am in the process of customizing so that default values are selected. However, my php ability is exceeded when it comes to the drop down tables for ORDER STATUS.

Can anyone help me modify the code below so that I can define which order status to use as default rather than the drop down menu.

Thanks in advance

<hr />
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td><strong>Update Order Status on Export</strong><br/>(If this is set then the order status will update to what you select here after a successful export.)</td>
</tr>
<tr>
<td>
<?php echo zen_draw_checkbox_field('status_setting', '1', order_status_setting_checked);?>Set Order Status After Export to 
<!--</td> </tr> <tr> <td>--><?php echo zen_draw_pull_down_menu('order_status_setting', $status_array, $_POST['order_status_setting'], 'id="order_status_setting"'); ?></td>

      </tr>
    </table>
<hr /> <table border="0" cellspacing="0" cellpadding="2"> <tr> <td><strong>Order Status Export Options</strong></td> </tr> <tr> <td>
          <input type="radio" name="status_target" value="2" checked="yes">Assigned Order Status (select below)
        </td>
      </tr>
      <tr>
        <td><?php echo zen_draw_pull_down_menu('order_status', $status_array, $_POST['order_status'], 'id="order_status"'); ?></td>
      </tr>
    </table>
7 Feb 2013, 11:20 PM
#369
lauriesscraps avatar

lauriesscraps

Zen Follower

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

Re: Export Shipping & Order Information

I have tried to look and see if this issue has already been addressed but have not seen it so I will post a question. I have installed this and it has been working fine. But now I have 100 orders and when I run my report, and include all orders even if they have already been downloaded, it only shows 98 orders. Do you know why it would not include my two latest orders in the report? I need help ASAP.

elsiesfinds.com

21 Mar 2013, 8:40 PM
#370
woemlavy avatar

woemlavy

New Zenner

Join Date:
Aug 2010
Posts:
5
Plugin Contributions:
0

Re: Export Shipping & Order Information

I am running Zen 1.5.1 with the Edit Orders and Add Orders plugin so I can add wholesale orders as they come in. Orders are successfully being added from the Admin UI.

I am also running the "Export Shipping+Order Information" plugin to use for sending shipping files to a fulfillment warehouse. When I go into this tool I can see all of the orders I have added from the Admin and that have been added from the customer side.

When I try and export the orders to a CSV I am not getting the orders that I manually added from the Admin. I do get the customer side orders though.

Any thoughts?

22 Mar 2013, 1:00 PM
#371
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: Export Shipping & Order Information

I believe "Export Shipping+Order Information" will not export an order unless the order has an order_total line for ot_shipping. Make sure you are adding shipping information to the order or modify "Export Shipping+Order Information" to include orders without an order_total line for ot_shipping.

This requirement for orders has been previously mentioned in this support thread.... See #7.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

23 Mar 2013, 2:17 PM
#372
econcepts avatar

econcepts

Totally Zenned

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

Re: Export Shipping & Order Information

lhungil:

I believe "Export Shipping+Order Information" will not export an order unless the order has an order_total line for ot_shipping. Make sure you are adding shipping information to the order or modify "Export Shipping+Order Information" to include orders without an order_total line for ot_shipping.

This requirement for orders has been previously mentioned in this support thread.... See #7.

This is correct. When I started the module originally it was keying off of the shipping information (so if shipping information was not present the order would not show in the export.) I'm sure it can be altered to work around that if needed. I've been working on updating a number of my modules here recently but haven't looked into this one yet.

Are you entering a shipping total when editing / adding the order?

Eric

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

12 Apr 2013, 12:50 AM
#373
chilipepperweb avatar

chilipepperweb

New Zenner

Join Date:
Sep 2009
Location:
Houston, TX
Posts:
9
Plugin Contributions:
0

Re: Export Shipping & Order Information

I'm interested in adding the Product Category to the product details being exported. I've tried searching first to see if anyone else has done this already, but found nothing thus far. How much trouble would it be to do this?

14 Jun 2013, 9:53 PM
#374
ccn1 avatar

ccn1

Zen Follower

Join Date:
Sep 2004
Location:
London. UK.
Posts:
152
Plugin Contributions:
0

Re: Export Shipping & Order Information

Hi there, brill module and well done, this is great for exporting the data.

Can I ask how and where I could change the order the CSV fields are exported ?

I have recently changed couriers and would like to streamline the upload to there site and would like to change the export of fields in order as follows;

A Address line 1 (mandatory)
B Address line 2
C Address line 3
D Address line 4
E Postcode (mandatory)
F First name
G Surname (mandatory)
H [Blank]
I [Blank]
J Phone
K Email
L Weight (in kg)
M [Blank]
N [Blank]
O Reference/Order No
P [Blank]
Q [Blank]

Thank you in advance :)

Chris

Regards,

Chris (CCN1)

17 Sep 2013, 1:47 AM
#375
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Re: Export Shipping & Order Information

Thanks for a great mod!

I did change the admin->shipping_export.php file in 2 ways:

  • deleted the lines "AND ot.class = 'ot_shipping'" so I could export all orders

I also want to export all orders and tried deleting those lines/parts above and can't get it right. How exactly should the three instances be changed?

line 102 $order_info = $order_info . "AND ot.class = 'ot_shipping'";
line 134 AND ot.class = 'ot_shipping' ";
line 162 AND ot.class = 'ot_shipping'";

And what's the simplest way to block fields from appearing in the spreadsheet, like "delivery_suburb."?

4 Oct 2013, 12:29 PM
#376
buffoon avatar

buffoon

New Zenner

Join Date:
Sep 2012
Posts:
12
Plugin Contributions:
0

Re: Export Shipping & Order Information

Did you manage to get this working in the end? I have just had this crop up for the first time after adding some virtual products and I can't get the report to show the orders with free shipping either. Deleting those three lines doesn't seem to help; it still works but the same orders are missing from the output.

It's a shame because the solution in post #7 sounds so perfect and this is a magnificent mod in all other respects!

15 Oct 2013, 3:07 AM
#377
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Re: Export Shipping & Order Information

Still not...and after I played around with a dozen variations to delete those lines/codes in question.

To be clear, I'm getting all order info except for the customer name and address.

16 Oct 2013, 1:07 PM
#378
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Re: Export Shipping & Order Information

Finally...

102= $order_info = $order_info . "AND ot.class = 'ot_shipping'";

change to

    $order_info = $order_info;   

Or block out the part after the above with //

134= delete or block, but add "; to the end of the previous line, 133. They should look like:

$order_info = $order_info . " WHERE o.orders_id = ot.orders_id ";
// AND ot.class = 'ot_shipping' ";

162= same as 134, should look like:

WHERE o.orders_id = ot.orders_id ";
// AND ot.class = 'ot_shipping'";

Then change all "delivery_" to "billing_".

16 Oct 2013, 1:33 PM
#379
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Re: Export Shipping & Order Information

What I'd like to do now is have each product attribute in its own spreadsheet column instead of all of them into one (many of my items have 2+ attributes). Is that possible?

23 Oct 2013, 2:21 PM
#380
econcepts avatar

econcepts

Totally Zenned

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

Re: Export Shipping & Order Information

giftmeister:

What I'd like to do now is have each product attribute in its own spreadsheet column instead of all of them into one (many of my items have 2+ attributes). Is that possible?

This is possible with the default module (no special programming updates needed.) You'll find a sample of this in action in the 'sample_exports' directory (third file in list.)

Let me know if this helps or if you need more information.

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