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 281 to 300 of 538
20 Oct 2010, 5:10 PM
#281
dml73 avatar

dml73

Zen Follower

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

Export Shipping & Order Information

DML73:

If I check the checkbox "Save file to server and automatically email to supplier", where is the file saved on my server?? in what folder? :blink:

Ok, I just found this info in the shipping_export.php file, so I can answer my own question: by default they are saved to images/uploads/

22 Oct 2010, 11:56 AM
#283
trickobrien avatar

trickobrien

Zen Follower

Join Date:
Jul 2010
Posts:
108
Plugin Contributions:
0

Re: Export Shipping & Order Information

Hi
I would like to add a function to the export shipping orders-the discount code used for orders,the discount itself is already there but what would be involved in adding the actual discount code that the customer used also?

24 Oct 2010, 10:04 PM
#284
econcepts avatar

econcepts

Totally Zenned

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

Re: Export Shipping & Order Information

To add that you would need to alter the SQL queries. You'll need to add the coupon table to the mix and then link that up on something like the 'coupon_redeem_tracking' table which would then be linked to the order table.

The order table is the only one in the mix now (the discount total is simply pulled from there as a number.)

So you would need to go through the code and add the proper sql language to tie those two new tables in with the current (tie the coupon table to the coupon_redeem_tracking table by coupon id and then tie the 'redeem' table to the orders on order id.

It could likely take some time to implement but that is generally how it would be done.

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

8 Nov 2010, 5:14 PM
#285
tonsai avatar

tonsai

New Zenner

Join Date:
Apr 2008
Posts:
15
Plugin Contributions:
0

Re: Export Shipping & Order Information

Just installed the module and getting this error message when I try to run the export:

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, cc.countries_iso_code_3 FROM (orders o LEFT JOIN orders_products op ON o.orders_id = op.orders_id), orders_total ot, countries cc AND cc.countries_name = o.delivery_country WHERE o.orders_id = ot.orders_id AND ot.class = 'ot_shipping' AND o.orders_status = '1' 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.

Any ideas why

9 Nov 2010, 1:58 PM
#286
econcepts avatar

econcepts

Totally Zenned

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

Re: Export Shipping & Order Information

Yes, this is occurring b/c there are two lines that need to be switched in the shipping_export.php file (in the admin).

This is corrected in the next release (soon to be out.)

In the meantime, here is how you fix it:

  1. Open the file admin/shipping_export.php

  2. Find the section that looks like this (around line 95 / 96 or so):

	if ($_POST['iso_country2_code'] == 1 || $_POST['iso_country3_code'] == 1) { $order_info = $order_info . " AND cc.countries_name = o.delivery_country "; };

	$order_info = $order_info . " WHERE o.orders_id = ot.orders_id ";
  1. REPLACE those lines with this:
	$order_info = $order_info . " WHERE o.orders_id = ot.orders_id ";
	if ($_POST['iso_country2_code'] == 1 || $_POST['iso_country3_code'] == 1) { $order_info = $order_info . " AND cc.countries_name = o.delivery_country "; };

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

10 Nov 2010, 8:55 PM
#287
jamie avatar

jamie

New Zenner

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

Re: Export Shipping & Order Information

The module is installed and all looks correct, however when I export the file, it's completely blank except for the header row.
Can anyone direct me on how to fix this?
Thanks in advance

11 Nov 2010, 3:23 PM
#288
econcepts avatar

econcepts

Totally Zenned

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

Re: Export Shipping & Order Information

jamie:

The module is installed and all looks correct, however when I export the file, it's completely blank except for the header row.
Can anyone direct me on how to fix this?
Thanks in advance

What version are you using?

What happens if you run it in "test mode" and select "previously downloaded orders"?

There was an issue in older versions that caused what you are saying, but that has been corrected in the most recent version.

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

11 Nov 2010, 11:11 PM
#289
jamie avatar

jamie

New Zenner

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

Re: Export Shipping & Order Information

Thanks! Just downloaded the newest version and it works perfectly!
Thank you.

25 Nov 2010, 9:00 AM
#290
tonsai avatar

tonsai

New Zenner

Join Date:
Apr 2008
Posts:
15
Plugin Contributions:
0

Re: Export Shipping & Order Information

Anybody got any ideas on how I can automate the export of these files. Somehow at the end of each 'order completion'.

27 Dec 2010, 4:15 PM
#292
susb8383 avatar

susb8383

Zen Follower

Join Date:
Feb 2008
Posts:
129
Plugin Contributions:
0

Re: Export Shipping & Order Information

Hi Eric,

Is 1.3.3 available yet? I don't see it on the download page.

Thanks.

27 Dec 2010, 4:20 PM
#293
susb8383 avatar

susb8383

Zen Follower

Join Date:
Feb 2008
Posts:
129
Plugin Contributions:
0

Re: Export Shipping & Order Information

Hi Eric,

One other question. Thanks for your post a few months ago that contained examples for changing the php code so that it remembers default settings.

I think you may have a mistake. You put:

<input type="radio" name="status_target" value="1">Any Order Status<br /> 

But judging by the code you already have in there, I think you meant

<input type="radio" name="status_target" value="1" checked>

Also I wonder if you could give us an example for a radio button being drawn by zen_draw, such as

<?php echo zen_draw_radio_field('filelayout', '1')?> <?php echo TEXT_FILE_LAYOUT_OPR_FIELD; ?>

Thanks.

28 Dec 2010, 3:21 PM
#294
econcepts avatar

econcepts

Totally Zenned

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

Re: Export Shipping & Order Information

susb8383:

Hi Eric,

Is 1.3.3 available yet? I don't see it on the download page.

Thanks.

Not yet. It looks to be mainly a bug fix at the moment and the goal is to get it out here within the next several weeks at the latest.

I was looking to see what added functionality might be worth including as well, but again, looks to be mainly a bug fix at the moment.

Will post here when it is ready.

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

28 Dec 2010, 3:29 PM
#295
econcepts avatar

econcepts

Totally Zenned

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

Re: Export Shipping & Order Information

susb8383:

One other question. Thanks for your post a few months ago that contained examples for changing the php code so that it remembers default settings.

I think you may have a mistake. You put:

<input type="radio" name="status_target" value="1">Any Order Status<br />

> 
> But judging by the code you already have in there, I think you meant
> ```
<input type="radio" name="status_target" value="1" checked>

Yes, you are correct here. IF the field is defined as you listed then to make it checked, you must add the 'checked' indicator to the tag. Thanks for that. Read on below to see how to do it when zen is drawing the checkbox or radio button.

susb8383:

Also I wonder if you could give us an example for a radio button being drawn by zen_draw, such as

<?php echo zen_draw_radio_field('filelayout', '1')?> <?php echo TEXT_FILE_LAYOUT_OPR_FIELD; ?>

To default check a radio button that zen draws do this:

<?php echo zen_draw_radio_field('filelayout', '1' , $filelayout=true)?> <?php echo TEXT_FILE_LAYOUT_OPR_FIELD; ?>

To do the same thing with a checkbox drawn by zen do this:

<?php echo zen_draw_checkbox_field('shipmethod', '1', $shipping_method_checked=true);?> <?php echo TEXT_SHIPPING_METHOD_FIELD; ?><br />

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

28 Dec 2010, 11:43 PM
#296
susb8383 avatar

susb8383

Zen Follower

Join Date:
Feb 2008
Posts:
129
Plugin Contributions:
0

Re: Export Shipping & Order Information

econcepts:

To default check a radio button that zen draws do this:

<?php echo zen_draw_radio_field('filelayout', '1' , $filelayout=true)?> <?php echo TEXT_FILE_LAYOUT_OPR_FIELD; ?>

That worked great, thanks.
25 Mar 2011, 10:24 PM
#297
bigsy85 avatar

bigsy85

New Zenner

Join Date:
Aug 2008
Posts:
50
Plugin Contributions:
0

Re: Export Shipping & Order Information

For some reason when I export, only 20 orders are exported, no matter if ran per order/per product and including already downloaded orders.

The latest version crashes when Product Details is selected. The new version has bug fix for states which drop orders, but trying to fix this bug in the older version and download the browsers in a state of constant loading.

Any ideas?

Thanks guys

26 Mar 2011, 1:43 PM
#298
econcepts avatar

econcepts

Totally Zenned

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

Re: Export Shipping & Order Information

So what version are you using now?

Does anything show up in your error log? (admin cache)

What's the url to the site?

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

29 Apr 2011, 8:14 PM
#299
dpalmer4217 avatar

dpalmer4217

New Zenner

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

Re: Export Shipping & Order Information

Hi,

We are running our report and beyond the testing data (live customer info), the reports are NOT including name (first or last) and address.

Any ideas why it would have been doing it, now it is not?

v1.3.9h

Thanks

30 Apr 2011, 6:18 PM
#300
solidrock avatar

solidrock

New Zenner

Join Date:
Nov 2009
Location:
Aurora, IN
Posts:
37
Plugin Contributions:
0

Re: Export Shipping & Order Information

I am using this on 1.3.8a installation, and it works great. I was wondering if you could implement, or tell me how to be able to export only a certain group of orders, based on group pricing. I am no programmer, and maybe there is a simple way to do this. It would be a huge help. Thank you.