Page 5 of 7 FirstFirst ... 34567 LastLast
Results 41 to 50 of 68
  1. #41
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Editing order details

    Quote Originally Posted by MikeyG View Post
    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.
    Nope, i just removed the mod..

  2. #42
    Join Date
    May 2005
    Posts
    535
    Plugin Contributions
    0

    Default Re: Editing order details

    Anyone got this working yet?

  3. #43
    Join Date
    Jun 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Editing order details

    Quote Originally Posted by Darkwander View Post
    I am getting the following error with the Edit Order mod.
    I am guessing that everyone who is seeing this error is running PHP 5. The problem is due to short open tags.

    edit_orders uses "short open tags" in many places. This is the style of enclosing PHP code in "<? ... ?>" instead of "<?php ... ?>". Short open tags have been deprecated in PHP 5.

    There are two possible solutions:

    1) Edit the php.ini file on the server and set "short_open_tag" to "On". This will allow the use of the tags in all PHP files on the server.

    2) Edit admin/edit_orders.php to change all "<? " tags to "<?php ". Here is a diff that shows where the changes need to be made.

    Code:
    772c772
    <       <?
    ---
    >       <?php
    839c839
    <               <td align='center' valign='top'><br><a href="<? print $PHP_SELF . "?oID=$oID&action=add_product&step=1"; ?>"><u><b><font size='3'><?php echo TEXT_DATE_ORDER_ADDNEW; ?> </font></b></u></a></td>
    ---
    >               <td align='center' valign='top'><br><a href="<?php print $PHP_SELF . "?oID=$oID&action=add_product&step=1"; ?>"><u><b><font size='3'><?php echo TEXT_DATE_ORDER_ADDNEW; ?> </font></b></u></a></td>
    917c917
    <             <? if($CommentsWithStatus) { ?>
    ---
    >             <?php if($CommentsWithStatus) { ?>
    919c919
    <             <? } ?>
    ---
    >             <?php } ?>
    960c960
    <         <?
    ---
    >         <?php
    983c983
    <           <? if($CommentsWithStatus) { ?>
    ---
    >           <?php if($CommentsWithStatus) { ?>
    987c987
    <           <? } ?>
    ---
    >           <?php } ?>
    1011c1011
    < <?
    ---
    > <?php
    1181c1181
    < <?
    ---
    > <?php
    Hopefully this will work for everyone. Good luck.

    Andy

  4. #44
    Join Date
    Jun 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Editing order details

    I think I found another bug. The instructions in the readme.txt say that the "details" button should take you to the old order description screen while the "edit" button should take you to the new screen. That didn't match the behavior I was seeing. Both buttons were taking me to the new edit screen.

    I changed the instructions in the readme.txt a little and things worked as expected. Basically the first search and replace has you change "FILENAME_ORDERS" to "FILENAME_ORDER_EDIT". I am pretty sure this is wrong. I changed it back to FILENAME_ORDERS and things seemed to work as expected. I haven't tested that modification throughly though. Caveat emptor.

    The readme.txt should read:
    Code:
    1) This add the "Details" button - see explanations below:
    
    FIND
    
    $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>');
    
    
    
    REPLACE WITH:
    
    $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_DETAILS) . '</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>');

  5. #45
    Join Date
    Jan 2007
    Posts
    59
    Plugin Contributions
    0

    Default Re: Editing order details

    this mod has alot of problem but no choice.. there is only 1 zen cart mod we hav here....
    unless some 1 willing to contribute the perfect 1 :)

  6. #46
    kelvyn Guest

    Default Re: Editing order details

    Whoever makes this mod tidy will be a popular person!

  7. #47
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Editing order details

    Any solutions to this one yet? Such a vital piece of the puzzle. I have to edit all orders before they even can be authorized because of our impossible shipping variables. We're working on learning a bit more about zen cart before we decide to fix edit orders or write a new one. Any help is appreciated!

  8. #48
    Join Date
    Apr 2005
    Location
    Minnesota
    Posts
    68
    Plugin Contributions
    0

    Default Re: Editing order details

    Quote Originally Posted by thoseguys26 View Post
    Any solutions to this one yet? Such a vital piece of the puzzle. I have to edit all orders before they even can be authorized because of our impossible shipping variables. We're working on learning a bit more about zen cart before we decide to fix edit orders or write a new one. Any help is appreciated!
    I'm in exactly the same boat. I need to edit orders, quantities, attributes and shipping costs at the very least. I'll be watching this thread in case anyone comes up with a solution. If I ever get my php skills (currently non-existing) up to snuff, I'll do my best. But that'll take a loooong time.
    Carly
    Sambu Kyuguten
    https://www.sambu-kyugu.com

  9. #49

    Default Re: Editing order details

    I too need this feature!

    I installed Edit Orders 1.1 mod yesterday and it works for me for the most part, however it won't send email after you edit the order.

    There is no 'edit' button either. I have to click on 'details', then have to click 'back', then click on 'details' again before I get to the edit screen.

    I wish I knew how to fix it, as there is ALWAYS someone wanting to change their order!

    TLC
    [FONT="Tahoma"]TLC Creations[/FONT]
    [FONT="Arial"]tlccreations.com[/FONT]

  10. #50
    Join Date
    Mar 2006
    Location
    Zevenbergen, NL
    Posts
    40
    Plugin Contributions
    0

    Default Re: Editing order details

    Also installed the Mod and having tax problems.
    Besides going to ex tax prices the tax for the shipping is not calculated.
    Another problem is with adding products.
    The added product defaults to english while the default language for the shop is dutch.

 

 
Page 5 of 7 FirstFirst ... 34567 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 5 Jan 2011, 07:34 PM
  2. Editing the Contact Details?
    By Ambitions in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 May 2010, 08:44 PM
  3. Editing shipping details if customer has multiple addresses
    By smoother in forum Managing Customers and Orders
    Replies: 1
    Last Post: 6 Apr 2010, 05:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR