Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

About jodes

Profile Information

  • Real Name
  • Gender
  • Location
  1. bump...anyone? thanx Jodie
  2. Hi Guys, Just wondering if anyone knows if there is a contribution for listing stockists on your site - I've done a general php page but i am hoping to be able to control our list more on the back end. eg enter a pharmacy name, address and phone number of the company that is stocking our product. Thanks Jodes
  3. Hi Leslie & Sam, I took a copy of the new orders that came in and then got the webhosts to restore the backup they had on their server....its fixed it....Very Weird. Don't know why i didn't think of that earlier. Thanks For your help. Jodes
  4. Ok, the module is: Step-By-Step Manual Order Entry It doesn't make sense, that only one file was modified, and then when the error occured the original file (back up file) was put straight back over the top and the error stayed. I don't think its a module thing, because all the code is the same as our other sites...... Would it help if i pasted the create_order.php file & the sessions file? Thanks Jode
  5. Hi Leslie, It happens only when i try to access the create_order.php file through the admin section. Thanks Jodes
  6. Hi Sam, Thanks for replying so quick - I just double checked but nope the files are under the correct directories....? is just like it broke that one file? even though its exactly the same..? Jodes
  7. Hi Guys, My husband was making a slight change to the create_order.php file today and when he uploaded it he received. He then uploaded the original back up file of create_order.php but is still getting message? There was no other files modified, so i'm puzzled as to why its now broke. Can anyone help point me in the right direction? I've looked at the session.php files and there was definately no files change to these ones either. And code looks the same as one of our other websites. This is a functioning site so if anyone can provide assistance asap that would be so great & greatly appreciated. Cheers Jodes
  8. Just noticed that it didn't allow the cart to be updated when you click the update button, so i just moved it to a different spot - I've updated it in the contribution file. Thanks Jodie
  9. Hi Sit and Spin, Just wanted to thank you for fix in the contribution for 2.2ra. Works great now! Thanks again Jodes
  10. Yes, exactly - nothing fancy just something to make it a little easier when processing orders for the day. I tried to edit a couple of the other batch print modules, but i'm not a coder (although can find my way about) and haven't had any experience with the PDF programs so don't understand exactly how they function, but had no luck. Thanks again for your help. Jodes
  11. Hi Chris, Firstly, Fantastic Mod. Love it! Easy to modify too. A quick question, any plans for a batch print option - using FPDF in the future? Thanks for all your hard work and continued support on this mod. Jodes
  12. Hi guys, I had this mod working really well on my old site, however - I have had to upgrade to the latest version of Oscommerce and tried to install/uninstalled it (several times now) but can't for the life of me get it to work. It just won't appear at all either logged in or not.??? I even copied over my old files from my other site and still couldnt'get it to work in the new site. So, I guess my question is - Does anyone know if this mod works with 2.2rc2a ( osCommerce Online Merchant v2.2 Release Candidate 2a) Its an easy mod, so i cant figure out why i'm having so many probs. Thanks Jodes BTW - its enabled etc. :o)
  13. Hi, I found the same thing with the headings for this module and found the soloution in another section of this forum. solution was posted by brian aka dootch. One small thing about line 72 in admin/members.php change <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> to <td class="pageHeading"><?php echo HEADING_TITLE_MEMBERS; ?></td> and in admin/includes/languages/english.php change define('HEADING_TITLE', 'Member approval'); to define('HEADING_TITLE_MEMBERS', 'Member approval'); This only puts this heading in the Waiting for Approval section not all over the place.... HTH Jodes
  14. Update: I found out that the data is sent to migs first before the order id is created and that's why my code wasn't working. I asked about using the credit card holder name or something similar for the Order number but apparently it is against migs' policy & procedures. Oh well hopefully the code may be able to help someone else in some way. :-" jodes
  15. Hi, I would like to add the option when i change the status in my batch update to shipped it sends an email to the customer. The status is updating correctly but its just not sending the email out. I've tried the following code but i think i might have something wrong in the if statement. Hopefully someone might be able to help me out...? i feel like i'm just going round in circles now. Cheers Jodes <?php /* batch-invoice-printing-v1.1 2004-12-18 by */ require('includes/application_top.php'); require(DIR_WS_CLASSES . 'currencies.php'); include(DIR_WS_CLASSES . 'order.php'); $target_file = $HTTP_POST_VARS['target_file']; unset($batch_order_numbers); if($HTTP_POST_VARS['batch_order_numbers']){ foreach($HTTP_POST_VARS['batch_order_numbers'] as $order_number => $print_order) { $batch_order_numbers[] = $order_number; } } // begin error handling if (!(is_array($batch_order_numbers))){ exit('Error: no orders selected!'); } //if (!(is_file($target_file))){ //exit('Error: target file does not exist!'); //} // end error handling sort($batch_order_numbers); $number_of_orders = sizeof ($batch_order_numbers); if($target_file == 'labels') { header ("Content-type: application/csv\nContent-Disposition: \"inline; filename=customers.csv\""); echo "Name,Company,StreetAddress,Suburb,City,State,Postcode,Country \n"; foreach ($batch_order_numbers as $order_number) { $oID = $order_number; $oID = tep_db_prepare_input($oID); $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'"); $order = new order($oID); echo "" . $order->customer['name'] . "," . $order->customer['company'] . "," . $order->customer['street_address'] . "," . $order->customer['suburb'] . "," . $order->customer['city'] . "," . $order->customer['state'] . "," . $order->customer['postcode'] . "," . $order->customer['country'] . "\n"; } } else { ;?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE . $autostatus; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <?php $firstinvoice=1; foreach ($batch_order_numbers as $order_number) { if($firstinvoice) { $firstinvoice = 0; } else { echo '<br style="page-break-before:always;">'; } $oID = $order_number; include('print_batch_invoice.php'); if($autoupdatestatus=='Yes') { tep_db_query("insert into " . TABLE_ORDERS_STATUS_HISTORY . " (orders_id, orders_status_id, date_added, customer_notified, comments) values ('" . (int)$oID . "', '" . tep_db_input($autostatus) . "', now(), '" . tep_db_input('0') . "', '" . tep_db_input('') . "')"); tep_db_query("update orders SET orders_status='" . tep_db_input($autostatus) . "' WHERE orders_id='" .$oID . "'"); if (isset($HTTP_POST_VARS['autoupdatestatus']) && ($HTTP_POST_VARS['autoupdatestatus'] == 'Shipped')) { $autoupdatestatus = sprintf(EMAIL_TEXT_COMMENTS_UPDATE, $comments) . "\n\n"; } $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); tep_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); $customer_notified = '1'; } } } ?> </BODY></HTML> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>