1. Hi i would like to edit the orders . is There any way i can edit the customers orders form th admin side. iam using zencart 1.3.7.
2. i would also like to editing the invoice so that i could add comments on the invoice.
1. Hi i would like to edit the orders . is There any way i can edit the customers orders form th admin side. iam using zencart 1.3.7.
2. i would also like to editing the invoice so that i could add comments on the invoice.
Search for the mod called Edit Orders in the download section. Does exactly what you're looking for...
Been there, done that, but when I tried it out I got a 404 message that said can't find FILENAME_ORDER_EDIT on this server. I looked at the text file and it says to replace two sections of code, in admin/orders.php, which I did very carefully. However, I noticed that the only file that is close is EDIT_ORDERS, and it's inside the edit_orders/admin folder. The instructions were to upload the files to my store, but it didn't say where, nor in which folder. Since the error FILENAME_ORDER_EDIT that can't be found is being sought in the admin folder, are all files to be dumped into admin?
Thanks for your help, FR
All you need to do is upload the folder called 'admin' in the Edit Orders Mod to your shop directory. For example, if your shop directory is 'store' you would upload the folder there. Then follow the instructions to edit the orders.php file.
You should have the 'orders.php' file... are you sure you couldn't find it?
Actually, the file it was looking for doesn't exist. The error message said FILENAME_ORDER_EDIT couldn't be found. The file inside the package I installed is edit_orders.php, inside the admin directory. What I am assuming is that the order should be reversed on the changes that are made to the admin/orders.php file.
The file in question is called for when I click on the edit button in a customer's order.
I didn't see anything that looked different when I pulled up a customer's order, so I'm assuming that the access that this file creates shows up when I click on the edit button.
Thanks for your help.
An afterthought and it was too late to edit the post....
So that I understand correctly, I remove the admin folder from the edit_orders folder and put it in the root?
Thx, Shep
Yes, that would be correct. I would say though to make sure to compare the files if you have other mods installed to make sure Edit Orders won't overwrite something.
I do remember this when I first installed...However mine works fine right now and everything is the same..Actually, the file it was looking for doesn't exist. The error message said FILENAME_ORDER_EDIT couldn't be found. The file inside the package I installed is edit_orders.php, inside the admin directory. What I am assuming is that the order should be reversed on the changes that are made to the admin/orders.php file.
The file in question is called for when I click on the edit button in a customer's order.
I didn't see anything that looked different when I pulled up a customer's order, so I'm assuming that the access that this file creates shows up when I click on the edit button.
I will however post the Modified Readme file that I have. (found in the Edit Order Issues thread)
Also if you go into the Edit Orders Issues thread HEREedit orders 1.2.6 Nov 12th 2007
unzip
copy and upload admin directory
edit admin/orders.php
Note first change is NOT the same as in readme, but what we want instead; to just rename the button
Replace line:
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete', 'NONSSL') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
With the code:
// ====> BOF: Edit Orders 1.2.6 <====
// $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete', 'NONSSL') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_details.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete', 'NONSSL') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
// ====> EOF: Edit Orders 1.2.6 <====
Replace line:
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
With the code:
// ====> BOF: Edit Orders 1.2.6 <====
// $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDER_EDIT, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
// ====> EOF: Edit Orders 1.2.6 <====
you might find more help. I don't know much compared to alot of them, in fact they just helped me resolve an issue I was having![]()
Nope, that dog won't hunt! I did everything very carefully and still got the same message: Not Found
The requested URL /shepherdadmin-348/FILENAME_ORDER_EDIT.php was not found on this server.
I changed the name of my admin file for security reasons, and it is looking for the file there. I think that would be a configure issue, since this is the code in the shepherdadmin-348/orders.php file that it's calling for.
<a href="' . zen_href_link(FILENAME_ORDER_EDIT, zen_get_all_get_params
I've looked in my admin/config file and don't see a separate designation for orders. Can I just hard code it in the orders file, instead of using . zen_href_link? I'm not very familiar with PHP, so would that be . admin(FILENAME_ORDER_EDIT, ?
Still scratching......