Blank screen = Errors
Zen Cart captures errors in error log files which are stored in the "cache" folder. Need to know what the error logs say before anyone can offer any kind of help or answer your questions..
Printable View
Nevermind - it turns out that I left a couple files in place that generated fatal redeclaration errors. I forgot to look in my error log files before posting here - I'm still rather new to this.. mea culpa.
I've been happily using Super Orders 3.0 on 1.3.9h for a month now - I installed it in order to use the batch form printing function.
I just tried to view cash reports, and now realize that it is not working at all and hasn't been for a month. Each order displays "No Order Payment Data Available" and this is for both Paypal orders and Authorize.net.
Any idea where I went wrong? Everything else seems to be working ok. I do have my PDT token installed.
Not sure if this applies to authorize net but this was posted regarding PayPal
While waiting for the next release I just make manual payments to have accurate tracking.Quote:
That said, if what you are ACTUALLY referring to is auto-generation of Super Order payment records for orders paid via PayPal (when the PayPal payment status -- not the order status -- is "Completed"), then YES this will be addressed in the next release.. In the meantime, you can simply add a manual payment, and the message will be replaced.
--Rob--
Thanks, Rob. I thought I did something wrong with the install.
This is why I always suggest searching the support threads before posting questions.. Often the answers are already here..
I searched for over an hour and read every post in this topic! I saw the thing about Paypal but not the authorize.net part. Doesn't mean I understand it all, though. I appreciate those that take the time to respond.
DivaVocals, can we have an update on how the testing is going, with the up and coming new release of Super Orders?
Hi - I have Zencart 1.3.9h, plus Purchase Orders 6 and Ty Package tracker as well as several other mods.
This is the error I'm getting after trying to put a comment in that has a ' in it.
This started occurring after SuperOrders 3.0 was installed...anyone know how to fix it or where to find the file that's causing the trouble. I tried to find it through the developer's toolkit but no luck. I also get a similar error when trying to run scripts through the "Install SQL Patch" toolQuote:
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 'test hi there blah blah blah')' at line 7
in:
[INSERT INTO zen_orders_status_history (orders_id, orders_status_id, date_added, customer_notified, comments) VALUES ('76', '2', now(), '-1', 'test ' test hi there blah blah blah')]
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.
A search in this thread for a match on your error message would have turned up these threads:
http://www.zen-cart.com/forum/showpo...&postcount=481
http://www.zen-cart.com/forum/showpo...9&postcount=26
Well, it seems that in Admin/includes/functions/extra_functions/common_orders_functions.php, starting at around line 101, I found this:
and changed the comments from:Code:function update_status($oID, $new_status, $customer_notified, $comments = '') {
global $db;
$db->Execute("INSERT INTO " . TABLE_ORDERS_STATUS_HISTORY . "
(orders_id, orders_status_id, date_added, customer_notified, comments)
VALUES ('" . (int)$oID . "',
'" . $new_status . "',
now(),
'" . $customer_notified . "',
'" . $comments . "')");
$db->Execute("UPDATE " . TABLE_ORDERS . " SET
orders_status = '" . $new_status . "'
WHERE orders_id = '" . (int)$oID . "'");
}
'" . $comments . "')");
To:
'" . $comments . "");
making that look like:
That took out the: ') but it's still showing the error with the ] as being the culprit.Code:function update_status($oID, $new_status, $customer_notified, $comments = '') {
global $db;
$db->Execute("INSERT INTO " . TABLE_ORDERS_STATUS_HISTORY . "
(orders_id, orders_status_id, date_added, customer_notified, comments)
VALUES ('" . (int)$oID . "',
'" . $new_status . "',
now(),
'" . $customer_notified . "',
'" . $comments . "");
$db->Execute("UPDATE " . TABLE_ORDERS . " SET
orders_status = '" . $new_status . "'
WHERE orders_id = '" . (int)$oID . "'");
}
I know that's got to be close, as it's taking out the other unwanted characters.................I just can't find where that stupid little bracket is coming from.
Anybody else have more any ideas?
In case anyone is wondering why I don't simply post the "fix", the answer is simple.. I made a BOATLOAD of changes to fix this and a few other things with regards to comments in Super Orders.. (key among these changes is the elimination of the common_orders_functions.php file) So the answer is that the changes I made are too numerous to post here.. (Which is why I suggested the easy workaround of not using single or double quotes in comments)
Trying to free some time to finish this and submit it, but well heck you know.. Life obligations come before free modules..:smile:
Oh, I know what you mean, Diva.......sometimes life gets in the way of life.......
It's good to know that you've on top of it, as I've got a customer who needs this on like 9 different sites.
I've been working my fanny off trying to either find or help find the 'bug', but so far, the above is all I've found...................which after further investigation...............I'm not even sure is going to end up being relevant.
Anyway Diva, If there's anything I can do to help, you know where the pm buttons' at, and you've got my email addy......................
..............looking forward to seeing your........uh-hmm......OUR......headache(s) go away...........
P.S. You never know just how hard it is to write a whole paragraph in the comments section without using even one single quote, until you HAVE to do it. It can be more challenging that one might think.............
Hmm..........too slow to edit last post, so here's a couple of additional thoughts I had............
Uh-oh! Did I ignore you at some time or another? If I did, I sure didn't mean to. Also, if I did, I bet it was last month, huh?
May was a VERY hectic month for me with a hack, sick for almost a week, and of course..................the mean old Joplin tornado was 3 blocks from our home, leaving us without utilities, forcing us to go out of town with a $700 price tag that wasn't in the plans. So all-in-all............16 days downtime in May!
I'm sure proud it's over. So far, this month is been pretty good...............other than this little 'bug' that's driving us all crazy.
Anyway..............I'll be here.
Nah.. you didn't ignore me.. Just preparing you for ME taking you up on your offer.. :laugh: My nephew and I like that line from Fatal Attraction.. He's never seen the movie (he's 11.. it'll be a while before he gets to see it..) but he's seen the clip with the line I quoted.. He was amused.. I was amused by his amusement..:laugh: So we use it on each other when we think one of us isn't paying attention to the other one..:laugh:
Didn't realize you were in tornado alley.. Sounds like you fared better than others in the region.. Thank goodness for that!!!
Oh..........Okay..........I see. Whew! I though I was in trouble. :)
But, like I say..............I'll be here. I need this fix as bad as anybody else, and I'm SURE willing to do what I can to help....................
Tornado alley?...........yea............and we (Joplin residents) all felt like pins that Sunday evening.
Yes. We were VERY lucky, and we're all very thankful that we only lost our bill-money out of the deal, as so many of our neighbors lost every thing they had............some, their lives (a moment of silence).
And I don't care HOW many pictures or videos you see of the devastation that took place......................they ABSOLUTELY DO NOT affect your mind/soul the way it does to actually BE here looking at it with your own eyes. There's just NO comparison.
PM will be coming your way before the end of the week..:cool:
Was referring in general to the midwest and southern section of the country where the tornadoes seem to be coming in fast and furious My heart goes out to those who suffered losses
I DO understand this.. Was 5 miles from the epicenter of the Northridge earthquake.. The damage was something you couldn't appreciate until you SAW it up close and personal..
...........still not running............:no:
Oh.............that really wasn't a question. Guess it don't LOOK the same as it actually SOUNDS. But, I was born in AR and lived between there an MO most of my life, so yea........I DEFINITELY know which bowling alley I'm in. :cool:
So.......ah.....hmmm.........movie quotes, hmm? Well..........."That's a rhetorical question Farley!" :P
Haha.........that's one of my favorites. Hmm.......that would be a nice sig change..........
zen 1.3.9h
New install with Super Orders
Other addons:
Image handler 3
Auction Product
all business template
Problem:
The checkout page is blank
Debug Log:
08-Jun-2011 07:25:00] PHP Parse error: syntax error, unexpected ',' in /home/content/c/r/a/crazyloonyb/html/includes/classes/order.php on line 1040
Seems like super_orders.php should be called ?
In file_name.php "// BEGIN Super Orders Filename Edits
//define('FILENAME_ORDERS', 'orders');
//define('FILENAME_ORDERS_INVOICE', 'invoice');
//define('FILENAME_ORDERS_PACKINGSLIP', 'packingslip');
define('FILENAME_ORDERS', 'super_orders');
define('FILENAME_ORDERS_INVOICE', 'super_invoice');
define('FILENAME_ORDERS_PACKINGSLIP', 'super_packingslip');
// END Super Orders Filename Edits"
any help would be appreciated
Thanks
Epawn
Sounds like you made a mistake when merging the "Required Core Edits" files with your store's files. Suggest reviewing your original "includes/classes/order.php" file against the one that comes with Super Orders. The syntax error you are getting would indicate that your file merges left out some part of the modified code which is in turn causing the syntax error..
How can I restore the edit comments functionality? My client needs to be able to edit existing comments. Thanks!
Hi, i have Zen Cart 1.3.9h new installed
Addons:
Delivery control 1.2
Belgian Taxipost shipping
Edit order 3.03
Super Order 3.0
Vatmod for European Companies 1.3.0
Problem,
I intalled Super orders, everything seems to work, but i can not make any changes in Super Orders Admin (for example switch on Edit Orders) because when i open Super orders Admin i only get the header
Any ID ??
Thanks in advance for any reply.
Hello Diva,
Firstly great work on the Super Orders contribution, I have been searching through the threads looking for an answer to my question but without luck. I have 2 mods I wish to make on the super invoice, I would like to add the word TAX before the word INVOICE to read TAX INVOICE I would also like to centre this heading. Is this possible? Thankyou in advance ps I tried to edit the admin customer super invoice file myself but had no success so I copied the original super invoice file back
Hi, All!
Looked around the threads & didn't see the problem I was having installing Super Orders v3.0 (new store - local test server), so I thought I'd post here in case anyone else had a problem with MyISAM.
My mysql would not accept the install sql patch - the error was:
ERROR 1064 (42000): 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 'TYPE=MyISAM'
I found the answer at http://bugs.mysql.com/bug.php?id=17501 - see the bottom of the thread.
TYPE= was depreciated - apparently "ENGINE" is now used, so I replaced all TYPE=MyISAM ; references with
ENGINE=MyISAM DEFAULT CHARSET=utf8; and the patch worked fine. Now to see if it will work on the live site...
Also installed Edit Orders and Ty Tracker.
Zencart v 1.3.9g
[FONT=verdana]PHP version 5.3.5
[/FONT]Apache/2.2.17 (Win32)
mysqlnd 5.0.7-dev - 091210 - $Revision: 304625 $
The customer details are shown in edit orders, but are missing in orders and superorders. The data is in the database and it only happens on some orders. Any ideas?
I pulled the old orders table over from my 1.3.8a install if that makes any difference.
New orders seem to be fine. It is legacy orders from old database that are wrong. But some old ones show up fine, some don't.
Some customers fields are blank in the admin customers page, but the data is present on the database.
Do I need to rebuild or run a script, the new 1.3.9h database has had the customer and order tables imported from the 1.3.8a install.
Could that be the source of my problems?
Don't have a clue as to why it only happens sometimes, unless you are having connection problems to the database or there is a conflict between modules/tables. Did you add the patch to make Edit Orders work with Super Orders?
Check to make sure that all the required tables were installed by S.O., and that they are named correctly - if you have a prefix set up for the table names in your database that prefix will also need to be appended onto the new so_ tables, or Zencart won't recognize them. Also recheck that all S.O. files were uploaded into your site and into the correct locations.
OK My brain is tired. Anyone know how to change customer terms?
Specifically on printing invoices with Purchase Orders.
P.O. DETAILS
P.O. Number: 2240
Invoice Date: 07/10/2011
Terms: 30 Days
Got it - Took a break and Bam
admin\includes\languages\english\super_invoice.php
I just installed the super orders add-on. I went to the customers/orders/detail buttons to edit an order like it says in the readme file
"You'll find two links placed around the Super Orders page, each handling a specific set of data. Those groupings are:
* Edit Admin Comments
* Split Order"
but the customers address, billing address, and shipping address come up but the rest of the page is blank and there are no links like it says there should be. I've rechecked the file uploads to make sure I didn't miss one and they where all uploaded. I saw someone else above was having a somewhat similar problem but mine is blank all the time. I've attached a screenshot of what shows up when trying to edit an order. Any ideas how to get the orders to show up?
Super Orders is a straight forward install.. If you super_orders.php page is not showing your order in full it would indicate that part of your install is incorrect.
It would also help if you posted your Super Orders settings.. In particular these settings:
- Edit Orders Module Switch
- FedEx Label Module Switch
- USPS Click-N-Ship Module Switch
Also, do orders display correctly when you view the default orders.php???
After you have checked the default orders.php, as DivaVocals astutely suggested, if the order looks OK there then either there is:
1) something wrong with the code in your super_orders.php file as uploaded;
2) you need to run the repair utility on your database, as something may have gone wrong (you may need to run the uninstall patch and reinstall);
3) your zencart can't find the database tables because of an incorrect prefix (I had this problem recently);
or
4) someone more experienced than I am needs to weigh in here and tell us what we are obviously missing.
I have used superorders for years and have just installed the new iteration on both test platforms on my local machine and online. The only issue I had was with the naming of the table prefixes - see my earlier post.
To the list DivaVocals gave you to check I would add (if you are using it...):
Ty Package Tracker Module Switch for Edit Orders v3.0 or Super Orders v3.0
I just installed Super Orders v.30 to by new Zen Cart Zen Cart 1.3.9h. This store is new, has never been updated and there are no other ad ons to conflict with Super Orders. I feel like I followed the installation and configuration steps carefully and I went back several times to see if I'd missed something.
Super Orders is showing up under Admin/Configuration, but not under Admin/Customers. Can anyone help me figure out what went wrong. What other information should I provide to help solve this problem?
Thanks.
That it shows up in Admin/Configuration tells me that the install SQL ran correctly.. That it does not appear under Admin/Customers says that you do not have one or more files in the right place. The most common cause is not properly naming the admin folders in the install package to match own admin folder name.. Bottomline is this is a problem with your install and you need to double check EVERYTHING again very carefully..
Ok, I figured out my amateur mistake and thought I'd post for other newbies.
Steps 4 and 5
4. FTP the contents of [temp directory]/1_Install_Files into the ROOT of your Zen Cart installation (i.e. your "/catalog"folder). The files are already arranged following the Zen Cart folder structure.
5. FTP the contents of [temp directory]/2_Required_Core_Edits into the root of your Zen Cart. installation (i.e. your "/catalog" folder). The files are already arranged following the Zen Cart folder structure.
I uploaded the folders instead of the "contents of the folders" oops.
Thanks for the response.
I just uploaded the files for Super Orders add-on, and overrode the three Core files, and now my Admin section doesn't even load (php error?)! I tried copying back the original core files, but that didn't help... Do you know of any Add-ons that conflict with this one? Or have you seen this problem before and know the common error?
Oh, the cache says:
[05-Aug-2011 15:28:22] PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/.../admin/includes/functions/extra_functions/lcsd_merged_packing_slips.php on line 35
Looks like other people have had this problem before... looking up the solution now, but if you know it that would be helpful too.
Your site is hosted on a server that is not running PHP5 or an version of PHP5 prior to v5.2.. (and no I didn't know the answer off the top of my head.. I simply used the thread search tools 'cause I happened to have a little free time on my hands to look this up for you..)
Yeah, saw that too, thanks. I was hoping there'd be a coding fix, but I'll see if we can upgrade the PHP version.
zencart 139h
super orders 30
edit order 303
ty package 311
1. I go to an order detail page (super_orders.php action=edit)
2. click the red Refund button
3. Enter 5.00 in value box and check "Update order status with pre-set status & comments?"
4. Click to confirm, etc
5. However, when the order details page refreshes, there is nothing noted in the order total area for the refund to show the deduction of $5.00 from the order
Where did the $5.00 adjustment go, and why doesn't it display as an adjustment in the order total?
Thanks :smile:
You are using Super Order refunds incorrectly.. These are not order total adjustments, they are refunds of payments made against the order.. In order for a refund to show there has to be a payment record..
If you want to give the customer an order total credit/adjustment, you'll need to use a different method..
Hello,
could you tell me if I've marked the order completed with /super_orders.php?action=mark_completed&oID=123
to add predefined comments? Thank you for help ... :oops:
Have a question and hopefully someone can help! we recieve quite a few orders a day and have written an import script to add the tracking #'s into the order_status_history table, once thats done we do a status update on all orders. only problem is the customers do recieve an "update status email" but there is no way to get the tracking number to them unless you do them one at a time? any suggestions would help.
Thanks
Mike Z
Hi,
Just wondered if it was possible to create some canned (pre-filled) comments for use with the batch status update?
I have just migrated our site from OSC to Zen and had customised the Batch Update OSC contribution to be able to update all orders with the same dispatch message.
It would be useful to have a set of update comments that include a tracking field for courier orders.
Regards,
Chris
Let me answer all these questions at once..You have all asked "Can this be done?" The simple answer is this: it's software, sure it can be done..
BUT...
If the question is, "Will these features be added to a future version of Super Orders?", the answer is if a community member updates Super Orders to add these features, then yes..
I am still troubleshooting one last issue in the next planned release I was going to submit, and I can tell you that it includes NONE of the functionality being inquired about. Just fixes to further align super_orders.php with it's default cousin orders.php. Also a fix (FINALLY!) for auto creating Super Orders payment records when the order is paid via PayPal..
If the question is "Does anyone know how to make the changes need to achieve my desired functionality?", the answer is this I personally don't know how to add any of these desired changes, but hopefully a community member may come along and share their solution to one or more of these questions.. The other option is to consider hiring a developer to created the desired functionality.
HTH..
I have an urgent issue i really need help with. I just installed super order 3 so I could process a huge influx of orders (over 480 in processing state). I seem to have everything installed correctly. I can click on super orders under customer and the orders show. when i go to batch form print and try and pull up all orders in processing state i click search and i'm instantly sent to the admin login page. Please help.. Thanks you!
Zen-Cart 1.5 will soon be released, for those testing the latest un-released version of Super Orders, have you been able to test it against ZC 1.5, and does it appear to work properly?
Hey Guys,
I love super orders, it makes working with everything much easier! We have been growing quickly and have needed to make changes to adapt our site to keep us efficient.
Some changes include:
- Extra status' (IE Scheduled to Ship, Pre-Order, etc) this allows us to run reports based on status
- Created reports for - Items to order, Orders to ship, supplier orders (if you do alot of order as needed, it keeps track of what items need to be ordered vender side)
- BEST ADDITION myAdminBar. I created a bar that is always at the bottom of every page. It stays put in the window and doesn't scroll. This bar saves me countless clicks in the day and makes interacting with customers easier.
I'd post the code, but its not zenified (I really dont understand alot of the zen code), but if its (admin bar) something you would like to include with a super-orders release in the future, Id be happy to send what I have.
Take a look at myAdminBar, its the best!
Right now I have it setup to
- Jump to order #
- Search orders (name, phone number) Searching for .<item> searches for orders with a certain item
- Search Products (Quickly jump to a product detail page
- Links to functions used often
I rarely need to use the Zen menu at the top any more!
Attachment 9600
Has a release date for ZC v1.5 been announced?? As far as I know this is still in beta..
I've barely had time because of paid work to work on finishing the few remaining issues with the unreleased version of Super Orders. (sorry.. paid work comes before free-stuff:blink:) So nope haven't had a chance to test install and test Zen Cart v1.5 let alone test it with Super Orders..:no:
I just upgraded to ZC 1.3.9 and then updated SO. When I try and add comments to an order it gives me the following error:
[19-Aug-2011 22:25:53] PHP Fatal error: Call to undefined function update_status() in /home/prolinerangehood/sites/www.prolinerangehoods.com_Version_2/doc_root/adminpro/super_orders.php on line 192
I've tried the update process several times (making sure I copied the files over correctly) but the end result is still this error. The worst part is if you refresh that page the order disappears from the list in superorders, you can only find the order by searching for the order number.
I did try installing the edit orders module to maybe fix this error but that didn't help. I've since uninstalled that since I don't need any of that functionality right now, just need to be able to add notes to customer's orders.
Any help greatly appreciated!
That was right. I almost couldn't believe it. I had first synced these files using Rsync and then had moved them manually after that didn't seem to work. But when I simply used an FTP program to merge the folders, it works perfect. Thanks for pointing me in the right direction! Excellent mod by the way!
hello everyone.
i am a noobie :dontgetit
already posted something though in the general forums which was prolly wrong.
i'm pasting the thread here just in case.
http://www.zen-cart.com/forum/showthread.php?t=184991
you see i simply need to somehow print the Amount Applied and Balance Due at the frontend not at the admin super orders section only.
any help welcomed :bigups:
Hello All,
I am using the function:
Batch form printing > search orders > Select all > Print Master list of packing slips for selected orders.
This gives me a nice list of each order with every product per order so i can go about grabbing each item for each package all on a nice list.
However, sometimes I have items with attributes(Blue color) and the attributes are not listed on the master list.
Is there a fix for this, b/c I enjoy printing it this way and mailing out my merchandise. I stopped including packing slips, as I want to go green.
Thanks,
wildchick.
Hi to All and Thanks for superorders:it 's great!
I have this error when I try to insert and send message for customer. Any idea to resolve o where I take look for?
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 'ordine. Grazie di aver acquistato')' at line 7
in:
[INSERT INTO orders_status_history (orders_id, orders_status_id, date_added, customer_notified, comments) VALUES ('33', '3', now(), '1', 'Gentile Cliente il suo ordine è in consegna per oggi! Può comunque verificare lo stato della sua spedizione sul sito www.sda.it con il seguente codice lettera di vettura: 0000000000 Inoltre, scegliendo il pagamento con Paypal cassa veloce purtroppo a noi non viene fornito il suo codice fiscale. Se ce lo invia così potremo emettere la fattura relativa all'ordine. ')]
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.
Hi
Have just started using superorders3 - is great.
Just wondering if it's normal that all text runs in together in comments when updating an order via the details button (ie. Line breaks are not retained)
Many thanks :)
Hi. I've installed Super Orders on my zen cart (1.3.9), thanks for making it available.
I'm dealing in GBP, but the pdf renderer doesn't appear to like that and instead of the pounds symbol returns £ in the printed output. I'd like a pound sign, but I'd be ok with losing the currency designator altogether as we're only operating in sterling.
Thanks,
Alex
Hi. It just so happens that I am now getting the same report in my cache folder. Originally I was getting reports containing the following:
[13-Sep-2011 16:55:38] PHP Warning: Missing argument 5 for update_status(), called in /var/www/vhosts/super_payments.php on line 59 and defined in /var/www/vhosts/includes/functions/extra_functions/common_orders_functions.php on line 77
[13-Sep-2011 16:55:38] PHP Warning: Missing argument 6 for update_status(), called in /var/www/vhosts/super_payments.php on line 59 and defined in /var/www/vhosts/includes/functions/extra_functions/common_orders_functions.php on line 77
Repeated for argument 7, 8 and 9
I found a fix through this forum as below which did actually stop the above php warning.
It appeared to fix one issue and created another.
To give some idea to help. I'm using zen 1.3.9h. I have Super Orders 3, Edit Orders 3 and TY Tracker installed. As far as I can tell all systems are go as long as you don't touch the batch buttons, whether emails or printing. I beleive the issue has a lot do with the common_orders_functions.php. After reading a great deal of posts, I am unable to find an answer.
I think this is an absolute superb mod and I am one of those people that doesn't like to see warning or errors.
I have read that a new version will be out sometime that eliminates the common_orders_funtion.php all together. Can anybody confirm this? if so, and I can't sort out the warnings I may have to wait for the new version and purge the cache folder occasionally.
Many thanks to any one who can look at this.
Hi
Decided to give Nochex a go as an alternative to PayPal.
Just got my first order last night though Nochex. Email sent which includes most info except item purchased (bit anoying but can live with it)
PROBLEM: I opened up the 'Orders' and went to DETAILS screen this morning and there is no sales data...
"No Order Payment Data Available"
The customer address is there along with the date, IP, email but nothing else.
Now, if I open the INVOICE all the data is there as it should be.
I will also post this in the add on payments section as I am uncertain where the problem can be sorted.
Thanks for any help.
SORRY... Please disregard!
Aparently it is a Nochex install problem as supplied in addon payment mods section.
Thanks
Did anyone here edit the code to display the Total Weight in the order details page? It is very important for me? Any suggestion on editing the code or if someone has done it can they be kind enough to include the changes in this thread or via PM.
I also Highly recommend this feature be added in the future release of SO 3.0. It is necessary when shipping and I dont like to add each item to cart to find the total weight of a customers order. IT takes up a lot of time. And I preprint labels and then pack, so I like it premeasured.
PS absolutely loving the master packing list and this mod.
Sorry if this is already covered. It rings a bell, but I've been searching and can't seem to find it.
The symptom: using batch status update, I change status and send an email to the customer, but when I look at the order status history, it isn't showing that the email was sent.
The email actually is sent, but in mysql, I see that the int field for customer_notified = 0
I see the following:
Line 72 of super_batch_status.php, $notify = zen_db_scrub_in($_POST['notify']); sets $notify = 'on'
arg #4 to batch_status() is then a string.
Line 408, this string is passed to the update_status() function in common_orders_functions.php
In update_status(), $customer_notified = 'on', which is part of the record inserted into the database, but that record is an int in mysql and it gets set as a 0.
Is there a fix for this already? Or do I need to add the logic to change 'on' to 1 inside of the update_status function?
Thanks,
Hello,
Can't search for purchase order number. I have super orders V3 installed. Is there a way to enable the search field from superorders admin to do this.
There already are search fields in Super Orders to locate orders (both in the order detail and the order list).. If you looking for a way to search for the PO numbers the customer paid with, Super Orders doesn't support this or searching for any other form of payment by the payment number.
My apologies for the very late reply.. I've been crazy busy with work and medical (surgeries) issues..
I have the next Super Orders release nearly finished, but am stuck on the batch e-mail/status updates. In addition to trying to correct the issue you describe, I want to align it so it works with the new comments options in Zen Cart 1.3.9 (including support for hidden comments). That's where I left it when I last had time to look at it.. Will be taking a look at this again in the next two weeks..
None of this helps you though does it..:laugh:
Thanks for the quick response! If I click on super orders and have my list of orders displayed and try entering the PO# in the search fields to search all the orders it does not seem to pickup the PO# assigned in the orders. I can view it in order detail.
This is probably due to you having included an apostrophe/single quote in the message. There should be a routine in the SO code to escape this, but it seems there isn't.
If it is an installation issue, I'd like to know about it, so I can fix it, but I think it is a simple bug.
Thanks. Saves looking for an installation mess-up, and there is a workaround until the new version comes out: don't use apostrophes. Or should I say "do not use apostrophes" :smile:
For those interested.. Here's what was left on my to-do list for the Super Orders release I've been working on:
- Language Support for Super Payment Types
Needs to support payment types for all languages used in the shop. Because of the way credit card auto payments work in Super Orders, the payment type code for American Express, Visa, Matercard, Diners Club, Discover, Maestro, SOLO, and JCB must be identical for all languages.
(See admin/includes/classes/super_order.php starting at line 275)- Update comments using “Batch Status Update” not working correctly.
Comments in “Batch Status Update” should work the same way default order comments work. (support for e-mail, no e-mail, or hidden comments) . If working properly should allow shop owner to create batch hidden order comments.
Currently does not create the correct comment type. Hidden comments and no e-mail comments are not e-mailed to the customer, but they are stored and displayed in the store as if they are e-mail comments.- PDF Packing Slip incorrectly displays the “Balance Due” Amount
- PDF Packing Slip needs to support wrapping display long attributes names
Word wrapping works for product names and models, but not attributes.- PDF Packing Slip does not print all order comments
Seems to only print the 1st comment. Should print comments the same way comments print on the regular invoice.- PDF Packing Slip - Symbols are displayed incorrectly.
Most notably currency symbols, copyright and trademark symbols, etc..
This is where I left things the last time I was able to work on this.. If anyone wants to volunteer to help wrap this up, I would appreciate a hand...
I have the batch status working. I can send you the mods
super_batch_status.php around line 310:
and around line 411:Code:<td class="smallText" colspan="2"><?php
echo ENTRY_NOTIFY_CUSTOMER . zen_draw_radio_field('notify', '1', true) . '-' . TEXT_EMAIL . ' ' . zen_draw_radio_field('notify', '0', FALSE) . '-' . TEXT_NOEMAIL . ' ' . zen_draw_radio_field('notify', '-1', FALSE) . '-' . TEXT_HIDE . '<br>';
echo zen_draw_checkbox_field('notify_comments', 'on', true); echo ' ' . ENTRY_NOTIFY_COMMENTS;
?><br><br>
<input value="<?php echo BUTTON_UPDATE_STATUS; ?>" type="submit">
Code:if ($notify == '1') {
I also modified admin\includes\languages\english\super_batch_status.php as:
('ENTRY_NOTIFY_COMMENTS', 'Append Comments to email?');
I've also taken a pass at #5 on the PDF packing slips, to include the capability for hidden comments. I've sent this along separately.
Carl.. you are a doll!!!!:hug:
Hidden comments shouldn't appear on th ePDF invoices at all.. These are meant to be "admin only" comments.. They do not appear on the standard invoices.. or perhaps I misunderstood what you mean..
Just my poor communication. I should have said " the ability to support hidden comments". I followed the same code as invoice.php. It prints out all non-hidden comments, whether there was a comment, or just a status update. One thing though (same as invoice.php), if the last status change was hidden, it doesn't print. This means that the current status won't show on the packing slip.
Hi I have installed super orders on my test environment, and it is working except that the mod 'PDF Rechnung/rl_invoice' is not available anymore. This as it is positioned in the replaced orders.php. I've read somewhere that both should be able to be working together. Does anyone know how to get this working/available again? I have been using it also on my webshop, working fine. So before going into the next step I want to make sure everything is fine and can be incorporated.
Btw, great work on Super Orders! My appreciation!
Hello,
I have Super orders, Ty, and edit orders installed perfectly and working very nice. However I am still wondering how it works.
Ok so you add items to a customers order. Lets say they paid with paypal on there original order. Is there a way for when the customer logs back in and sees the changed order to pay the balance owed on there account using paypal or what ever method is available?
Thanks,
Lexxie
The short answer is 'no'.
From the "Purpose & Aim" tab of the SO2 Read_Me file:
"Super Orders is exactly what its name implies: Zen Cart order management on steroids."
That means super orders "soups up" Zen Cart order management functionality. It doesn't change the core way order management works. Suggest reading the entire Read_Me for a more thorough understanding of how the mod works. Suggest the same for Edit_Orders so that you can understand what it will and won't do.
To answer the question using the scenario you provided, Edit_Orders will allow you to edit the order to reflect additional items purchased, changes in costs, taxes, etc....but it won't "bill" the customer. You would need to go to your paypal account and generate an invoice for the additional amount owed for any new items added, as well as increases in tax and/or shipping/handling fees.
Going forward, questions about Edit_Orders functionality should be posted on the Edit_Orders support thread. I understand that you probably didn't know which mod your question applied to, but that's why you really should read the Read_Me files that are included with those mods...so that you can understand and differentiate between them.
Good luck and happy Zenning :smile:
I just installed the super orders, edit order and TY on my v1.3.9h zen cart online store but got a page not found error for the super_batch_status.php page and super_batch_forms.php. Any ideas?
Thanks!
Hi Diva,
I've been searching for more than an hour the thread trying to find something to fix the "Balance Due" issue and haven't. I saw your post http://www.zen-cart.com/forum/showpo...&postcount=266 where you mentioned it was going to be fixed on next release but there's not "fast fix" for those that don't want to wait for it :blush: (not me of course).
I saw your list for next release "Things to do" and don't see it there so I was wondering... :unsure:
If there's anything I can help with from that list is on any language translation to Spanish, so let me know if I can give a hand on that.
Has anyone got this working with reward points? Edit orders has been updated and now works....
Hello,
I've looked at the super_invoice code that relates to displaying comments. I noticed that the code first retrieves all comments linked to an order [1], but then only checks the first comment [2] if its empty or not to decide whether comments should be displayed.
For an order i just generated the first comment is empty, and the second (admin generated) comment has text. Unfortunately, due to [2] the text does not get displayed. Also, the $customer_note assignment in [2] suggests that only one comment exists and is displayed.
In my humble opinion this section of code needs to be rewritten. I would probably remove [2] altogether and instead create a loop at the end (instead of the if [3] that checks for $display_notes=1, and display all comments that are non empty.
Did i misunderstand something here? Or, do my suggestions make sense.
thank you,
Dan
code that retrieves all comment from the db
[1] $orders_history = $db->Execute("SELECT orders_status_id, date_added, customer_notified, comments
FROM " . TABLE_ORDERS_STATUS_HISTORY . "
WHERE orders_id = '" . $oID . "'
ORDER BY date_added");
Code that checks only one comment field (the first amongst those retrieved), whether its empty or not.
[2] if ($orders_history->fields['comments'] != '') {
$customer_notes = $orders_history->fields['comments'];
$display_notes = 1;
}
else {
$display_notes = 0;
}
[3] code that displays one comment
<?php if ($display_notes == 1) { ?>
<tr>
<td><?php echo zen_draw_separator('pixel_trans.gif', '1', '5'); ?></td>
</tr>
<tr>
<td class="main" colspan="2"><strong><?php echo HEADER_CUSTOMER_NOTES; ?></strong></td>
</tr>
<tr>
<td class="main" colspan="2"><?php echo $customer_notes; ?></td>
</tr>
<?php } ?>