New Zenner
- Join Date:
- Oct 2004
- Location:
- Sturgeon Bay, WI
- Posts:
- 80
- Plugin Contributions:
- 0
Editing order details
Sorry can't help with super orders. Just stand alone edit orders :(
Views: 28,371
New Zenner
Sorry can't help with super orders. Just stand alone edit orders :(
Zen Follower
hi all,
In the Downloads section, someone has uploaded a bug-fixed version of Edit Orders and its compatible with the latest Zen Cart. Check it out here! I installed it and its working BUT I didn't yet test the 'Notify Customer' function...
Zen Follower
But still one issue though... EO did not display the attribute of one product! This is very important as we need to see also the product that we want to edit or delete...What happen if one particular order having products that has attributes on it and it would be difficult to determine if among the products are the same product but different attributes?! :wacko: ehm, I just noticed that the fixed EO was uploaded by soapin_mama! TQ for the hardwork...:D
Zen Follower
Well, there were still a lot of issues to your EO soapin_mama! I used EO together with the built-in orders administration. When we adding a product that has attributes with prices, somehow the EO wont update the price to the existing order and causing the '**sub total' **and 'total' to display in $ sign, not the default currency. When I preview the order using the built-in orders admins, attribute is not displayed and the price shown is zero. [ see Image1 ].
Zen Follower
tajul_ashyqin:
Well, there were still a lot of issues to your EO soapin_mama! I used EO together with the built-in orders administration. When we adding a product that has attributes with prices, somehow the EO wont update the price to the existing order and causing the '**sub total' **and 'total' to display in $ sign, not the default currency. When I preview the order using the built-in orders admins, attribute is not displayed and the price shown is zero. [ see Image1 ].
forgot to attach the image! :D
New Zenner
Hi guys,
I know you are working hard on this! Just wanted to confirm if the edit orders is working or not at the moment?
Thanks guys!
Best Regards,
Chris
Zen Follower
as you can see on my previous posts, we need to fix a lot of bugs...:yes:
New Zenner
soapin_mama:
The old version of edit orders does infact work.
In the readme file you are instructed to find and replace in admin/orders.php don't use that info. Use the below
all you need to do is find line 770 or...
$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>');
and change the FILENAME_ORDERS to FILENAME_ORDER_EDIT
I also added this just below the above line which links to the order shipment tracking mod if you have it installed:
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_TRACK, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_orders_tracking.gif', IMAGE_EDIT) . '</a>');
Thanks so much, I have just moved over from Cubecart which I have been using for about three years and the option of editing orders was vital, this has really saved my bacon. Tried to install it last night but needed this edit to get it to work.
As usual a great service from the forum - wish I had found Zen sooner!
H
New Zenner
Just checking in to see what the status on this mod is... sounds like just what I need, but also sounds as if there were some bugs. I downloaded the version dated 1/7/07, but looks as if this is the one that still has some issues. Thanks for any info - this would be great to use!
New Zenner
Has anyone else had trouble with edit orders not including tax in the subtotal?
New Zenner
The fix for me, to get edit orders to include Tax (GST Australia) is this:
edit admin/orders.php
Find:
$RunningSubTotal += $products_details["qty"] * $products_details["final_price"];
Replace:
$RunningSubTotal += $products_details["qty"] * ($products_details["final_price"] + ($products_details["final_price"] * ($products_details["tax"]/100)));
Find:
$RunningSubTotal += ($order->products[$i]['qty'] * $order->products[$i]['final_price']);
Replace:
$RunningSubTotal += ($order->products[$i]['qty'] * ($order->products[$i]['final_price'] + ($order->products[$i]['final_price'] * ($order->products[$i]['tax'] / 100))));
Hope this helps someone.
Reuben
New Zenner
Issues that I can see with this contrib are:
Is anyone else having these problems with EO?
Reuben
New Zenner
I noticed also that Edit Orders does not deduct funds from a customer's gift certificate if you modify the gift certificate amount from the edit orders window.
New Zenner
Anyone got this module work with stock by attribute and group discount?
Thanks!
Totally Zenned
mkm:
Anyone got this module work with stock by attribute and group discount?
Thanks!
I installed this mod yesterday. Worked perfect. I then installed the Stock by Attribute mod and now Edit Orders does not work. Hopefully someone knows how to fix this?
New Zenner
Anyone got this module work with stock by attribute and Super Orders? I install this mod and it won't work at all. Using Zen Cart 1.3.7. If anyone has this working inlighten me please.:blush:
Zen Follower
I am getting the following error with the Edit Order mod.
Parse error: parse error, unexpected $end in C:\Program Files\EasyPHP 2.0b1\www\Shop\admin\edit_orders.php on line 1312
require(DIR_WS_INCLUDES . 'application_bottom.php');
?>
Totally Zenned
One problem I have with this mod....It doesn't show me the customer credit card number so I can actually process the order. It shows me the last 4 but that doesn't exactly help, since I only get sent the middle digits in email. So where do I find the credit card number now?
Zen Follower
Darkwander:
I am getting the following error with the Edit Order mod.
I am still having the same problem..
Anyone have any ideas?
Totally Zenned
Darkwander,
I have had the same issue but at line 929. ( I know that does not solve the problem). I also noted that that file Orders.php does not have that many lines
I have been back through my files this morning doing a compare and removing several mods and agree it does seem to be this mod causing the problem. Originally it seemed to fall over when adding a product with attributes, now it fails to get to the first page.
Have you had any joy?
MG
p.s. frogster, Khopek agree it relates to stock by attributes as my compare software pulled all those elements out of the orders.php file I had.
Tell staff why this post should be reviewed.