Jump to content

Gidgidonihah

Members
  • Content count

    54
  • Joined

  • Last visited

Everything posted by Gidgidonihah

  1. Gidgidonihah

    Google Analytics module

    Just a little error I noticed. I haven't had time to test it much and/or fix the error, but I did a quick purchase on my site with css disable to see what the form it was submitting on the 'Thank You' page looked like and to make sure everything was correct. I don't know if this has something to do with the will call contrib that I have (if the shipping address is in-state you can opt for will-call), but when I changed my address to the secondary address to enable will-call, on the 'Thank You' page the form was filled out with the primary address. Obviously that was not the address I had chosen as my ship-to. Just thought I would report that here in case anybody wants to check that out.
  2. Hey homewetbar, I know what you mean by having a highly modified site. That's why I haven't gotten my update done yet. But what I do is obviously have a test server on my computer on which i do the coding. And there I have 2 installations of oscommerce. One that mirrors my running site, and one that I keep as a fresh install to test stuff out. Just an idea.
  3. Good job on that. I have been planning on creating an update (i have it working on my site, but haven't got it in such a way i can upload as a contrib) that did that with the s. Not the major feature of my addition though. That will be a google type spelling suggestion. Actually done by google. If no results were found, it connects to google via a soap connection and asks for spelling suggestions for the searched word and returns a link to search for the replacement if there is one. Unfortunately before I changed it all I decided I wasn't going to need the admin part of it since it was automatic. I was wrong. There are still instances where I need to set up my own suggestions. So as soon as I get some time to put that back in and update it so it can be uploaded as a contrib, I will. I Also, your todo list doesn't seem to be too difficult, so if I get some time I will try to do those as well. Problem being... Time. I have none that I don't spend actually getting paid or recreationally. Hopefully soon tho....
  4. Gidgidonihah

    Option Type Feature v1.6 (for osc 2.2 MS2)

    I second that call for someone to update this contrib to the new release of osc. I was in the process of updating it and came across that part. I could probably hack my way through, but i'd probably end up just screwing up my store so I'm just going to hope someone else can figure it out. Let us know when you've got it!
  5. Gidgidonihah

    Customer Specific Payment Options

    Okay yeah, that might helped me out, thanks. I just realized what a freaking moron I am. I forgot to make $customer_id a global which is why I couldn't use it in the constructor. Thanks for your help.
  6. I wrote my own hack that only allows the COD payment module to be shown for a customer if it is turned on for that specific customer in the admin. The problem with this is that I have to pass the customer id number to the constructor of the payment class and in doing so for some reason the cc payment module will now accept ANYTHING as a valid credit card number. I really have no idea what would cause this or where to start so any ideas or help would be greatly appreciated.
  7. Gidgidonihah

    Option Type Feature v1.6 (for osc 2.2 MS2)

    I searched around a bit for the answer to my problem, but wasn't able to find it. Here is what it is. I have an item with text boxes and a text area. I fill them out and add it to the cart. Then I click on the item becuase I want to change what it says in the textarea. The link takes me back to the item with all the attributes correctly filled in EXCEPT for the textarea. The textboxes work fine, but the textarea doesn't have anything in it. Any help would be appreciated. Thanks.
  8. Gidgidonihah

    Who's Online Enhancement 1.4

    Woah, ok. I turned off force cookie usage because of a seperate problem that I'm having with my SSL (with ssl and force cookie usage on it sends me to the cookie usage page) and now it shows my user agent. I haven't seen it with a bot on the site yet, but i assume that if it shows MY user agent, it will show the user agent of the bot. How can we fix this so we can have force cookie usage on AND have the user agent work?
  9. Gidgidonihah

    Who's Online Enhancement 1.4

    Yes, I do. How does that affect it?
  10. Gidgidonihah

    Who's Online Enhancement 1.4

    OK the last url works, but bots are still not showing up. Here is a profile view while the googlebot was visiting my site like you asked.
  11. Gidgidonihah

    Who's Online Enhancement 1.4

    Ed, I checked out what you suggested and realized that i had failed to do both :blush: After making those changes the referer url is now being recognized, however both the user agent and last url remain blank. I haven't had a bot on yet, but i'll post back when I do. The way that I know it is a bot is that I lookup the ip and it comes back to google inc or microsoft or inktomi. As for the ip address, i worded it wrong. I know it doesn't associate a ip address with the bot, but what i was saying is that it wouldn't be the code that he had given me (which grabs the ip address) because the ips were showing up. if that makes any sense... Anyway, i'll update if anything changes (or a bot shows up), thanks
  12. Gidgidonihah

    Who's Online Enhancement 1.4

    Okay, first, what do you mean it is unrelated with WOS? WOS is not working correctly so one way or another it's related to it. Second, I don't think it's a problem with the bit of code you mentioned because generally the ip address shows up, what it's not doing is associating it with a bot. It just appears as a normal customer would. Another thing I just noticed is that in the profile view it shows no session id, but on the bar below session it has a 'Y'. I'm going to go ahead and try reinstalling the contrib when I get a chance and see if that works. I'll post back with any updates. Now you could be very right about it being a problem with something else installed. We should check into that. Everything was working fine with mine with version 1.6. It was when i upgraded to 1.7.1 that I started having problems. I have a hefty list of contributions installed on my site. Check the sig for the list and anyone else tell us if you also have any of those installed that could be or isn't causing a problem.
  13. Ok, so i've written my own little contribution that deals with images. First It allows you to have anywhere from 0-6 images and second it keeps thumbnails in the standard folder and grabs the large popup image from a folder named 'large' Everything works beautifully, now I would just like to integrate it into the admin area. I want to add extra optional file fields for both the thumbnail and the large images for up to 6, but I don't know exactly what the code for this is. I want it to look something like this: Product Image: [ (thumbnail ] browse [ (large image uploaded to large folder) ] browse Product Image 2: [ (thumbnail ] browse [ (large image uploaded to large folder) ] browse etc.... Any help would be greatly appreciated. Thank you.
  14. Gidgidonihah

    Who's Online Enhancement 1.4

    Okay, I just checked this out and noticed that I'm having the same problem that many others are. It shows bots as any other customer. If I have profile view open, the unidentified bot has no session id nor does it have a user agent. That hints that it's not a problem with spiders.txt because the bots are correctly not being given a session id. I also have another problem. For some reason the last url clicked and the refferer sections are simply left blank. Does anyone else have this problem? Hopefully we can get this all sorted.
  15. Gidgidonihah

    Fancier Invoice & Packingslip v1.0

    If your browser, or any customer's for that matter, is set up to not print the background images or colors, then those images/colors won't appear on the printed copy.
  16. Ok, so i've written my own little contribution that deals with images. First It allows you to have anywhere from 0-6 images and second it keeps thumbnails in the standard folder and grabs the large popup image from a folder named 'large' Everything works beautifully, now I would just like to integrate it into the admin area. I want to add extra optional file fields for both the thumbnail and the large images for up to 6, but I don't know exactly what the code for this is. I want it to look something like this: Product Image: [ (thumbnail ] browse [ (large image uploaded to large folder) ] browse Product Image 2: [ (thumbnail ] browse [ (large image uploaded to large folder) ] browse etc.... Any help would be greatly appreciated. Thank you.
  17. Gidgidonihah

    Option Type Feature v1.6 (for osc 2.2 MS2)

    Yeah, that is very much possible, and the code would probably be pretty easy to do also, but I'm not doing that nor have I looked into it. But, if nobody else gives you the answer i may be able to work up some code for you real quick.
  18. Gidgidonihah

    Option Type Feature v1.6 (for osc 2.2 MS2)

    Dani, buddy, this is a simple one. It is trying to insert those values into your database, but the columns don't match up. So see what columns you have and what it is trying to put in and match them up.
  19. Gidgidonihah

    Fancier Invoice & Packingslip v1.0

    Okay, so I have to say I love this contrib, thanks pop. But now I decided I want to have the rma returns contrib too and it kind of conflicts with this on the account_order_info.php page. I posted about it on that forum if anybody would be willing to help me out. Here is the link: http://forums.oscommerce.com/index.php?sho...=61077&st=375 Thanks a ton!
  20. Gidgidonihah

    RMA Returns error for 2.2 MS2

    Okay so I have got everything installed but the account_history_info.php and this is because I have the "Fancier Invoice & Packingslip v1.0" contrib installed. The installation instructions say: Which I don't have in my file because of the contrib. This is what my code looks like: <?php /* $Id: account_history_info.php,v 6.1 2005/06/05 23:03:52 PopTheTop Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // BEGIN Fancier Order Details & Print Invoice require('includes/application_top.php'); define('IMAGE_BUTTON_PRINT_ORDER', 'Print Invoice'); if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } if (!isset($HTTP_GET_VARS['order_id']) || (isset($HTTP_GET_VARS['order_id']) && !is_numeric($HTTP_GET_VARS['order_id']))) { tep_redirect(tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL')); } // Begin RMA Returns System - added order status ID to query $customer_info_query = tep_db_query("select customers_id, orders_status from " . TABLE_ORDERS . " where orders_id = '". (int)$HTTP_GET_VARS['order_id'] . "'"); $customer_info = tep_db_fetch_array($customer_info_query); $orders_status = $customer_info['orders_status']; if ($customer_info['customers_id'] != $customer_id) { tep_redirect(tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL')); } // End RMA Returns System require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_HISTORY_INFO); $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_ACCOUNT, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL')); $breadcrumb->add(sprintf(NAVBAR_TITLE_3, $HTTP_GET_VARS['order_id']), tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $HTTP_GET_VARS['order_id'], 'SSL')); require(DIR_WS_CLASSES . 'order.php'); $order = new order($HTTP_GET_VARS['order_id']); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <?php // BOF: WebMakers.com Changed: Header Tag Controller v1.0 // Replaced by header_tags.php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <title><?php echo HEADING_TITLE; ?> :: <?php echo TITLE; ?></title> <?php } // EOF: WebMakers.com Changed: Header Tag Controller v1.0 ?> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <script language="javascript"> <!-- function popupPrintReceipt(url) { window.open(url,'popupPrintReceipt','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re sizable=yes,copyhistory=no,width=750') } //--> </script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <TD ALIGN="right" VALIGN="top" class="order_history_top"><?php echo HEADING_ORDER_NUMBER; ?> <?php echo $HTTP_GET_VARS['order_id']; ?><BR><?php echo tep_date_long($order->info['date_purchased']); ?></TD> </tr> <tr> <td VALIGN="top"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <TD> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="4"> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="10%"><hr size="2"></td> <td align="center" class="pageHeading" NOWRAP><em><b><?php echo HEADING_TITLE2; ?></b></em></td> <td width="100%"><hr size="2"></td> </tr> </table> </td> </tr> <tr> <td colspan="4"><?php echo tep_draw_separator('pixel_trans.gif', '100', '5'); ?></td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="images/borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="images/borders/maingrey_02.gif"><img src="images/borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="images/borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="images/borders/maingrey_04.gif"><img src="images/borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="main"> <tr> <td align="left" valign="top" class="order_infobox_heading"><b><?php echo HEADING_BILLING_ADDRESS; ?></b></td> </tr> <tr> <td class="order_infobox_data"> <?php echo tep_draw_separator('pixel_trans.gif', '1', '5'); ?></td> </tr> <tr> <td class="order_infobox_data"> <?php echo tep_address_format($order->customer['format_id'], $order->customer, 1, '', '<br> '); ?></td> </tr> <tr> <td class="order_infobox_data"> <?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="order_infobox_data"> <?php echo $order->customer['telephone']; ?></td> </tr> <tr> <td class="order_infobox_data"> <?php echo $order->customer['email_address']; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '7'); ?></td> </tr> </table> </td> <td background="images/borders/maingrey_06.gif"><img src="images/borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="images/borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="images/borders/maingrey_08.gif"><img src="images/borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="images/borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table> </td> <td width="15"> </td> <td valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="images/borders/mainwhite_01.gif" width="11" height="16" alt=""></td> <td background="images/borders/mainwhite_02.gif"><img src="images/borders/mainwhite_02.gif" width="24" height="16" alt=""></td> <td width="19"><img src="images/borders/mainwhite_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="images/borders/mainwhite_04.gif"><img src="images/borders/mainwhite_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td align="left" valign="top" class="order_infobox_heading"><b><?php if (($order->info['shipping_method'])== METHOD_WILL_CALL){echo ENTRY_PICKUP_AT;}else echo HEADING_DELIVERY_ADDRESS; ?></b></td> </tr> <tr> <td class="order_infobox_data"> <?php echo tep_draw_separator('pixel_trans.gif', '1', '5'); ?></td> </tr> <tr> <td class="order_infobox_data"> <?php if (($order->info['shipping_method'])== METHOD_WILL_CALL){echo STORE_NAME_ADDRESS_INVOICE;}else echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br> '); ?></td> </tr> <tr> <td class="order_infobox_data"> <?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="order_infobox_data"> </td> </tr> <tr> <td class="order_infobox_data"> </td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '7'); ?></td> </tr> </table> </td> <td background="images/borders/mainwhite_06.gif"><img src="images/borders/mainwhite_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="images/borders/mainwhite_07.gif" width="11" height="18" alt=""></td> <td background="images/borders/mainwhite_08.gif"><img src="images/borders/mainwhite_08.gif" width="24" height="18" alt=""></td> <td><img src="images/borders/mainwhite_09.gif" width="19" height="18" alt=""></td> </tr> </table> </td> </tr> </table> </TD> </tr> <tr> <TD><?php echo tep_draw_separator('pixel_trans.gif', '100', '15'); ?></td> </tr> <tr> <TD> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="2"> </td> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="images/borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="images/borders/maingrey_02.gif"><img src="images/borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="images/borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="images/borders/maingrey_04.gif"><img src="images/borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td class="order_infobox_data"> <b><?php echo HEADING_ORDER_NUMBER; ?>:</b> <?php echo $HTTP_GET_VARS['order_id']; ?><br><?php echo tep_draw_separator('pixel_trans.gif', '100', '6'); ?><br> <b><?php echo HEADING_ORDER_DATE; ?></b> <?php echo tep_date_short($order->info['date_purchased']); ?></td> <?php if (tep_not_null($order->info['cc_number'])) { $this->cc_card_number_less_middle_digits = substr($order->info['cc_number'], 0, 4) . str_repeat('x', (strlen($order->info['cc_number']) - 8)) . substr($order->info['cc_number'], -4); ?> <td align="right" class="order_infobox_data"> <b><?php echo HEADING_PAYMENT_METHOD; ?></b> <?php echo $order->info['payment_method']; ?> (<?php echo $order->info['cc_type']; ?>)<br><?php echo tep_draw_separator('pixel_trans.gif', '100%', '6'); ?><br> <b><?php echo ENTRY_PAYMENT_CC_NUMBER; ?></b> <?php echo $this->cc_card_number_less_middle_digits; ?></td> <?php } else { ?> <td align="right" class="order_infobox_data"> <b><?php echo HEADING_PAYMENT_METHOD; ?></b> <?php echo $order->info['payment_method']; ?> </td> <?php } ?> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '7'); ?></td> </tr> </table> </td> <td background="images/borders/maingrey_06.gif"><img src="images/borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="images/borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="images/borders/maingrey_08.gif"><img src="images/borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="images/borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <TD><?php echo tep_draw_separator('pixel_trans.gif', '100%', '20'); ?></td> </tr> <tr> <td align="center"> <table border="0" width="99%" cellspacing="0" cellpadding="2"> <tr class="product_infobox_heading_row"> <td class="product_infobox_heading" colspan="2"> <font color="#000000"><?php echo PRODUCTS; ?></font></td> <td WIDTH="80" class="product_infobox_heading"><font color="#000000"><?php echo SKU_OR_MODEL; ?></font></td> <td WIDTH="80" class="product_infobox_heading" align="right"><font color="#000000"><?php echo UNIT; ?></font></td> <TD WIDTH="80" ALIGN="right" CLASS="product_infobox_heading"><font color="#000000"><?php echo TOTAL; ?></font> </TD> </tr> <?php for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) { echo ' <tr class="product_infobox_data_row">' . "\n" . ' <td class="product_infobox_data" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="product_infobox_data" valign="top">' . $order->products[$i]['name']; if (isset($order->products[$i]['attributes']) && (($k = sizeof($order->products[$i]['attributes'])) > 0)) { for ($j = 0; $j < $k; $j++) { echo '<br><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value']; if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')'; echo '</i></small></nobr>'; } } echo ' </td>' . "\n" . ' <td WIDTH="80" class="product_infobox_data" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n"; echo ' <td WIDTH="80" class="product_infobox_data" align="right" valign="top">' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</td>' . "\n" . ' <td WIDTH="80" class="product_infobox_data" align="right" valign="top"><b>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ' </b></td>' . "\n"; echo ' </tr>' . "\n"; } ?> <tr> <td align="right" colspan="5"> <table border="0" cellspacing="0" cellpadding="2"> <?php for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table> </td> </tr> </table></td> </tr> <?php if (DOWNLOAD_ENABLED == 'true') include(DIR_WS_MODULES . 'downloads.php'); ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '18'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '18'); ?></td> </tr> <tr> <TD> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="2"> </td> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="images/borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="images/borders/maingrey_02.gif"><img src="images/borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="images/borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="images/borders/maingrey_04.gif"><img src="images/borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td colspan="3" align="left" valign="top" class="order_infobox_heading"><b><?php echo ORDER_STATUS; ?></b></td> </tr> <?php $statuses_query = tep_db_query("select os.orders_status_name, osh.date_added, osh.comments from " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh where osh.orders_id = '" . (int)$HTTP_GET_VARS['order_id'] . "' and osh.orders_status_id = os.orders_status_id and os.language_id = '" . (int)$languages_id . "' order by osh.date_added"); while ($statuses = tep_db_fetch_array($statuses_query)) { echo ' <tr>' . "\n"; echo ' <td valign="top" class="product_infobox_data" width="114"><br> <strong>' . tep_date_short($statuses['date_added']) . '</strong></td>' . "\n"; echo ' <td valign="top" class="product_infobox_data" width="85"><br>' . $statuses['orders_status_name'] . '</td>' . "\n"; echo ' <td valign="top" class="product_infobox_data"><br>' . (empty($statuses['comments']) ? ' ' : nl2br(tep_output_string_protected($statuses['comments']))) . '</td>' . "\n"; echo ' </tr>' . "\n"; } ?> <tr> <td colspan="3"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '7'); ?></td> </tr> </table> </td> <td background="images/borders/maingrey_06.gif"><img src="images/borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="images/borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="images/borders/maingrey_08.gif"><img src="images/borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="images/borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table> </td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '25'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td><div style="float:left"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, tep_get_all_get_params(array('order_id')), 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a></div><div style=float:right>'; ?><a href="javascript:popupPrintReceipt('<?php echo tep_href_link(FILENAME_ORDERS_PRINTABLE, tep_get_all_get_params(array('order_id')) . 'order_id=' . $HTTP_GET_VARS['order_id'], 'SSL'); ?>')"><?php echo tep_image_button('button_print_order.gif', IMAGE_BUTTON_PRINT_ORDER) . '</a>'; ?></div></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </td> </tr> </table><!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <?php // END Fancier Order Details & Print Invoice ?> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Any help with this would be great. Thanks!
  21. Gidgidonihah

    Option Type Feature v1.6 (for osc 2.2 MS2)

    Don't you just love that feeling? I know I do. It is just such a rare occasion is all... Anyway, no problem, if you have any other questions, feel free to pm me or something.
  22. Gidgidonihah

    Option Type Feature v1.6 (for osc 2.2 MS2)

    That was it! That's what I did! Good job, now make that change and then see if what i told you works. If not... um... blame the nearest midget.
  23. Gidgidonihah

    Option Type Feature v1.6 (for osc 2.2 MS2)

    well gee i'm feeling a little sheepish... Yes they would be sorting alphabetically, now wouldn't they? I forgot that I had changed a bit of the code somewhere that made them sort by those. My mistake. But it should be in this thread that i found out how to do that, so just do a search for the posts that i've made and it should be right near there. Either that or wait for someone smarter than me to come along... >_< Let me know if you find it. Then I won't have to worry about searching for it for you when i get some time :)
  24. Gidgidonihah

    Option Type Feature v1.6 (for osc 2.2 MS2)

    Yeah, that might work. I tried it and couldn't get it to work, but then again that may be simply because I'm an idiot... And what I told you to do wouldn't work either cause I told you the wrong thing. Sorry. I think I remembered what it was though. Here is what you have to do: Within a select box or for radio buttons, the sort order is set by the order of the "products_options_values_id" in the table "products_options_values" so to change the order within a select box or radio button, just change the order in that column. Now for the order that they are place on the page. That is controlled by the "products_options_id" column in the table "products_options". So, change the id number and make it higher, it then moves down the list on your page. It's kinda the long way of going about it, and if you can get that contrib to work, it would probably be better/easier, but this way works too. If what i told you doesn't work, i probably screwed up the instructions again, so just get back on my case and i'll let you know what i did wrong :rolleyes:
  25. Gidgidonihah

    Option Type Feature v1.6 (for osc 2.2 MS2)

    The way I got everything to be placed in the correct order is I went into mysql and changed the products_attributes_id in the table products_attributes so they were in correct ascending order. Worked for me.
×