Re: Export Shipping & Order Information
Let me start by saying that this mod is a lifesaver! Have it working in 2 sites, and really couldn't have kept the clients happy without it.
But (isn't there always a "but"), I have a couple problems:
1. The only comments that are downloaded are the messages from Authorize.net, like "Credit Card payment. AUTH: xxxxxx. TransID: xxxxxxxxxx", but never the original comment input by the customer during checkout. Both comments are in the orders_status_history table, but only the 2nd gets exported. Anything I can do to get both, ideally in separate Excel cells?
2. This is a little more weird - the first site only used one "Order Total" function (or module, or whatever it's called), so didn't discover this problem until I uploaded the second site. This 2nd site used 2 "order Total" whatevers - sub-total and total, and when I exported the orders, I got duplicates of each. That is, if I had 10 orders, the mod exported 20 lines, even though there were only 10 records in the orders table. When I deleted the "sub-total" records in the orders_total table, problem solved. Neither site needs anything more than just the total, so no sweat for now, but what about the next client who may need sub-total and tax?
BTW, 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
- changed delivery_xxx to billing_xxx to see customers' billing info instead of shipping stuff
I was very careful while makng these changes, then compared files (WinMerge) to make sure nothing else was accidently changed.
Site details: Zen Cart version 1.3.7.1, mod version 1.2.2, PHP 5 and MySQL 5. Also, we always export "1 product per row".
Any idea what I can do to fix these problems? Let me know if you would like access to either of the sites' admin areas.
Thanks!
RAB
Why is it I'm always surprised when something actually works?
Bookmarks