Latest News: (loading..)

djmonkey1

Members
  • Content count

    2,114
  • Joined

  • Last visited

3 Followers

About djmonkey1

  • Birthday 02/28/1977

Profile Information

  • Real Name
    Stew
  • Gender
    Male
  • Location
    Winchester, VA
  • Interests
    Computers, monkeys, and ice cream.
  • Website
  1. As far as I know Order Editor doesn't do anything to the delete button or it's functionality. All of that is contained within admin/orders.php which is only changed minimally. Undo the changes that you made and start over.
  2. Excellent! You're welcome!
  3. Have you modified anything at all in the file or is it fresh out of the contribution package?
  4. Do you get the error from every tooltip, a few of them, or just one?
  5. There are all sorts of things that you can mess up- that's what backups are for. :) Everybody makes mistakes. You'll learn a lot as you go.
  6. The installation instructions include steps for upgrading from previous versions. Look for this header:
  7. At the top of the file admin/edit_orders.php there should be a line similar to this: $Id: edit_orders.php v5.0.5 08/27/2007 djmonkey1 Exp $ where v5.0.5 is the version number. Unfortunately that is not always updated with every revision, but it should give you a fairly good idea of what you have.
  8. Not that I'm aware of. I've been concentrating on the standard version.
  9. Yes, that's correct, admin/edit_orders_ajax.php
  10. There is nothing to remove per se. Just follow the instructions that I've posted.
  11. Find the following code in both edit_orders.php and edit_orders_ajax.php: for ($i=0, $n=sizeof($order->totals); $i<$n; $i++) { $email_order .= strip_tags($order->totals[$i]['title']) . ' ' . strip_tags($order->totals[$i]['text']) . "\n"; } and edit it to make it exclude any undesired elements; I recommend using the ot_class value of the component to do this. For instance if you wanted to exclude the the subtotal you would change it to for ($i=0, $n=sizeof($order->totals); $i<$n; $i++) { if (strstr($order->totals[$i]['class'], 'ot_subtotal')) continue; $email_order .= strip_tags($order->totals[$i]['title']) . ' ' . strip_tags($order->totals[$i]['text']) . "\n"; } You can find the class value of each component stored in the orders_total table.
  12. Open admin/edit_orders_ajax.php, find '" . oe_iconv($_GET['comments']) . "')"); change it to '" . tep_db_input(oe_iconv($_GET['comments'])) . "')"); and see if it works any better.
  13. What I would do is take the function count_store_contents() as it is defined in that file: function count_store_contents() { $count = 0; foreach($this->internal_get_store_products() as $key => $product) $count += $product['quantity']; return $count; } and add it to admin/order_editor/cart.php. Then you can test it out and see what you get, most likely a similar error identifying another missing function. Add that one in the same manner and continue in this way until the errors dry up. It will take some fiddling with to get it right. You will probably have to mess with the variable names used as well, for instance I don't think $product['quantity'] has any value in the Order Editor cart.php file, I believe it's actually $this->contents[$products_id]['qty'].
  14. I cannot recreate this problem on my testing server. Are you using AJAX to submit the new comments?
  15. Find in admin/edit_orders.php all three instances of <?php if (ORDER_EDITOR_USE_AJAX != 'true') { ?> <!-- Begin Update Block, only for non-ajax use --> <div class="updateBlock"> <div class="update1"><?php echo HINT_PRESS_UPDATE; ?></div> <div class="update2"> </div> <div class="update3"> </div> <div class="update4" align="center"><?php echo ENTRY_SEND_NEW_ORDER_CONFIRMATION; ?> <?php echo tep_draw_checkbox_field('nC1', '', false); ?></div> <div class="update5" align="center"><?php echo tep_image_submit('button_update.gif', IMAGE_UPDATE); ?></div> </div> <br> <br> <!-- End of Update Block --> <?php } ?> and change each to <!-- Begin Update Block, only for non-ajax use --> <div class="updateBlock"> <div class="update1"><?php echo HINT_PRESS_UPDATE; ?></div> <div class="update2"> </div> <div class="update3"> </div> <div class="update4" align="center"><?php echo ENTRY_SEND_NEW_ORDER_CONFIRMATION; ?> <?php echo tep_draw_checkbox_field('nC1', '', false); ?></div> <div class="update5" align="center"><?php echo tep_image_submit('button_update.gif', IMAGE_UPDATE); ?></div> </div> <br> <br> <!-- End of Update Block --> Be careful when editing the third instance as the php tag <?php } //end if (ORDER_EDITOR_USE_AJAX == 'false') { echo '</form>'; } ?> that closes the if statement "if (ORDER_EDITOR_USE_AJAX != 'true')" is used for other purposes, so you would not delete the php tag, just the first curly brace }.