Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

djmonkey1

Pioneers
  • Posts

    2,114
  • Joined

  • Last visited

1 Follower

About djmonkey1

  • Birthday 02/28/1977

Profile Information

  • Real Name
    Stew
  • Gender
    Male
  • Location
    Charlottesville, VA

Recent Profile Visitors

18,375 profile views

djmonkey1's Achievements

  1. Hey djmonkey1,

    Is Order editor compatible with Product Attributes - Option Type Feature?

    Thanks for your time,

    FLIBIU

  2. 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.
  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. There is nothing to remove per se. Just follow the instructions that I've posted.
  10. 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.
  11. 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.
  12. 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'].
  13. I cannot recreate this problem on my testing server. Are you using AJAX to submit the new comments?
×
×
  • Create New...