The first issue has not been resolved yet. I would have to look at the ability to display the payment method when none is selected.
Printable View
Hi -
Great add-in and worked well for a while, but then suddenly stopped working. We have ZC 1.3.9f.
I applied a fix Eric posted earlier in this thread to change a few lines of code around line 95 of shipping_export.php and that fixed one error, but now I've got a new one. (Post 286 - http://www.zen-cart.com/showthread.p...rmation/page29)
It only happens when the option "1 Product per Row" is selected. Unfortunately this is the one we need for our fulfillment partners to process.
Here is the 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 '' at line 4
in:
[SELECT Count(*) as num_rows FROM orders_products_attributes WHERE orders_id = 12050622 AND orders_products_id = ]
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.
Can anyone help?
We're having the same problem. Is there a fix for this?
We have version 1.3.2 with ZC 1.3.9h
This works fine, EXCEPT when we try to export 1 product per row. Then we get an SQL 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 '' at line 4 in:
[SELECT Count(*) as num_rows FROM orders_products_attributes WHERE orders_id = 19012 AND orders_products_id = ]
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.
Is there a fix for this?
Hi All,
I was able to get the menu item to show by following the advice on this forum post Addons / modules not visable in admin
To do so create a php file under <YOUR_ADMIN>/includes/functions/extra_functions/init_shipping_export.php and include the following code:
I had to clean out some initial attempts from my admin_pages database table, and then voila! it worked!Code:<?php
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
if (function_exists('zen_register_admin_page')) {
if (!zen_page_key_exists('shipping_export')) {
zen_register_admin_page('shipping_export', 'BOX_TOOLS_SHIPPING_EXPORT',
'FILENAME_SHIPPING_EXPORT','' , 'tools', 'Y', 20);
}
}
?>
Hope this proves helpful to others!
Regards,
Jason
:cool:
Hi,
Thanks for this great mod! We are looking for a way to include the customer's Billing Address information in the export file. Could you point us to information on how to do this, or ?
thanks!
It looks like the "Orders Products ID" is blank in this case (meaning there is something missing in the db relating to the order.)
Find out what that might be be looking at this order compared to another (at the database level might be easiest) and then report back here so I can help you get around it.
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.