Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

aresman

Archived
  • Posts

    47
  • Joined

  • Last visited

Everything posted by aresman

  1. Ditto. Thanks for finding it - it was driving me nuts. I think the install package may need to be updated...
  2. You know, I meant to ask - does this incorporate a tracking system for the user to track their shipment(s)?
  3. Let us all know how it goes! I'm curious. Also, are there instructions on what to modify in easy populate?
  4. Thanks everyone - someone on CRELoaded.com helped me out with something that worked perfectly.
  5. Okay, so this is the code from the Content Outside OSC Contrib. But, I'm having a pain in the butt time trying to get it to work entirely, and I'm not sure why. It works to display the photo of the item, and the link even works. BUT, the product name and price don't show up. (I placed the dddd, etc. in there to make sure it was displaying in general.) If you can help, I would REALLY REALLY appreciate it. Code: <?php /******************************************************** CONTENT OUTSIDE OF OSC V1.1 Author: David Vance == Adapted for MS2 by Anthony Date: 20. 11, 2004 OSC 2.2 MS2 PHP Version 4.3.2 This snippet is an example of placing osCommerce content on your site outside of the OSC directory structure. It allows you to display the products_new table. ********************************************************/ //saves current working directory for later return $cwd=getcwd(); //changes current working directory to osc root install directory; something like: /home/david/public_html/catalog/ but not DIR_FS_CATALOG chdir('/home/mysitename/public_html/'); //need all of application_top's configurations and includes; NO OUTPUT ABOVE THIS POINT! include('includes/application_top.php'); //need the language file require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCTS_NEW); //start buffering ob_start(); /* BEGIN: From the products_new.php page: */ if ($random_product = tep_random_select("select products_id, products_image, products_tax_class_id, products_price from " . TABLE_PRODUCTS . " where products_status = '1' order by products_date_added desc limit " . MAX_RANDOM_SELECT_NEW)) { ?> <?php $random_product['products_name'] = tep_get_products_name($random_product['products_id']); $random_product['specials_new_products_price'] = tep_get_products_special_price($random_product['products_id']); $info_box_contents = array(); $info_box_contents[] = array('text' => HEADING_TITLE); new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_PRODUCTS_NEW)); if (tep_not_null($random_product['specials_new_products_price'])) { $whats_new_price = '<s>' . $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br>'; $whats_new_price .= '<span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>'; } else { $whats_new_price = $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])); } $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'],SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br />dddd' . $random_product['products_name'] . '<br>asdf' . $whats_new_price); new infoBox($info_box_contents); } ?> <?php $newProductsTable = ob_get_contents(); //stop buffering ob_end_clean(); ?> <?php //start buffering ob_start(); if (isset($current_category_id) && ($current_category_id > 0)) { $best_sellers_query = tep_db_query("select distinct p.products_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c where p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and '" . (int)$current_category_id . "' in (c.categories_id, c.parent_id) order by p.products_ordered desc, pd.products_name limit " . MAX_DISPLAY_BESTSELLERS); } else { $best_sellers_query = tep_db_query("select distinct p.products_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by p.products_ordered desc, pd.products_name limit " . MAX_DISPLAY_BESTSELLERS); } if (tep_db_num_rows($best_sellers_query) >= MIN_DISPLAY_BESTSELLERS) { ?> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => '<div class=left>Our Best Sellers</div>'); new infoBoxHeading($info_box_contents, false, false); $rows = 0; $bestsellers_list = '<table border="0" width="100%" cellspacing="0" cellpadding="1" align="center">'; while ($best_sellers = tep_db_fetch_array($best_sellers_query)) { $rows++; $bestsellers_list .= '<tr><td class="infoBoxContents" valign="top">' . tep_row_number_format($rows) . '.</td><td class="infoBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $best_sellers['products_id']) . '">' . $best_sellers['products_name'] . '</a></td></tr>'; } $bestsellers_list .= '</table>'; $info_box_contents = array(); $info_box_contents[] = array('text' => $bestsellers_list); new infoBox($info_box_contents); } ?> <?php $bestsellersTable = ob_get_contents(); //stop buffering ob_end_clean(); ?> <?php /* END: From the products_new.php page */ //replace relative image paths with absolute urls (you may not need this. i did.) $newProductsTable=str_replace('src="', 'src="http://buy.mysite.com/',$newProductsTable); $bestsellersTable=str_replace('src="', 'src="http://buy.mysite.com/',$bestsellersTable); //change back to original working directory chdir($cwd); //********* COPY THE CODE ABOVE TO THE TOP OF THE FILE YOU WANT YOUR BOX IN *******\\ ?> <!-- ********* SAMPLE PAGE USAGE BELOW ********* --> <html><head> <!--make sure to include the stylesheet if you want the box to have same style as your shop--> <!--<link rel="stylesheet" type="text/css" href="http://buy.mysite.com/stylesheet.css" /> --> </head> <body> <center> <table> <tr><td width="150" align="center"> <?php echo $newProductsTable; //output your table here (or wherever) ?> <!--</td> --> <!--<td width=125> --> <!--<?php echo $bestsellersTable; //output your table here (or wherever) ?> --> </td> </tr> </table> </center> </body> </html>
  6. Hey Craig - Sorry for taking so long to get back. As far as the suggestions on where you should see the shipping, I just went through your site and see that the combined shipping is there under the sub-total... So, that makes my point moot ;) Now, quick question - from the backend, is there an opportunity to enter tracking information for each individual item that is shipped separately? For example, the test order I have now has 2 products, each going a different way. From the backend, it would be great to be able to enter tracking info for both of these so that the user can track his/her packages with the info - and so could I. As for the invoice - yes, an invoice would be very helpful. I've had to edit some of the invoice mods that are out there in order to be very useful... In my edits, I created an invoice that displays all the info necessary, including the product number under and indented beneath the product name. Perhaps below this there could also be a tracking number for the individual products that ship separately? Ultimately, it would be great to have the items that ship together grouped on the invoice/packing slip - perhaps under a "PACKAGE #1 - UPS GROUND - TRACKING #:XXXXXXXXX" heading, then some spacing for the package #2 grouping or something like that? I think this type of print out would work great even for drop shipping (which we use a lot.) The reason I think having the tracking numbers on the packing slip as well is if one package arrives before the other. This would also simplify things a little bit, with only removing the pricing of the items from the packing slip vs. the invoice, which the user could print out. Just brainstorming here, so if sounds like I'm babbling, I probably am... Other than that, so far it looks great! - Nick
  7. Okay, went through it and just kept refreshing to get past the globals errors... One question, on the final checkout page/invoice summary, does the shipping get separated out like: sub-total shipping tax ---- total ?
  8. Hey blu, tried out the new demo, but upon checking out, got this error: Fatal error: Call to undefined function: enabled() in /home/groups/t/tr/true-mvs/htdocs/includes/classes/vendor_shipping.php on line 105 Thoughts?
  9. What about grouped shipping - meaning X items ship separately from Y items?
  10. Hey everyone - has anyone ever gotten this error when clicking on the recover cart sales link in the admin: 1054 - Unknown column 'l' (ell) in 'where clause' select p.products_price price, p.products_model model, pd.products_name name from products p, products_description pd, languages l where p.products_id='29{4}2' and pd.products_id=p.products_id and pd.language_id=1 [TEP STOP] It only happens ocassionally - but when it happens, I can't get past it on the recover cart sales link. Also, if I get this error, I can't get anything to show under the "Orders" link... It shows the headings, but no data. Thanks.
  11. Just wondering if anyone has a status on the next version of this module? I know you're all working hard on it, but just curious as things are starting to get "sticky" with my shipping. Thanks.
  12. After reading every response here, I'm convinced that while this mod has potential, it's rather lacking. All I wanted was something that would allow me to take orders manually. Seemed simple enough - create an account, then use the same order process that's already built into the system, with shipping and credit card, etc. options that we've already enabled (our gateways). Instead, I get something that really only creates accounts. The shipping defaults to FedEx for Canada, for some bizarre reason - I don't even use FedEx. Secondly, it doesn't do the credit cards at all, I don't even have a choice for that. Anyway, I'll be happy to try again when this has been flushed out, but right now, it's just easier for me to create an account for the user with a standard password they can change when they login. At least this way, I get real time shipping quotes (and correct shipping options) as well as correct prices, and the ability to enter in payment options through our gateway. Oh well.
  13. Here's my checkout_payment.php file, by the way, in case anyone has some insight... <?php /* $Id: checkout_payment.php,v 1.113 2003/06/29 23:03:27 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } // if there is nothing in the customers cart, redirect them to the shopping cart page if ($cart->count_contents() < 1) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } // if no shipping method has been selected, redirect the customer to the shipping method selection page if (!tep_session_is_registered('shipping')) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } // avoid hack attempts during the checkout procedure by checking the internal cartID if (isset($cart->cartID) && tep_session_is_registered('cartID')) { if ($cart->cartID != $cartID) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } } // Stock Check if ( (STOCK_CHECK == 'true') && (STOCK_ALLOW_CHECKOUT != 'true') ) { $products = $cart->get_products(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { if (tep_check_stock($products[$i]['id'], $products[$i]['quantity'])) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); break; } } } // if no billing destination address was selected, use the customers own address as default if (!tep_session_is_registered('billto')) { tep_session_register('billto'); $billto = $customer_default_address_id; } else { // verify the selected billing address $check_address_query = tep_db_query("select count(*) as total from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and address_book_id = '" . (int)$billto . "'"); $check_address = tep_db_fetch_array($check_address_query); if ($check_address['total'] != '1') { $billto = $customer_default_address_id; if (tep_session_is_registered('payment')) tep_session_unregister('payment'); } } require(DIR_WS_CLASSES . 'order.php'); $order = new order; if (!tep_session_is_registered('comments')) tep_session_register('comments'); $total_weight = $cart->show_weight(); $total_count = $cart->count_contents(); // load all enabled payment modules require(DIR_WS_CLASSES . 'payment.php'); $payment_modules = new payment; require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_PAYMENT); $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); ?> <!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; ?>"> <?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 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"><!-- var selected; function selectRowEffect(object, buttonSelect) { if (!selected) { if (document.getElementById) { selected = document.getElementById('defaultSelected'); } else { selected = document.all['defaultSelected']; } } if (selected) selected.className = 'moduleRow'; object.className = 'moduleRowSelected'; selected = object; // one button is not an array if (document.checkout_payment.payment[0]) { document.checkout_payment.payment[buttonSelect].checked=true; } else { document.checkout_payment.payment.checked=true; } } function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } //--></script> <?php echo $payment_modules->javascript_validation(); ?> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- 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"><?php echo tep_draw_form('checkout_payment', tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'), 'post', 'onsubmit="return check_form();"'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_payment.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if (isset($HTTP_GET_VARS['payment_error']) && is_object(${$HTTP_GET_VARS['payment_error']}) && ($error = ${$HTTP_GET_VARS['payment_error']}->get_error())) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo tep_output_string_protected($error['title']); ?></b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBoxNotice"> <tr class="infoBoxNoticeContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%" valign="top"><?php echo tep_output_string_protected($error['error']); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_BILLING_ADDRESS; ?></b></td> </tr> </table></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><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="50%" valign="top"><?php echo TEXT_SELECTED_BILLING_DESTINATION; ?><br><br><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '">' . tep_image_button('button_change_address.gif', IMAGE_BUTTON_CHANGE_ADDRESS) . '</a>'; ?></td> <td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="center" valign="top"><b><?php echo TITLE_BILLING_ADDRESS; ?></b><br><?php echo tep_image(DIR_WS_IMAGES . 'arrow_south_east.gif'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" valign="top"><?php echo tep_address_label($customer_id, $billto, true, ' ', '<br>'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_PAYMENT_METHOD; ?></b></td> </tr> </table></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"> <?php $selection = $payment_modules->selection(); if (sizeof($selection) > 1) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="50%" valign="top"><?php echo TEXT_SELECT_PAYMENT_METHOD; ?></td> <td class="main" width="50%" valign="top" align="right"><b><?php echo TITLE_PLEASE_SELECT; ?></b><br><?php echo tep_image(DIR_WS_IMAGES . 'arrow_east_south.gif'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } else { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%" colspan="2"><?php echo TEXT_ENTER_PAYMENT_INFORMATION; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } $radio_buttons = 0; for ($i=0, $n=sizeof($selection); $i<$n; $i++) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if ( ($selection[$i]['id'] == $payment) || ($n == 1) ) { echo ' <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } else { echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b></td> <td class="main" align="right"> <?php if (sizeof($selection) > 1) { echo tep_draw_radio_field('payment', $selection[$i]['id']); } else { echo tep_draw_hidden_field('payment', $selection[$i]['id']); } ?> </td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php if (isset($selection[$i]['error'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="4"><?php echo $selection[$i]['error']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } elseif (isset($selection[$i]['fields']) && is_array($selection[$i]['fields'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="4"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($j=0, $n2=sizeof($selection[$i]['fields']); $j<$n2; $j++) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $selection[$i]['fields'][$j]['title']; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $selection[$i]['fields'][$j]['field']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } ?> </table></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } ?> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php $radio_buttons++; } ?> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_COMMENTS; ?></b></td> </tr> </table></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><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></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 class="main"><b><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '</b><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></td> <td class="main" align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"><?php echo tep_draw_separator('pixel_silver.gif', '1', '5'); ?></td> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> </tr> </table></td> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td><?php echo tep_image(DIR_WS_IMAGES . 'checkout_bullet.gif'); ?></td> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> </tr> </table></td> <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '1', '5'); ?></td> </tr> </table></td> </tr> <tr> <td align="center" width="25%" class="checkoutBarFrom"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" class="checkoutBarFrom">' . CHECKOUT_BAR_DELIVERY . '</a>'; ?></td> <td align="center" width="25%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_PAYMENT; ?></td> <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td> <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_FINISHED; ?></td> </tr> </table></td> </tr> </table></form></td> <!-- 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 //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  14. Hey all, what's the code to use if I drop my packages off at a UPS box? I don't see the code there... Is that the same as a Letter Center (LC)?
  15. Okay, so I use VELOCT - a good payment processor, and they've just built a mod that works with OSC. However, I'm having some problems with their error messages. For some reason, they don't show up. When a payment is declined, on my install, it just refreshes back to the payment screen, instead of showing the error message up in the top, like it should. I've contacted them, and thru their tests, they get the error messages. I don't know why. I even sent them my checkout_payment.php file, and it worked with their tests... Here's a link to their contrib: http://www.oscommerce.com/community/contributions,2391/ Does anyone have any way they can help me debug this? I have to get my site up and going in the next day or two. Thank you. Nick
  16. Yes, well, in that case, they would have to be presented with two shipping options - 1 for item X and another for item Y.
  17. Sorry it took so long to respond. I went back thru my previous post and realized it's only referring to two lines, 112 and 230... So, here are those lines: line 112: if($catIndex[$catTempPar[$curID]] != null) line 230: if ($already_sent[$row->id] == 1) continue; // if we've sent this one, skip the rest of the while loop
  18. I need a way to specify some products can go only via UPS and some via FedEx. The reason is that we get better rates via FedEx, but our wholesaler, who drop-ships, uses UPS and gets great rates thru them. We have some of our own products, so it makes more sense to use FedEx. But, we have no choice for the other products. Is there anything already created to do this? Or, can someone make it for me? I'll pay... Thanks, Nick ICQ: 306613606 Email: nick at nidasa dot com
  19. There's a LOT of code at those lines, which would take me FOREVER to go through and copy and paste each line. I suspect something is happening early on to cause this. The one on the contrib - 1.44
  20. Hey All, I just installed this, and it's creating the file - sorta, but I'm having a problem. 1) I'm getting a bunch of errors in my server log: [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 22 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 112 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 69 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 112 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 87 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 88 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 89 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 90 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 91 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 92 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 93 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 94 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 95 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 96 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 97 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 98 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 99 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 100 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 101 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 102 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 106 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 107 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 112 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 113 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 114 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 115 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 116 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 117 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 118 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 119 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 128 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 129 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 130 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 131 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 132 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 133 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 134 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 135 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 145 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 146 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 155 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 156 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 157 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 158 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 159 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 160 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 161 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 162 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 163 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 164 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 165 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 166 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 167 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 168 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 169 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 173 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 174 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 175 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 176 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 177 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 178 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 179 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 180 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 181 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 182 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 187 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 188 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 189 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 190 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 191 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 192 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 193 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 194 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 195 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 196 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 197 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 198 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 199 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 200 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 201 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 202 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 203 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 204 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 205 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 206 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 207 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 208 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 209 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 210 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 211 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 212 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 213 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 214 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 215 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 216 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 217 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 218 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 219 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 220 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 221 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 222 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 223 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 [Thu Aug 26 15:48:45 2004] [error] PHP Notice: Undefined index: 224 in /home/htdocs/users/myname/myname/store.storename.com/catalog/admin/froogle.php on line 230 I don't know if this is related, but it also seems to be truncating the file and stopping at a point mid-product. Any thoughts? Thanks, - nick
  21. What's the solution to the tax thing????
  22. Sorry - I just went in, removed all references to the fedex module, re-downloaded the latest version, uploaded it and then went into the php files and removed any extra spaces after the ?>... then it worked.
×
×
  • Create New...