Ops.....:blush:Quote:
Originally Posted by DrByte
Printable View
Ops.....:blush:Quote:
Originally Posted by DrByte
Ehh.........:wacko: Will it calculate the numbers or do i have to do that by my self???... Can't add... i need to add, change amoun and delete some...... i do this tomorrow if i cant find any other solution.....Thanks..Quote:
Originally Posted by s_mack
I think i have seen an "edit Orders" somewere...
Peter
something wrong with your calculator? Yes, you have to calculate manually.
I woudn't recommend installing edit orders at the same time as superorders... certainly not on a live site without extensive testing. But its your biz.
- Steven
No battery:PQuote:
Originally Posted by s_mack
Can i make a new order at my own name and then rename orders_products_id and orders_id in to the "old" orders numbers in zen_orders_products???
Peter.................:sadwalk:
no. don't do that.
Installing Edit Orders mod after uninstall SO ??:lookaroun ...Quote:
Originally Posted by s_mack
Peter:sadwalk:
I did it anyway and it seems to work.. So even calculated the amount right when i change one product abount from 24 to 18 :D :DQuote:
Originally Posted by s_mack
Please.. tell me i'm in deep water now or i will continue..
HAVE I FORGOTT som table?? i still have my backup...
Changed in:
zen_orders_products
zen_orders_total
zen_orders
Have no attributes :D
I also figured it out how to get the currency right in
Peter :D
I have to learn MySQL... This is cool and so easy to solve problems:yes:
You SQL-pro-guys! please tell me if i have forgott somthing... Because this solved many problems for me...
Peter.... Tired... Time in bangkok 5:32 AM..zzzzzzzzzzzzz
i tried to make this mod to be compatible with Info at a Glance mod but no luck...anybody?! :lookaroun
-edit- wrong thread.. sorry
Would be nice if the Search boxes were in all of the Order Details pages and related pages
Meaning, you'd work on one order details, then search for another order to work on.
I use the Search boxes under Customer > Orders all the time. It would save lots of clicks if those search boxes were right on all the order details pages and related pages.
Thanks :)
I 2nd that! :)Quote:
Originally Posted by DogTags
anyone figure out how to add/subtract items from an order? am i just blind, or is it not in this release?
Read from http://www.zen-cart.com/forum/showpo...8&postcount=98Quote:
Originally Posted by getyourgameshere.com
I had to do it in phpMyAdmin and it seams to work :yes:
Peter
Ah thanks, it looks like I accidentally skipped over that the first time.Quote:
Originally Posted by PeterBKK
I used phpMyAdmin to edit an order before.. and didn't like it too much :P. Right now I'm still using 1.3 on my live site, so whenever that functionality is back i'll be switching over :)
Either way, thanks for the great contributions, BlindSide!:thumbsup:
Does anyone know if this is compatible with the 1.3.5 release? kelvyn asked a while back but I don't believe I saw a reply.
:smile:
Although, Super Orders 2.0 does not override any files, there are 3 files that you need to make edits in and the instruction are in the readme file. Assuming that these changes are merged into the 1.3.5 version of these files there should be no reason for it not to work with 1.3.5.Quote:
Originally Posted by sleepless
If you already made the optional changes you will also need to merge those changes into the new ones.
Good Luck!
Thank you for the reply.
I have never used Super Orders before, but I would love the added features. So here goes... :smile:
I zipped here the files I edited for INFO-at-Glance to work.Quote:
Originally Posted by tajul_ashyqin
These work for me for:
Zen Cart 1.3.5 0904 release
INFO-at-Glance 1.5
Super Orders 2.0 rev45
Good Luck! :smartass:
And I also have a leetle problem: :no:
super_edit.php just loads an empty popup for me. No content, nothing. Tried to reupload, but nothing happens. Otherwise, all seems fine. Anyone had same?
BTW: what does purchase order mean? On the other side of the world (hungary, you now, we are going to have a Stephen Colbert-bridge soon :lol: ) I don't know what the heck is it supposed to mean! Somebody care to shed some light on me poor head?
Thanks now. And then :)
Ok, never mind, the latest, wikipedia rulez: http://en.wikipedia.org/wiki/Purchase_order
Cheers,
f.
Peter, it's awesome to see you picking this stuff up! :smartass: It sounds like you got everything, but I can't see it so I won't say for sure. Sometimes the best way to figure it out is just try it and see what happens. Keep a log (mental or written) of what you did, so you can back it out if necessary.Quote:
Originally Posted by PeterBKK
Nearly everything about an order is editable...except for the products themselves. I held off delibrately because product setups are sooo complicated, and they are going to change again once the team introduces SKU and qty-by-attribute features. Since I can do all the order editing I need directly from the database, I'm content to wait till then.
Don't use that myself, but I could certainly take a look. No timetable though. :PQuote:
Originally Posted by tajul_ashyqin
Wow, awesome idea! Why didn't I think of that...?Quote:
Originally Posted by DogTags
See above. I have the ability to split products into separate orders, but otherwise you're on your own. Just too complicated and too many pending changes to be worth the effort right now.Quote:
Originally Posted by getyourgameshere.com
Yes you should be fine.Quote:
Originally Posted by sleepless
Sweet! I'll look and see if I can migrate this into the source.Quote:
Originally Posted by fricy
Are you uploading the language file where the actual script should be? I do that all the time when I'm working on new stuff. Upload a language file; make changes to the script; upload language over script because I forgot to change directories. :blink:Quote:
And I also have a leetle problem: :no:
super_edit.php just loads an empty popup for me. No content, nothing. Tried to reupload, but nothing happens. Otherwise, all seems fine. Anyone had same?
Also glad you know what a PO is now. If you don't need them for your business, be thankful. They are a huge pain in the rump, in terms of necessary time and effort. :no:
Great to see this mod is still maintained and upgraded.
I have not upgrade yet from 1.3, as I absolutely need the order editing feature. In the previous version, JeffD released some changes ( http://www.zen-cart.com/forum/showpo...5&postcount=54 ) that allowed to use the order editor, and even to add products to an order.
Is there something available for the 2.0 version? For me, this it really the most important feature I need for my shop, so I will need to stick to 1.3 if it is not possible to do it on 2.0...
Thanks,
sanji
BlindSide is outstanding :-)Quote:
Originally Posted by sanji
Love the new super orders, however i have some questions.
The first one is, why are my paypal customers shows as a balance due? do i have to manualy add a payment showing that they paid with paypal?
secondly, when someone uses our merchant, do they also show as balance due?
I'm installing this on 1.3.5 now and so far I haven't run into many problems. I'll have to see how it works once it's all running.
Fresh 1.3.5 install shows no issues, works very well.
I did notice that the 'Point order at a different customer' feature doesn't work. No adjustment is made when opting to move the order to a new customer. Anyone else noted this issue?
Bjorn
Found a snippet of code pointing to the admin directory for product images on the packing slip.
edit: admin/super_packingslip.php
Replaced with:Code:' . zen_image(DIR_WS_CATALOG . DIR_WS_IMAGES . $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH) . '
Code:' . zen_image(DIR_WS_CATALOG_IMAGES . $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH) . '
I'm confused. I thought i remember using the old SO to edit products in my customers cart, as in the actual product could be added or changed.
Now the Edit products link just offers checkboxes and a submit button.. But doesn't tell you that it means DELETE! EEEp! bug it! Unfortunately I learned the hardway.
Anyway, shouldn't there be some other editable option as well as telling people that you will be deleting products when you edit them?
See higher up in this thread. Not in this version.
Quote:
Originally Posted by BlindSide
Ok, love the mod.
One change that I made. I currently do not have a Fax for my business, so there is no reason for me to have an empty fax on my invoice.
I changed line 89-90 on super_invoice.php to this.
<td class="invoiceHeading" align="left" valign="top"><?php if (STORE_FAX != ''){echo HEADER_FAX;} ?></td>
<td class="invoiceHeading" align="left" valign="top"><?php if (STORE_FAX != ''){echo STORE_FAX;} ?></td>
so that if down the road I add a fax, and fill the info in the admin, that the information will then automatically show on my invoices, but for now, it doesnt.
Greg
That last suggestion (good one) contains <td> tags...
People should realize and keep in mind that the default template system of zen is strongly and swiftly moving away from tables, and encouraging the much better system of using <div> tags and css to format/position them. It'll be helpful in this effort if contributions followed suite.
- Steven
I agree <div> is the way to go, but the problem is its just not controlled enough, sometimes you need a hardened way of doing things. Perhaps if w3 starts supporting align again, as well as width, height, and borders, but then that would defeat the purpose.Quote:
Originally Posted by s_mack
I'm not sure what you mean by "controlled". You are offered a VASTLY superior array of tools for formatting and positioning with css versus standard html.Quote:
Originally Posted by qhome
The only "good" reason to resist (it is futile though) is being too lazy to learn :) CSS is very tricky for the uninitiated and it isn't an enviable position to have to learn it suddenly. Learn it well I mean. It is worth the effort though, in my opinion... and as the platform continues to migrate that way, laggers only cause themselves more headaches later by not adopting sooner.
I agree that it is EASIER to do things in tables most of the time, but it is by no means required. My entire site (well, the new one that isn't published yet) doesn't contain a single <table> <tr> or <td> tag. My biggest problem is re-writing contrib code to conform.
As I've done it, I've written the authors suggesting they adopt and handing them the code on a platter... the same will apply here if I ever get around to installing this contrib. I'm ahead of myself here though... I haven't even looked at the SO code to see if any of the above applies :)
So I'll shut up now.
- Steven
i don't know if it really matters though.. since thats what goes on the invoice.. so its all admin side. if the store owner and other employees aren't having a problem with it.. i don't think it would really matter :)
for the catalog side though, i agree with everything s_mack says :)
Lol... I didn't even think about it being on the admin side - so you're right, it puts it on the backburner of a 12 element stove.
- Steven
i believe that i fallowed the instructions correctly, but for some reson, when i do a refund, or anything like that, and add comments to the order it sends an email with
AUTO_COMMENTS_REFUND
what did i miss, or leave out..
can someone please help?
Receipt Button
In addition to the Invoice Button, Shipping Label Button, and the Packing Slip Button, it would be nice if there were a Receipt Button cuz some orders come in over the phone and some customers like to have a receipt faxed to them.
It would be the same output as the Invoice Button, just that the word Invoice would be changed to the word Receipt
HTH :-)
it seems that when i set an order to refund using super orders. the order calculated correctly and all seemed well, however when i went to the catalog to login and check the order as the customer would see it. the order was gone. It wouldnt show at all...
it looked like i had never made the order.
anyone know why this is? or how to fix it?
To the first question, could I just knock that bit of code out so I don't have it at the top or even the tax column on the invoice?Quote:
Originally Posted by madk
As I said in a previous post, this feature is extremely complicated and will be a futile effort when the attribute revisions are introduced. Since I am comfortable editing my orders directly via the DB, I don't plan to build this code. I'm not trying to leave you guys in the code, but my time is really restricted, especially for pro bono work. If you are willing to pay, I will have an opening in my freelance schedule at the end of the month. :smile:Quote:
Originally Posted by sanji
Yes, however I have automated that recently while doing some freelance customizations. Expect it in an updated version.Quote:
Originally Posted by wickedklown
Not sure exactly what you mean, but the only place those payment line items are displayed is in the Admin. If your merchant isn't looking there, they won't see them.Quote:
secondly, when someone uses our merchant, do they also show as balance due?
No it does work, your just expecting it in the wrong place. That edit option only changes the customers_id field attached to the order. It does not change the customer data attached to the order. If you want to change name, address, e-mail etc, you have to do that manually. This goes back to simple user logic: even if the order is attached to the "wrong" account, they obviously supplied the data you've got for a reason. It should not be changed without equally good reason.Quote:
Originally Posted by Bjorn
Try this, change the customer from the edit screen, then do a search for that customer from Admin > Customers > Customers. When you find that customer, pull up the orders that are attached to them...viola.
Well it actually does correctly point at the catalog, hence the DIR_WS_CATALOG . DIR_WS_IMAGES. However your syntax is more accurate, and I will update the code.Quote:
Found a snippet of code pointing to the admin directory for product images on the packing slip.
Good call, I've added that logic to the source. You'll see it in the next version.Quote:
Originally Posted by gmoyle
I am going to ignore the CSS vs. table discussion that this post generated, and ask that you all do the same. If you want to discuss layout, we have a forum for that; stay on topic. :smile:
You're right, it would be very simple. But a better idea might be to dynamically change the title of the existing invoice to say "Receipt" or "Invoice" based on the balance due. :wink2:Quote:
Originally Posted by DogTags
The two problems together, combined with your honest admission to SQL trouble leads to believe that the SQL file is your problem. Restore from your backup, and run the SQL again. I recommend you run it from within phpMyAdmin, as that will give you useful error messages should a problem arise again.Quote:
Originally Posted by madk
I do appreciate you openly mentioning the SQL issues; it makes torubleshooting sooooo much easier. :bigups:
See above. If the field is blank, the files are smart enough to hide it's display.Quote:
Originally Posted by duncdamonk
When you say "I set an order to refund," you mean that you created a refund line item? If so, that will have no effect whatsoever on the order appearing for the customer. In fact, none of this code affects what the customer sees (unless, of course, you delete the order).Quote:
Originally Posted by wickedklown
So you're saying that I should take out the 00-00000 and leave it blank? I'm have the same kind of issue as that guy did with it showing the column instead of the numbers. Also, the tax field is showing "None!".Quote:
Originally Posted by BlindSide
I apologize BS. I guess I was having a self richeous moment. Not only off topic, but barely applicable since we're in admin with this mod. I just finished a debate at the university where I work on the merits of accessible web development and I was still in a "mood". Won't happen again.Quote:
Originally Posted by BlindSide
- Steven
Correct. if the field is blank (FED_TAX_ID_NUMBER == ''), then it does not display. This is also the same logic at work in the "None!" for taxes. If your non-profit, you dont charge taxes; so if you have a Tax ID number, it just removes those fields for you automagically. Delete the number in the field entirely.Quote:
Originally Posted by duncdamonk
@s_mack: Don't think another minute on it, I just didn't want the thread to steer off course. It's an important topic, and one that W3 better handle adequately with CSS3 revisions.
Blindside,
well for some reason, when i do a refund via super orders, it makes the order stop showing for the customer in the catalog. I have no idea why, or what is making it happen, all i know is that if i remove any refunds or purchase orders from there order , it comes right back and shows for them...
i cant seem to figgure out why..
iv also come across another small issue.
when i edit the status history for an order it does add the comments i change to the history, however it shows "rn" in front of each line of text... this im also not sure why.
when i view the history as a customer in the catalog, it shows some HTML tags and stuff in the text...
below is an example
ADMIN SIDE:
Order Processed. You will be notified when this order is out for shipping. If you have any questions, please contact us.
rnThanks
rnMYRCS
rn
rnThe Shirt is of My RC Supply. If you click on the Additional Images tab of the product Details page, you will see a logo shirt of ours in white. They also come in black. We will send a LARGE WHITE tee with your order. Thanks for the feedback Greg.
rnMYRCS-Sales
---------------------------------------
CATALOG SIDE:
Order Processed. You will be notified when this order is out for shipping. If you have any questions, please contact us.<br />\r\nThanks<br />\r\nMYRCS<br />\r\n<br />\r\nThe Shirt is of My RC Supply. If you click on the Additional Images tab of the product Details page, you will see a logo shirt of ours in white. They also come in black. We will send a LARGE WHITE tee with your order. Thanks for the feedback Greg.<br />\r\nMYRCS-Sales
-----------------------------------------
one thing that i noticed is that my purchase orders arnt installed in the moduals section, this could be a reason why its doing that when i do a purchase order or refund? i dont know...
anyways, anyhelp would be great. Please PM me if you need to have a look for yourself.
Thanks again blindside.
This contrib ROCKS!
Benjamin
No idea off hand as to what might cause it, but the nature of them leads me to believe it's in your mods and any customizations you've done. Here's a couple things to check...
- Did you perform a full installation, particularly the required edits to the order classes in the admin and catalog sides?
- Do you have any customizations to the account page in the catalog. It would be includes/modules/pages/account/header_php.php and/or includes/templates/[your_template]/templates/tpl_account_default.php
- What version of Zen Cart are you running? This module shouldn't be used under v1.2.5.
- I'm not totally familiar with all your mods, do any of them affect orders, order statuses, or the associated tables? If so, you may want to remove or disable them and see if the behavior continues.
Yes, Order Questions, does change that header_php file. I included the file edits manualy as to not mess with another mods that i did. It enables the customer to add comments to there order status from the order history page.Quote:
Originally Posted by BlindSide
the mod dont work all that well as you cant get support, and it dont send emails back to the admin when they leave a msg...
Ill try and remove this modual, and see if it clears up anything.
Thanks again.
Benjamin
actualy, that modual edits the file inside the account_history_info folder... different file all togther
but the file your talking about is tpl_account_history_info_default.php right?
well that mod does edit that file, however i cant seem to find your version of the file in my release rev45 i believe. Nor can i find anywhere where you ask us to edit the file
what file and or file edits am i missing if it shows AUTO_COMMENTS_******
when i check the add defult comments to order status history?
i went through and checked everything from the readme, but still didnt find anything that i had missed.
any help would be great.
Benjamin
Sounds like you had some issues installing the SQL file, because all the AUTO_COMMENTS_* defines are database entries in the configuration file. Take a look at super_orders_sql.sql and you'll find them in there. If they are installed properly, they should work without any further effort (default standardized comments are included in the SQL).
How did you install the SQL file? Did you get any errors?
yes i installed the sql file when i installed the mod.
Iv tried to reinstall it, but it keeps telling me about the dup entries..
what should i remove from the DB so that i can reload the sql file and have everything work correctly
Well, i removed all the tables and such that your sql file loaded, then i reloaded them via phpmyadmin.
It gave me an error, so i did it again. This time everything seemed to work, but i got an error about the bar-code stuff at the bottom of the sql file.
However the auto text defines are working now YAY!!!!!
but is there still a problem since i setup a test payment via super orders, and the comments came out as
Payment received in our office. Payment ID:
Is this correct? or should there be an ID number beside that?
if so, where does the ID number come from? and how do i add it in there, or should it be added automaticly, or is it becuase i didnt fill out the number/name fields?
any help would be great.
Thanks
Benjamin
seems that i have everything sorted and working.
just one other small issue.
when i update my comments history via edit, you get the :rn: and /br tags in the text.. looks bad in the admin side, and even worse on the catalog side.
any idea how to fix this?
Posted this on another forum but think I should have put my query here..........
Have just installed Super Orders on our test site with no problems and it could be very useful for us but.......
For purchase orders is there no way that a customer can be approved first before making a purchase order so that non approved customers only have the credit/debit card option.
Most of our sales are done by card but we are increasingly dealing with bigger organisations who want to be invoiced after delivery. I don't want buyers who would normally use a card thinking they can buy now and pay later willy nilly.
This is a neat little mod!
I installed it and it looks handy but unfortunately we deal mostly with downloadable products, and when adding a product, it does not add the download attributes as well. Any chance of this feature being added to the mod?
Hi,
Has anyone here tried this mod with Dual Pricing ? Is it compatible with dual pricing ?
Thank you in advance for the info.
Are you sure you're using 2.0? You can't add items in 2.0.. only older versions. It will be introduced later onQuote:
Originally Posted by clikchic
Like he said, there is no product editing available in this release. The only edit feature is the ability to split an order (click "edit products" from the detail page > select products to move > click "submit" button).
The original SO incorporated an old, old, old contrib called "Edit Orders," which did have the ability to add products. However that code was way outdated and broke nearly every time it was used, and so it was disabled. Some users did attempt to enable and hack it into working properly, but that kind of functionality really demands a full rewrite.
For reasons described earlier in the thread (go back a few pages) it has not been added back in (yet).
Blindside,
Quick question,
Why is it that with super orders, when i view an invoice or packing slip, it only shows the carrier they choose for shipping, it dont show the method?
like one customer wants USPS Airmail, and another wants USPS Priority. When i go to print there invoice and get it ready for my driver, the slip only says USPS, dont show the method they wanted....
same with UPS, it only shows UPS, dont show Ground, next day, or whatever method they choose...
can this be fixed, or is it a problem within my cart, or what?
thanks man, your a huge help
Benjamin
You mean the text that appears in parentheses next to the shipping method on the order total lines? SO automagically removes that block of text because, well, it's so damn ugly.
It stretches the line way out beyond the others, and because that text sits in a table, it often bumps against the margins, forcing it onto a second or even third line. For a great example of this effect, see the Zone Shipping method.
If you want to see the text, you can disable the code that strips it in the invoice and order detail pages. Look for a block of code like the following...
Code:if ($order->totals[$i]['class'] == 'ot_shipping') {
$format_shipping = explode(" (", $order->totals[$i]['title'], 2);
$clean_shipping = rtrim($format_shipping[0], ":");
$display_title = $clean_shipping . ':';
}
else {
$display_title = $order->totals[$i]['title'];
}
yes i need to see the text that shows there method of shipping. becuase my warehouse pulls the orders from the printer, once processed, and uses that hardcopy to finish the order and get it out the door, without the shipping method on there, they have to come back and ask our sales dept before they can ship it.
thanks man, ill try and take a look at this.
should i comment out all those lines of code?
also what files should i be looking at?
i need it to show on everything from the details page to the invoice to the packing slip..
thanks much man
Do whatcha gotta do. :smile: But I have to be honest, you are the first person to point out have a problem with this "feature," and it's been in there since the very first release.
can you tell me what it is that i have to remove in order for that to show?Quote:
Originally Posted by BlindSide
im having issues getting it to display when i remove that block of code..
thanks man.
Take out that block of code I supplied, and replace it with just the following line...
Code:$display_title = $order->totals[$i]['title'];
Is there any way to not display the weight but still display the method?
The weight shows like this:
USA (UPS Ground (1 x 4.00lbs)): $5.47
Many thanks :-)
I would imagine so. Do some research on the PHP functions for searching strings:
http://us2.php.net/strings
Hi , Ive installed this for a client on his live site , and he loves the functionality , but when updating the status , and clicking to notify customer , it does,t send the e-mail , I can send the e-mail from the original zen orders singular , but on the batch update , even selecting one customer to notify , does not seem to work .
I am using 1.3.5d , latest version of Super orders , and the sendmail function .
Can anyone shed any light on this ?
Cheers
Quote:
Originally Posted by BlindSide
i know im being a pain, but i cant seem to fix the packingslip file... i have all the others working as i need, and actualy they look great...
But i cant seem to get the packingslip *happens to be the one i REALLY need, go figgure* working..
please help...
thanks in advance for all you help
It would probably help if you gave some clue as to what the problem is. "can't get it working" isn't really very descriptive. You explained your problem... BS answered and gave you a solution. Did you try it? Did you follow his instructions? if so, what EXACTLY remains the problem?
How well do you know php? Are you just fumbling around trying to change files when you have no clue what you are doing? Or do you have some functional knowledge and comfort and just need guidance? If the former, then its probably time to either a) learn, or b) hire. If the latter, then you'll need to explain the trouble better.
- Steven
Have just installed the latest version of SO on 1.3.5. But, like crazycucumber, mails are not sent when 'Notify customer' is selected. Using smtpauth, the initial message is sent so my smtp is working. Did add several more order status.
Edit: While hitting the send button I wondered if the mails were somehow marked as spam. Just checked and they were. Don't have a clue why the initial mail is not and the follow ups are.
crazycucumber, could this be what's causing your problem?
Possibly , But I'm getting the red cross on the notify customer box , as if it wasn't ticked .
Will check with host if mail is getting bounced as spam , Im not geting any feedback from the mail server to tell me so !
Thanks for any help
First off, i dont believe my question was directed tword you, if you had read back further you would see that we where already working on a fix for my problem.Quote:
Originally Posted by s_mack
basicly, i know limited PHP, but i can get by in most cases.
However im stumped on this one, becuase the packingslip file is much different from the rest of the files that i modified. im sure Blindside knows what im saying..
and i cant figgure out how to get the rest of the shipping info to show on the packingslip page.. every change i make completly removes it.
I was well aware who your message was directed at... I've been following it.
You may be right... maybe he has some idea what you're talking about. But if I were him, I'd be saying... "and... your point?". You simply didn't give enough (any) hints as to what exactly the problem is (or remains to be). You told him the problem... he told you the solution. Then you said "it doesn't work" :no:
Don't you think it would be MUCH more helpful to write something detailing exactly what the problem is, after the last proposed solution? Did his suggested changes (which you hadn't even said if you followed) make any difference? Did it cause an error? Does the page come up? Are there errros in the log files?
Fine... I'll ######## out. It is none of my business. And I certainly shouldn't be singling you out as you are by NO MEANS the only one... but if we expect contributors like BS to continue developing these super-popular contribs then we (as a collective) really have to stop making it such a burden and a bore. I can see it in his recent posts (correct me if I'm wrong BS) that he's growing tired of "Its not working! I have a super-customized setup and I need it to work exactly as I need and I want you to magically understand and fix it!".
Again, sorry for butting in. Wasn't my place.
- Steven
No worries....Quote:
Originally Posted by s_mack
Basicly, the problem is that when i put that single line of code inplace of the current trim code inside the packingslip file, it shows nothing, it removes the carrier name as well. (UPS, USPS, ect)
<?php
// Trim shipping details
for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
if ($order->totals[$i]['class'] == 'ot_shipping') {
$format_shipping = explode(" (", $order->totals[$i]['title'], 2);
$shipping_method = rtrim($format_shipping[0], ":");
break;
}
}
?>
thats the code im tring to adjust to show everything..
im sorry if i came off upset in my last post, im just quite frustrated with this. im tring to complete this on my own, however im lost as how to fix this last file. I understand that i shouldnt be bothering the author with my peticual problems, but i love SO, and i want my office to use it souly.
My apologize.
Ok now, shake hands and make up...
That's better. :cheers:
@wickedklown
Here's how to edit the packingslip...
1. Undo whatever you did. :wink2:
2. Find this line...
3. Replace with the following...Code:<td class="main"><?php echo $shipping_method; ?></td>
This time I bypassed all my string-stripping code entirely, calling upon the value stored in the order class when the packingslip is generated. You can use this value whenever the order class is instantiated. Look for this...Code:<td class="main"><?php echo $order->info['shipping_method']; ?></td>
@s_mackCode:$order = new order($oID);
It's great to see users who recognize the volunteer and open-source nature of the contribs. Yeah there's always a few who make "fix it now" demands, but they are in the minority and I don't think that's wickedklown fell into that category (tho there's always next time :P ). I still appreciate your efforts to extract a more thorough answer; at least there's one person who can jump in to help if I get pulled away.
this issue had been raised on another thread for the old version of SO but as far as i can remember, there was still no solution to it... so, we have to wait the clarification from Blindside...! :DQuote:
Originally Posted by crazycucumber
Look forward to hearing from BlindSide on this one . I'm guessing then that I'm not the only person suffering from this. !
Tried to insert the customers first name into the emails send by SO for hours now but can't get it to work.
I know I have to edit the admin/includes/functions/extra_functions/super_orders_functions.php but all my attempts to use existing and new queries and arrays have failed. Guess my limited knowledge of SQL is playing a major roll here because I'm convinced that it should not be to hard to do.
Anyone willing to help me out here?
Same result, customer_id left unchanged in the orders table. My SQL log shows no update command in reference to the order table, why would the update query not pass yet the insert works fine? Split function works like a charm.Quote:
Try this, change the customer from the edit screen, then do a search for that customer from Admin > Customers > Customers. When you find that customer, pull up the orders that are attached to them...viola.
Bjorn
Hi
First of all thank you for creating this contribution. From the readme file it looks great. Unfortunately i have a problem somewhere in my database and so its not reading your sql file correctly. I am using MySQL4.0 with Super Orders v2. The error message i am receiving is:
SQL query: Documentation
-- Following is for a future release
-- Bar code display
- - INSERT INTO configuration
VALUES (
NULL , 'Display bar codes', 'BC_ENABLE', 'true', 'If enabled, a bar code of the order number will appear on invoices and packing slips.', 28, 99, now( ) , now( ) , NULL , 'zen_cfg_select_option(array(''true'', ''false''),'
)
MySQL said: Documentation
#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 '--INSERT INTO configuration VALUES (NULL, 'Display bar codes',
I found someone else with a similar error message on this forum and the problem was with the syntax on order's. However, I think this must have been in a previous version of super orders because i searched the sql file and cannot find order's or any other word containing an '.
Any help would be HUGELY appreciated as i am at a complete loss to find where i've gone wrong. :down:
Thanks in advance!
Blindside, Im having another issue, and i dont know if it just started or what..
its pretty odd too.
It seems that all my orders that are paid via authorize.net or creditcard, are showing as payments made and completed, however above it i get these extra payments which are $0.00. Im not sure why they are there, or what they are for since they just apperied on there own.
the really crazy part of it is - for some reason they say the year of 1969
like this
" $0.00 12/31/1969 18:59:59 12/31/1969 18:59:59"
some orders only have one of these extra payments, others have up to 3 of them.
what is going on? is it another contrib that is doing it? or what?
@crazycucumber et. al.
Regarding e-mails not going out in the batch updater. I got way behind on the old SO support thread, so this is the first I'm hearing about this. I'll have to take a look at the code for some ideas, but is this limited to those who use a local e-mail server? (Local server is Admin > Configuration > E-mail Options > E-Mail Transport Method > "sendmail"). Can you send order update e-mails without issue from the SO order details page?
That code at the end of the SQL file is for a future release (yes, I want to add barcode support :smile: ). If that piece of code is giving you grief, just get rid of it. Anything that starts with a double dash (--) is a comment and can be deleted from the file without worry.
The date you see is the default when the value is poorly formed or invalid. The time appears valid, however (usually appears as 00:00:00 or 23:59:59 when borked). Are you using the US standard date format? Do you have any other modules that mess with date functions or formats?
Did you check the box that appears next to the text "Point order at a different customer:"? This box must eb checked for the customer change to occur. It'sa fail safe to prevent users with fast fingers from inadvertently changing the customer.
Spam is always a suspect cause. If you are having this problem, make sure you are looking in spam folders. Unfortunately, this not something that I can help you with. My advice is to train your spam folders better, warn your customers when they sign up about (give them the "from" address), keep an eye on blacklists to make sure you aren't listed, and (if all else fails) change the text in the e-mail.
Im pretty sure im useing US standard date format, is there a setting for that? or is this set from my server and its settings?
i dont believe that i have any of modualy that mess with dates at all. as far as i know.
i believe that the rest of them do show that time you stated.
why is this happening? somtimes there are 3 of them on an order. and always there is a correct one that shows the true payment data.
any thing you can advise for me?
YEAY! THANK YOU BLINDSIDE - IT WORKED! :P Your help is epically appreciated!
These bad dates are appareaing on the Order Details page, on the green payment lines, correct? Open admin/super_orders.php. Find this line...
This line and the one directly below it use the zen_datetime_short() function. Remove that function from both lines, so it looks like this...Code:<td class="paymentContent" align="center"><?php echo zen_datetime_short($so->payment[$a]['posted']); ?></td>
Upload the file, look at an order with the offending dates, and tell me what they read as. (Dev note: The dates being displayed are now exactly what is being stored in the DB. By looking at these values we can tell if they are not being stored correctly, or if your shop's coding is at fault.)Code:<td class="paymentContent" align="center"><?php echo $so->payment[$a]['posted']; ?></td>
<td class="paymentContent" align="center"><?php echo $so->payment[$a]['modified']; ?></td>
Glad to hear it. :smile:
My settings are set to sendmail , I will try and get SMTP set up and working and test it that way.
Don't think it is spam , as the red cross is appearing in the update customer box etc . as if it never sent. Could it be a permissions thing ? I installed the easy Admin tool thing ( before super orders ) to create new users under admin , I have set myself and other user full perms to the super orders mod , but still no joy ! .
by offending dates - you mean find an order that has 2 payments, one with correct data and one with $0.00. and the dates should NOT match?
This is my most current order. This is the second payment created (YES in green payments bar) it now shows all 0's
$0.00 0000-00-00 00:00:00 0000-00-00 00:00:00
Unfortunitly, the manager told them to remove the other payment data that was not valid- so that is now the only one that i have showing 2 payments.
i told them to leave them be for now, becuase i need to look at them. so when the next order comes in, ill post what it says.
if this is a coding problem within my site, how will i track it down, and is there someone here that i can hire to fix it?
thanks again for your time BS- im sorry to be a pain..
Confirmation that SMTP does not batch while status update emails send fine.
:) Stupid me. Uncomment the following line found in admin/super_edit.php:toPHP Code:
//$update['customers_id'] = $_POST['customers_id'];
The original file comments out the above code as well Frank. Thanks for the support and the contrib! Take care,PHP Code:
$update['customers_id'] = $_POST['customers_id'];
Bjorn
Optional Edits QUESTION!
Blindside,
hay man
i setup some of the optional file edits. and i noticed something about the define for super orders in place of the standard orders.php system.
when im at the admin homepage, and i click on one of my new orders, it only takes me to the listing for new orders, it dont take me directly to that order that i selected.
I noticed that the link isnt that same as when i call them from super_orders itself.
is there any way to correct this? how do i change the link to go directly to a customers order.
action=edit?oid=
somthing like that?
when a customer pays by paypal and it auto updates the status of the order it appears that it si not actually applying the payment to the invoice total for this order (see below to understand what i meen as its awkward to explain)
basically as you can see in the picture below on the part marked as (A) we have recieved a paypal ipn payment but if you look at the part marked (B) that payment has not been applied to the account or the invoice total so this meens that according to (C) there is still £18.45 oustanding
is there any way to get this to auto update without me having to make a manual adjustment and apply the money manually??
http://www.modchipfitters.com/SUPER_ORDER_TOTALS.gif
nevermind i fixed it.
i changed the index.php under admin to add the fallowing action=edit&oid=
around line 171 (i have a customized index page) find the code
<div class="row"><span class="left"><a href="' . zen_href_link(FILENAME_ORDERS,
right after that you will see:
'oid='
change to
'action=edit&oid='
that will bring up the corrisponding order in super_orders.php
NOTE: you must have changed the OPTIONAL FILE EDIT for filenames.php in /includes/
you will have to manualy add the paypal payment to the order for now.
Blindside said that he already has that automated for the next release.
all of us have to do it for now. Its pretty simple. and really you dont want paypal data to be automated if you accept e-checks via paypal. they take about a week to clear, and your sales report would be incorrect if it was auto added.
just add the payment data into super orders and it will show you the correct ballance.
hope that helps.
ok thanx
just gonna be a bit of a pain when i gotta do it for 40-50 orders a day lol
any idea when the new release will be showing its head??
btw 1 other thing how can i add paypal to the drop down box when im applying a payment cause at the mo there cash cheque and various credit card types but no paypal
heres the box that i meen