Jump to content

gmltw

Members
  • Content count

    60
  • Joined

  • Last visited

Everything posted by gmltw

  1. gmltw

    Google XML Sitemap w/ Admin support

    I have the same concerns. My XML data is just like yours. http://gourmetsoiree.com/product_info.php?products_id=111 When I click on it it takes me to the correct page and the url shows the Ultimate urls like it should. My only concern is how this link is going to look after google processes it? Am I going to be seeing a link in google formatted like http://gourmetsoiree.com/product_info.php?products_id=111 or will it get the correct link http://gourmetsoiree.com/milk-chocolate-go...ates-p-111.html when it crawls my site? Anyone know? Gary
  2. Hi Bill, I figured out what I needed to do (I think) to take care of Question #3 (circled in blue in a previous post). Thought I would share what I did in case I did something wrong or in case someone else might be having the same problem or question as to how to do this. I believe this will work for my second question as well but I am not sure yet. If it doesn't I will post back to show what I did to fix it as well. To all concerned, understand that you must already have Manufacturers_Popup_2.5 installed for this particular mod to work because all this is doing is placing a modified infobox below my product description that has a link for customers to click on that will activate a pop up with more information about the Manufacturer (and in my case shipping and returns info as well). Although I believe you could change the code to work with anything you wanted to make a custom tag for. Just make the php file have the code you want included and change the names to what you want. First, in catalog/includes/modules/sts_inc/product_info.php I added the following code after the last line of code: $sts->start_capture(); include(DIR_WS_BOXES . 'view_more_info.php'); $sts->stop_capture('viewmoreinfo', 'box'); // Get manufacturer info box (empty if no product selected) $template_pinfo['viewmoreinfo']= $sts->template['viewmoreinfo']; // Put it in the product info Then I created a php file with the following code: <?php /* $Id: view_more_info.php,v 1.11 2007/03/20 16:00:00 $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2007 osCommerce Released under the GNU General Public License */ //Start March 07-2007 Gary Morris Modification for link to show manufacturers info in a pop-up window. <?php if (isset($HTTP_GET_VARS['products_id'])) { $manufacturer_query = tep_db_query("select m.manufacturers_id, mi.manufacturers_url from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on (m.manufacturers_id = mi.manufacturers_id and mi.languages_id = '" . (int)$languages_id . "'), " . TABLE_PRODUCTS . " p where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.manufacturers_id = m.manufacturers_id"); if (tep_db_num_rows($manufacturer_query)) { $manufacturer = tep_db_fetch_array($manufacturer_query); $manufacturer_info_string = '<center>'; if (tep_not_null($manufacturer['manufacturers_id'])) $manufacturer_info_string .= '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_POPUP_MANUFACTURER_INFO, 'products_id=' . $products_id) . '\')">' . TEXT_MANUFACTURER_INFO_SHIPPING_LINK . '</a> </td> </tr>'; ''; $info_box_contents = array(); $info_box_contents[] = array('text' => $manufacturer_info_string); new infoBox($info_box_contents); '</center>'; } } //End March 07-2007 Gary Morris Modification for link to show manufacturers info in a pop-up window. ?> in it and placed it in catalog/includes/boxes/view_more_info.php Then I inserted the tag $viewmoreinfo$ (where I wanted it) in my product_info.php.html template found at catalog/includes/sts_templates/MY_CUSTOM_TEMPLATES/content/product_info.php.html (where MY_CUSTOM_TEMPLATE is the name of my template). Can anyone verify that this is OK and that I am not going to have any problems later down the line? Thanks, Gary
  3. I found the solution. I probably should have thought to look in the support thread for cDynamic Meta Tags (duh!). :-" If you are having trouble with cDynamic Meta Tags working with STS have a look here: http://forums.oscommerce.com/index.php?s=&...st&p=932549 This is where you will find a fix for it. Thanks Bill and sorry if I wasted your time. Gary
  4. I am really very sorry to hear about that Bill. I am very sure you will miss him for some time to come. Try to remember the good times you had with him as much as possible. We will be fine, take your time and grieve. There are many here that understand. Gary
  5. By a tag, do you mean something like $myaccountlogoff or $productdesc ? Let me give you a screen shot of what I am talking about. With STS on: With STS enabled=false: I have circled the three things I am asking about for reference. The kind of pinkish purple areas refer to the 1st question of the title. The green area is inserted from the database with code I entered for the Additional Info and Category descriptions contrib. The blue area is something that I hacked out of the code that gets added to Manufacturer's Information Box from the Manufacturers_Popup contrib. If I am understanding you correctly, I can make a tag that will call my custom made infobox (the blue area) and I can place it wherever I want it in the tables in my product_info.php.html template. What about the information that is not contained inside an infobox (like the green area)? The same principal applies I assume. Where does the $productdesc tag get it's information? From what page, form or whatever, what is it's name and what folder is it in? I think I can figure out how to do this if I knew how the files were tied together and where to find an example. I will have a look around a little more, I think I am beginning to understand this a little more. I think that I can create separate files for each of the contribs that I have added and place them somewhere (not sure about that yet) and then create the tags in the sts_column_left.php file so that when I place the tag in my template it will know what to do with it. Am I headed in the right direction? If someone could help me with the title (1st ?) question I think I might be able to figure the rest out. We will see. Hopefully the pictures help. Thank you so very much for your time and much needed help! Gary
  6. Bill, Thanks for replying. The only thing that was missing from the template was <meta http-equiv="Content-Language" content="en-us"> which did not effect anything as far as I could see after I inserted it. Any other ideas? Gary
  7. OK, I almost have my site looking close to what I want it to look like and I have noticed a few problems. Hoping someone can point me in the right direction. 1. When using STS I am not seeing the correct titles in my browser's tabs ( firefox for instance). For instance, when STS is off and I go to view a product, my titles are auto generated. So for this product "Decaffeinated Chocolate Hazelnut Ground" it will display this in the browser tab bar: "Decaffeinated Chocolate Hazelnut Ground by: Shalina - Gourmet Soiree -" With STS off it displays Gourmet Soiree no matter what page I am viewing. No dynamic titles? Q. Do I need go back and make all of the same changes that I have made for other contributions in some special STS pages or something. Why is STS not showing the titles correctly? Where does it pull the information for Products, Categories, etc. if not from Product_info.php, Index.php, etc. ? 2. I am pretty sure this is associated with the first one. I have installed other contribs, category_descriptions_v502, additional_infov1.2, Manufacturers_Popup_2.5, to name a few. These show up in the default store when STS is set to false. When STS is set to true they are nowhere to be found. Q. Where can I edit what information gets passed to the $content tag if it is not using the product_info.php in catalog/ ? 3. Q. How can you include content where you want it without using an info box. The example in sts_user_code.php is for an info box and I am not sure how to not include something without it being in an info box. I really love the way you can control each and every page of your site with out going through a lot of hard coding. For instance - I have set it up so that when someone views a product, our logo that is found on our home page and the category pages, is removed and replaced with a smaller text name. This way the product that they are wanting to look at is right at the top of the page. This is awesome. I just need to figure out how to do the above few things and I think all will be good. If there are answers to these questions already, I would be very happy for someone to just leave a link to the solution. I have searched and searched and have not found what I am looking for. I am sure I am just not searching for the right combination of keywords but I have run out of ideas. Thanks, Gary
  8. gmltw

    Multi images extra contribution

    OK, that's what I figured but just wanted to be sure. So (for the benefit to others) if you want to be sure that your host has GD installed, you will need to contact your hosting provider. Otherwise you can assume that it is unless you run into problems. Correct? Thanks Jim, Gary
  9. gmltw

    Multi_Vendor_Shipping new thread

    I am so confused! :huh: :blush: I was so sure that I checked and double checked to be sure that there was only one shipping module selected for that vendor?!! I must have been up too late or something. Anyway, it turns out that I had the free shipping module installed in the same vendor that I also had the per item shipping module installed. (I am so sure that I checked that ??) Something very strange is going on here. :blink: So, long story short. All is well, no problems here. Well, as far as that goes anyway. Thanks Craig! Gary
  10. gmltw

    Multi_Vendor_Shipping new thread

    Does anyone know anything about a bug that causes a shipping option to show up where it shouldn't? Example: In the Vendors admin - I have a vendor named Coeur touche'. I also have a Vendor that I named Free Shipping. I have some products that I wish to offer free shipping for. The Manufacturer is set to Coeur Touche' (that's who it is) and the Products Vendor is set to Free Shipping (that's the vendor I created by that name under admin vendors). The rest of the Products by this same Manufacturer have the Products Vendor set to Coeur Tcouhe' and there is a charge for shipping. Now here is the problem I am having. During checkout it will offer Free Shipping (the vendor ID Free Shipping, which is free shipping) and the shipping that I have set up for the Vendor Coeur Touche' for the Products that should only have Coeur Touche shipping associated with them. They do not have free shipping associated with them. Obviously if your customer is given the choice - something for free or pay, they are going to take it for free. Anyone know of a solution to this problem? What may be causing it? Where I should start looking? Gary
  11. gmltw

    Multi_Vendor_Shipping new thread

    Thank you Jim, I had not checked to see if it gave the correct shipping with other vendors products included in the cart. I am really glad you read my post. :D Thanks for the correct coding! Gary
  12. gmltw

    Multi_Vendor_Shipping new thread

    I don't know if any one else has had any trouble with the table rate calculating incorrect shipping charges when you are basing it of off product total in the costumers cart but I was. I looked for a while and did not find any one mentioning this so I had a look at it myself to see if I might be able to hack around and get lucky. Problem I was having was no matter what the total of the cart was it still only showed the minimal charge for shipping. This is what I did to fix it if anyone is interested. Also, if anyone can see that this will cause me problems somehow please let me know. open your catalog/includes/modules/vendor_shipping/table.php file and find around line 94 the following code: //Get a quote function quote($method = '', $module = '', $vendors_id = '1') { global $HTTP_POST_VARS, $shipping_weight, $order, $cart, $shipping_num_boxes; if (@constant('MODULE_SHIPPING_TABLE_MODE_' . $vendors_id) == 'price') { $order_total = $shipping_cost; } else { $order_total = $shipping_weight; } Change this snippet of code to: //Get a quote function quote($method = '', $module = '', $vendors_id = '1') { global $HTTP_POST_VARS, $shipping_weight, $order, $cart, $shipping_num_boxes; if (@constant('MODULE_SHIPPING_TABLE_MODE_' . $vendors_id) == 'price') { $order_total = $cart->show_total(); } else { $order_total = $shipping_weight; } Notice that I am only changing one bit of code on (or around) line 99. The only difference between the two is line 99 says $order_total=$cart->show_total(); instead of $order_total=$shipping_cost; Hope this helps someone out! Gary
  13. gmltw

    Multi_Vendor_Shipping new thread

    Hello Craig, I have the same question as phi148 and macombmarineparts and many others (it appears) in the past. I reviewed each and every post in the link that you provided abvoe and did not see a solution. I did see that there was a person or two that said they had it working together but they did not leave any examples of how they integrated the code from MVS and PayPal WPP. Maybe I missed something. I wrote to them in hopes that they are still around and have the solution and will write back (and I am hoping they are using the most recent versions). We will see. Thank you for your help, if I ever get this solved, I will post the solution in clear details as best I can so that others can find it more easily. Gary
  14. gmltw

    Multi_Vendor_Shipping new thread

    Hello Craig, I have the same question as phi148 and macombmarineparts and many others (it appears) in the past. I reviewed each and every post in the link that you provided abvoe and did not see a solution. I did see that there was a person or two that said they had it working together but they did not leave any examples of how they integrated the code from MVS and PayPal WPP. Maybe I missed something. I wrote to them in hopes that they are still around and have the solution and will write back (and I am hoping they are using the most recent versions). We will see. Thank you for your help, if I ever get this solved, I will post the solution in clear details as best I can so that others can find it more easily. Gary
  15. gmltw

    Multi_Vendor_Shipping new thread

    Hello Craig, I have the same question as phi148 and macombmarineparts and many others (it appears) in the past. I reviewed each and every post in the link that you provided abvoe and did not see a solution. I did see that there was a person or two that said they had it working together but they did not leave any examples of how they integrated the code from MVS and PayPal WPP. Maybe I missed something. I wrote to them in hopes that they are still around and have the solution and will write back (and I am hoping they are using the most recent versions). We will see. Thank you for your help, if I ever get this solved, I will post the solution in clear details as best I can so that others can find it more easily. Gary
  16. gmltw

    Multi_Vendor_Shipping new thread

    Hello Craig, I have the same question as phi148 and macombmarineparts and many others (it appears) in the past. I reviewed each and every post in the link that you provided abvoe and did not see a solution. I did see that there was a person or two that said they had it working together but they did not leave any examples of how they integrated the code from MVS and PayPal WPP. Maybe I missed something. I wrote to them in hopes that they are still around and have the solution and will write back (and I am hoping they are using the most recent versions). We will see. Thank you for your help, if I ever get this solved, I will post the solution in clear details as best I can so that others can find it more easily. Gary
  17. gmltw

    Multi_Vendor_Shipping new thread

    Hello Craig, I have the same question as phi148 and macombmarineparts and many others (it appears) in the past. I reviewed each and every post in the link that you provided abvoe and did not see a solution. I did see that there was a person or two that said they had it working together but they did not leave any examples of how they integrated the code from MVS and PayPal WPP. Maybe I missed something. I wrote to them in hopes that they are still around and have the solution and will write back (and I am hoping they are using the most recent versions). We will see. Thank you for your help, if I ever get this solved, I will post the solution in clear details as best I can so that others can find it more easily. Gary
  18. gmltw

    Multi_Vendor_Shipping new thread

    Thank you Craig. Gary I think what he did was he put the file: catalog/checkout_shipping.php in the languages directory or something of that nature. Good luck, Craig :) Email me and I will send you some files to work with. Craig :)
  19. gmltw

    Multi_Vendor_Shipping new thread

    I am posting this in the MVS thread (in addition to the PayPal WPP thread) in hopes that someone may have ran accross this problem before and may have a solution. I have MVS installed and working great but I wanted to add the PAyPal WPP as well. I run into a problem when it comes time to integrate the two codes found in checkout_shipping.php. I can not simply copy the PayPal WPP over what is in my checkout_shipping.php file. My checkout_shipping.php file had to be modified for Multi Vendor Shipping (MVS). My store will be useless to me without MVS so I have to make the two work together. I have both php files below, Is there anyone that can help me with this merge. Has anyone done this yet. Thanks, Gary
  20. gmltw

    PayPal WPP Direct Payments & Express Checkout Support

    I can not simply copy the PayPal WPP over what is in my checkout_shipping.php file. My checkout_shipping.php file had to be modified for Multi Vendor Shipping (MVS). My store will be useless to me without MVS so I have to make the two work together. I have both php files below, Is there anyone that can help me with this merge. Has anyone done this yet. Thanks, Gary
  21. gmltw

    PayPal WPP Direct Payments & Express Checkout Support

    dynamoeffects, thank you for responding! I loaded the original .htaccess file but I am still receiving the same error. If you wish to have a look at the site gourmetsoiree.com you can see what is happening. I have a test account set up for a fake customer. There are items in the cart already, if you sign in and click on checkout, you will see the error page. The UN or email is testingstore@gourmetsoiree.com and the PW is testing. Please keep in mind that I am still in the beginning stages. I want to make sure that everything functions before I spend time on design. So it doesn't look very nice right now. Thanks, Gary
  22. gmltw

    PayPal WPP Direct Payments & Express Checkout Support

    I think I may have found where I have failed in this installation but I think I am going to need a little help ironing out what exactly needs to be done. I believe that the problem lies within my checkout_shipping.php file. MVS has to alter much of this file so it is not clear where the Pay Pal WPP files should be altered. If anyone could help me with this I would really appreciate it. Here is my File with the MVS Alterations <?php /* $Id: checkout_shipping.php,v 1.16 2003/06/09 23:03:53 hpdl Exp $ Modified for MVS V1.0 2006/03/25 JCK/CWG 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'); require('includes/classes/http_client.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 destination address was selected, use the customers own address as default if (!tep_session_is_registered('sendto')) { tep_session_register('sendto'); $sendto = $customer_default_address_id; } else { // verify the selected shipping 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)$sendto . "'"); $check_address = tep_db_fetch_array($check_address_query); if ($check_address['total'] != '1') { $sendto = $customer_default_address_id; if (tep_session_is_registered('shipping')) tep_session_unregister('shipping'); } } require(DIR_WS_CLASSES . 'order.php'); $order = new order; // register a random ID in the session to check throughout the checkout procedure // against alterations in the shopping cart contents if (!tep_session_is_registered('cartID')) tep_session_register('cartID'); $cartID = $cart->cartID; // if the order contains only virtual products, forward the customer to the billing page as // a shipping address is not needed if ($order->content_type == 'virtual') { if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); $shipping = false; $sendto = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } //MVS if (SELECT_VENDOR_SHIPPING == 'true') { include(DIR_WS_CLASSES . 'vendor_shipping.php'); $shipping_modules = new shipping; } else { include(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping; $total_weight = $cart->show_weight(); $cost = $cart->show_total(); $total_count = $cart->count_contents(); } //---PayPal WPP Modification START ---// if (tep_paypal_wpp_enabled()) { $ec_enabled = true; } else { $ec_enabled = false; } if ($ec_enabled) { if (isset($_GET['ec_cancel']) || (tep_session_is_registered('paypal_ec_token') && !tep_session_is_registered('paypal_ec_payer_id') && !tep_session_is_registered('paypal_ec_payer_info'))) { if (tep_session_is_registered('paypal_ec_temp')) tep_session_unregister('paypal_ec_temp'); if (tep_session_is_registered('paypal_ec_token')) tep_session_unregister('paypal_ec_token'); if (tep_session_is_registered('paypal_ec_payer_id')) tep_session_unregister('paypal_ec_payer_id'); if (tep_session_is_registered('paypal_ec_payer_info')) tep_session_unregister('paypal_ec_payer_info'); } $show_payment_page = false; $config_query = tep_db_query("SELECT configuration_value FROM " . TABLE_CONFIGURATION . " WHERE configuration_key = 'MODULE_PAYMENT_PAYPAL_DP_DISPLAY_PAYMENT_PAGE' LIMIT 1"); if (tep_db_num_rows($config_query) > 0) { $config_result = tep_db_fetch_array($config_query); if ($config_result['configuration_value'] == 'Yes') { $show_payment_page = true; } } $ec_checkout = true; if (!tep_session_is_registered('paypal_ec_token') && !tep_session_is_registered('paypal_ec_payer_id') && !tep_session_is_registered('paypal_ec_payer_info')) { $ec_checkout = false; $show_payment_page = true; } else { if (!tep_session_is_registered('payment')) tep_session_register('payment'); $payment = 'paypal_wpp'; } } //---PayPal WPP Modification END ---// // process the selected shipping method if ( isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process') ) { if (!tep_session_is_registered('comments')) tep_session_register('comments'); if (tep_not_null($HTTP_POST_VARS['comments'])) { $comments = tep_db_prepare_input($HTTP_POST_VARS['comments']); } if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); if (SELECT_VENDOR_SHIPPING == 'true') { $total_shipping_cost = 0; $shipping_title = MULTIPLE_SHIP_METHODS_TITLE; $vendor_shipping = $cart->vendor_shipping; $shipping = array(); foreach ($vendor_shipping as $vendor_id => $vendor_data) { $products_shipped = $_POST['products_' . $vendor_id]; $products_array = explode ("_", $products_shipped); $shipping_data = $_POST['shipping_' . $vendor_id]; $shipping_array = explode ("_", $shipping_data); $module = $shipping_array[0]; $method = $shipping_array[1]; $ship_tax = $shipping_array[2]; if ( is_object($$module) || ($module == 'free') ) { if ($module == 'free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $total_weight = $vendor_shipping[$vendor_id]['weight']; $shipping_weight = $total_weight; $cost = $vendor_shipping[$vendor_id]['cost']; $total_count = $vendor_shipping[$vendor_id]['qty']; $quote = $shipping_modules->quote($method, $module, $vendor_id); } if (isset($quote['error'])) { tep_session_unregister('shipping'); } else { if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) { $output[$vendor_id] = array('id' => $module . '_' . $method, 'title' => $quote[0]['methods'][0]['title'], 'ship_tax' => $ship_tax, 'products' => $products_array, 'cost' => $quote[0]['methods'][0]['cost'] ); $total_ship_tax += $ship_tax; $total_shipping_cost += $quote[0]['methods'][0]['cost']; }//if isset }//if isset }//if is_object }//foreach if ($free_shipping == true) { $shipping_title = $quote[0]['module']; } elseif (count($output) <2) { $shipping_title = $quote[0]['methods'][0]['title']; } $shipping = array('id' => $shipping, 'title' => $shipping_title, 'cost' => $total_shipping_cost, 'shipping_tax_total' => $total_ship_tax, 'vendor' => $output ); } else { if ( (isset($HTTP_POST_VARS['shipping'])) && (strpos($HTTP_POST_VARS['shipping'], '_')) ) { $shipping = $HTTP_POST_VARS['shipping']; list($module, $method) = explode('_', $shipping); if ( is_object($$module) || ($shipping == 'free_free') ) { if ($shipping == 'free_free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $quote = $shipping_modules->quote($method, $module); } } if (isset($quote['error'])) { tep_session_unregister('shipping'); } else { if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) { $shipping = array('id' => $shipping, 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'), 'cost' => $quote[0]['methods'][0]['cost']); //---PayPal WPP Modification START ---// if ($show_payment_page || !$ec_enabled) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } else { tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL')); } //---PayPal WPP Modification END ---// } } } else { tep_session_unregister('shipping'); } } } else { $shipping = false; //---PayPal WPP Modification START ---// if ($show_payment_page || !$ec_enabled) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } else { tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL')); } //---PayPal WPP Modification END ---// } // get all available shipping quotes $quotes = $shipping_modules->quote(); // if no shipping method has been selected, automatically select the cheapest method. // if the modules status was changed when none were available, to save on implementing // a javascript force-selection method, also automatically select the cheapest shipping // method if more than one module is now enabled if ( !tep_session_is_registered('shipping') || ( tep_session_is_registered('shipping') && ($shipping == false) && (tep_count_shipping_modules() > 1) ) ) $shipping = $shipping_modules->cheapest(); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SHIPPING); $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', '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; ?>"> <title><?php echo TITLE; ?></title> <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_address.shipping[0]) { document.checkout_address.shipping[buttonSelect].checked=true; } else { document.checkout_address.shipping.checked=true; } } function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } //--></script> </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_address', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) . tep_draw_hidden_field('action', 'process'); ?><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_delivery.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <? //---PayPal WPP Modification START ---//-- ?> <?php if ($ec_enabled) { if (tep_session_is_registered('paypal_error')) { $messageStack->add('shipping', $paypal_error); tep_session_unregister('paypal_error'); } if ($messageStack->size('shipping') > 0) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php echo $messageStack->output('shipping'); ?></td> </tr> <?php } ?> <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 TEXT_PAYPALWPP_EC_HEADER; ?></b></td> </tr> </table></td> </tr> <tr> <td width="100%" colspan=2 valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2"> <tr> <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> <? if (!$ec_checkout) { ?> <td align="center"><a href="<?php echo tep_href_link('ec_process.php', '', 'SSL'); ?>"><img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" border=0></a></td> <td align="left" valign="middle"><span style="font-size:11px; font-family: Arial, Verdana;"><?php echo TEXT_PAYPALWPP_EC_BUTTON_TEXT; ?></span></td> <? } else { ?> <td align="center" style="font-size:14px; font-family: Arial, Verdana;"><b><? echo TEXT_PAYPALWPP_EC_SWITCH_METHOD_1; ?></b><br><a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, 'ec_cancel=1', 'SSL'); ?>"><? echo TEXT_PAYPALWPP_EC_SWITCH_METHOD_2; ?></a></td> <? } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> <? //---PayPal WPP Modification END ---//-- ?> <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_SHIPPING_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> <? //---PayPal WPP Modification START ---//-- ?> <?php if ($ec_checkout && $ec_enabled) { ?> <td class="main" width="50%" valign="top"><?php echo TEXT_CHOOSE_SHIPPING_DESTINATION . '<br><br><a href="' . tep_href_link(FILENAME_EC_PROCESS, 'clearSess=1', 'SSL') . '">' . tep_image_button('button_change_address.gif', IMAGE_BUTTON_CHANGE_ADDRESS) . '</a>'; ?></td> <?php } else { ?> <td class="main" width="50%" valign="top"><?php echo TEXT_CHOOSE_SHIPPING_DESTINATION . '<br><br><a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '">' . tep_image_button('button_change_address.gif', IMAGE_BUTTON_CHANGE_ADDRESS) . '</a>'; ?></td> <?php } ?> <? //---PayPal WPP Modification END ---//-- ?> <td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="center" valign="top"><?php echo '<b>' . TITLE_SHIPPING_ADDRESS . '</b><br>' . tep_image(DIR_WS_IMAGES . 'arrow_south_east.gif'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <? //---PayPal WPP Modification START ---//-- ?> <?php if ($ec_checkout && $ec_enabled) { $paypal_ec_payer_info = $_SESSION['paypal_ec_payer_info']; $address_label = $paypal_ec_payer_info['payer_firstname'] . ' ' . $paypal_ec_payer_info['payer_lastname'] . '<br>'; if ($paypal_ec_payer_info['payer_business']) $address_label .= $paypal_ec_payer_info['payer_business'].'<br>'; $address_label .= $paypal_ec_payer_info['ship_street_1'] . '<br>'; if ($paypal_ec_payer_info['ship_street_2']) $address_label .= $paypal_ec_payer_info['ship_street_2'].'<br>'; $address_label .= $paypal_ec_payer_info['ship_city'] . ', ' . $paypal_ec_payer_info['ship_state'] . ' ' . $paypal_ec_payer_info['ship_postal_code'] . '<br>'; $address_label .= $paypal_ec_payer_info['ship_country_name']; ?> <td class="main" valign="top"><?php echo $address_label; ?></td> <?php } else { ?> <td class="main" valign="top"><?php echo tep_address_label($customer_id, $sendto, true, ' ', '<br>'); ?></td> <?php } ?> <? //---PayPal WPP Modification END ---//-- ?> <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> <?php //MVS start if (tep_count_shipping_modules() > 0 || SELECT_VENDOR_SHIPPING == 'true') { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_SHIPPING_METHOD; ?></b></td> </tr> </table></td> </tr> <?php if (SELECT_VENDOR_SHIPPING == 'true') { require(DIR_WS_MODULES . 'vendor_shipping.php'); } else { $quotes = $shipping_modules->quote(); if ( defined('MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING') && (MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING == 'true') ) { $pass = false; switch (MODULE_ORDER_TOTAL_SHIPPING_DESTINATION) { case 'national': if ($order->delivery['country_id'] == STORE_COUNTRY) { $pass = true; } break; case 'international': if ($order->delivery['country_id'] != STORE_COUNTRY) { $pass = true; } break; case 'both': $pass = true; break; } $free_shipping = false; if ( ($pass == true) && ($order->info['total'] >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) { $free_shipping = true; include(DIR_WS_LANGUAGES . $language . '/modules/order_total/ot_shipping.php'); } } else { $free_shipping = false; } // if no shipping method has been selected, automatically select the cheapest method. // if the modules status was changed when none were available, to save on implementing // a javascript force-selection method, also automatically select the cheapest shipping // method if more than one module is now enabled if ( !tep_session_is_registered('shipping') || ( tep_session_is_registered('shipping') && ($shipping == false) && (tep_count_shipping_modules() > 1) ) ) $shipping = $shipping_modules->cheapest(); //MVS End ?> <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 if (sizeof($quotes) > 1 && sizeof($quotes[0]) > 1) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="50%" valign="top"><?php echo TEXT_CHOOSE_SHIPPING_METHOD; ?></td> <td class="main" width="50%" valign="top" align="right"><?php echo '<b>' . TITLE_PLEASE_SELECT . '</b><br>' . tep_image(DIR_WS_IMAGES . 'arrow_east_south.gif'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } elseif ($free_shipping == false) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%" colspan="2"><?php echo TEXT_ENTER_SHIPPING_INFORMATION; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } if ($free_shipping == true) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="2" width="100%"><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" colspan="3"><b><?php echo FREE_SHIPPING_TITLE; ?></b> <?php echo $quotes[$i]['icon']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <tr id="defaultSelected" class="moduleRowSelected" onMouseOver="rowOverEffect(this)" onMouseOut="rowOutEffect(this)" onClick="selectRowEffect(this, 0)"> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%"><?php echo sprintf(FREE_SHIPPING_DESCRIPTION, $currencies->format(MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER)) . tep_draw_hidden_field('shipping', 'free_free'); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } else { $radio_buttons = 0; for ($i=0, $n=sizeof($quotes); $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"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><b><?php echo $quotes[$i]['module']; ?></b> <?php if (isset($quotes[$i]['icon']) && tep_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php if (isset($quotes[$i]['error'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><?php echo $quotes[$i]['error']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } else { for ($j=0, $n2=sizeof($quotes[$i]['methods']); $j<$n2; $j++) { // set the radio button to be checked if it is the method chosen $checked = (($quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'] == $shipping['id']) ? true : false); if ( ($checked == true) || ($n == 1 && $n2 == 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" width="75%"><?php echo $quotes[$i]['methods'][$j]['title']; ?></td> <?php if ( ($n > 1) || ($n2 > 1) ) { ?> <td class="main"><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0))); ?></td> <td class="main" align="right"><?php echo tep_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], $checked); ?></td> <?php } else { ?> <td class="main" align="right" colspan="2"><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) . tep_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></td> <?php } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php $radio_buttons++; } } ?> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } } ?> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } } //MVS end ?> <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"><?php echo '<b>' . 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_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> <? //---PayPal WPP Modification START ---//-- ?> <?php if ($show_payment_page || !$ec_enabled) { ?> <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <?php } ?> <? //---PayPal WPP Modification END ---//-- ?> <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="checkoutBarCurrent"><?php echo CHECKOUT_BAR_DELIVERY; ?></td> <? //---PayPal WPP Modification START ---//-- ?> <?php if ($show_payment_page || !$ec_enabled) { ?> <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_PAYMENT; ?></td> <?php } ?> <? //---PayPal WPP Modification END ---//-- ?> <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'); ?> and here is the file that came with Pay Pal WPP: <?php /* $Id: checkout_shipping.php,v 1.16 2003/06/09 23:03:53 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'); require('includes/classes/http_client.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 destination address was selected, use the customers own address as default if (!tep_session_is_registered('sendto')) { tep_session_register('sendto'); $sendto = $customer_default_address_id; } else { // verify the selected shipping 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)$sendto . "'"); $check_address = tep_db_fetch_array($check_address_query); if ($check_address['total'] != '1') { $sendto = $customer_default_address_id; if (tep_session_is_registered('shipping')) tep_session_unregister('shipping'); } } require(DIR_WS_CLASSES . 'order.php'); $order = new order; // register a random ID in the session to check throughout the checkout procedure // against alterations in the shopping cart contents if (!tep_session_is_registered('cartID')) tep_session_register('cartID'); $cartID = $cart->cartID; // if the order contains only virtual products, forward the customer to the billing page as // a shipping address is not needed if ($order->content_type == 'virtual') { if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); $shipping = false; $sendto = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } $total_weight = $cart->show_weight(); $total_count = $cart->count_contents(); // load all enabled shipping modules require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping; if ( defined('MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING') && (MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING == 'true') ) { $pass = false; switch (MODULE_ORDER_TOTAL_SHIPPING_DESTINATION) { case 'national': if ($order->delivery['country_id'] == STORE_COUNTRY) { $pass = true; } break; case 'international': if ($order->delivery['country_id'] != STORE_COUNTRY) { $pass = true; } break; case 'both': $pass = true; break; } $free_shipping = false; if ( ($pass == true) && ($order->info['total'] >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) { $free_shipping = true; include(DIR_WS_LANGUAGES . $language . '/modules/order_total/ot_shipping.php'); } } else { $free_shipping = false; } //---PayPal WPP Modification START ---// if (tep_paypal_wpp_enabled()) { $ec_enabled = true; } else { $ec_enabled = false; } if ($ec_enabled) { if (isset($_GET['ec_cancel']) || (tep_session_is_registered('paypal_ec_token') && !tep_session_is_registered('paypal_ec_payer_id') && !tep_session_is_registered('paypal_ec_payer_info'))) { if (tep_session_is_registered('paypal_ec_temp')) tep_session_unregister('paypal_ec_temp'); if (tep_session_is_registered('paypal_ec_token')) tep_session_unregister('paypal_ec_token'); if (tep_session_is_registered('paypal_ec_payer_id')) tep_session_unregister('paypal_ec_payer_id'); if (tep_session_is_registered('paypal_ec_payer_info')) tep_session_unregister('paypal_ec_payer_info'); } $show_payment_page = false; $config_query = tep_db_query("SELECT configuration_value FROM " . TABLE_CONFIGURATION . " WHERE configuration_key = 'MODULE_PAYMENT_PAYPAL_DP_DISPLAY_PAYMENT_PAGE' LIMIT 1"); if (tep_db_num_rows($config_query) > 0) { $config_result = tep_db_fetch_array($config_query); if ($config_result['configuration_value'] == 'Yes') { $show_payment_page = true; } } $ec_checkout = true; if (!tep_session_is_registered('paypal_ec_token') && !tep_session_is_registered('paypal_ec_payer_id') && !tep_session_is_registered('paypal_ec_payer_info')) { $ec_checkout = false; $show_payment_page = true; } else { if (!tep_session_is_registered('payment')) tep_session_register('payment'); $payment = 'paypal_wpp'; } } //---PayPal WPP Modification END ---// // process the selected shipping method if ( isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process') ) { if (!tep_session_is_registered('comments')) tep_session_register('comments'); if (tep_not_null($HTTP_POST_VARS['comments'])) { $comments = tep_db_prepare_input($HTTP_POST_VARS['comments']); } if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); if ( (tep_count_shipping_modules() > 0) || ($free_shipping == true) ) { if ( (isset($HTTP_POST_VARS['shipping'])) && (strpos($HTTP_POST_VARS['shipping'], '_')) ) { $shipping = $HTTP_POST_VARS['shipping']; list($module, $method) = explode('_', $shipping); if ( is_object($$module) || ($shipping == 'free_free') ) { if ($shipping == 'free_free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $quote = $shipping_modules->quote($method, $module); } if (isset($quote['error'])) { tep_session_unregister('shipping'); } else { if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) { $shipping = array('id' => $shipping, 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'), 'cost' => $quote[0]['methods'][0]['cost']); //---PayPal WPP Modification START ---// if ($show_payment_page || !$ec_enabled) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } else { tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL')); } //---PayPal WPP Modification END ---// } } } else { tep_session_unregister('shipping'); } } } else { $shipping = false; //---PayPal WPP Modification START ---// if ($show_payment_page || !$ec_enabled) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } else { tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL')); } //---PayPal WPP Modification END ---// } } // get all available shipping quotes $quotes = $shipping_modules->quote(); // if no shipping method has been selected, automatically select the cheapest method. // if the modules status was changed when none were available, to save on implementing // a javascript force-selection method, also automatically select the cheapest shipping // method if more than one module is now enabled if ( !tep_session_is_registered('shipping') || ( tep_session_is_registered('shipping') && ($shipping == false) && (tep_count_shipping_modules() > 1) ) ) $shipping = $shipping_modules->cheapest(); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SHIPPING); $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', '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; ?>"> <title><?php echo TITLE; ?></title> <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_address.shipping[0]) { document.checkout_address.shipping[buttonSelect].checked=true; } else { document.checkout_address.shipping.checked=true; } } function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } //--></script> </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_address', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) . tep_draw_hidden_field('action', 'process'); ?><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_delivery.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <? //---PayPal WPP Modification START ---//-- ?> <?php if ($ec_enabled) { if (tep_session_is_registered('paypal_error')) { $messageStack->add('shipping', $paypal_error); tep_session_unregister('paypal_error'); } if ($messageStack->size('shipping') > 0) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php echo $messageStack->output('shipping'); ?></td> </tr> <?php } ?> <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 TEXT_PAYPALWPP_EC_HEADER; ?></b></td> </tr> </table></td> </tr> <tr> <td width="100%" colspan=2 valign="top"><table border="0" width="100%" height="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2"> <tr> <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> <? if (!$ec_checkout) { ?> <td align="center"><a href="<?php echo tep_href_link('ec_process.php', '', 'SSL'); ?>"><img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" border=0></a></td> <td align="left" valign="middle"><span style="font-size:11px; font-family: Arial, Verdana;"><?php echo TEXT_PAYPALWPP_EC_BUTTON_TEXT; ?></span></td> <? } else { ?> <td align="center" style="font-size:14px; font-family: Arial, Verdana;"><b><? echo TEXT_PAYPALWPP_EC_SWITCH_METHOD_1; ?></b><br><a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, 'ec_cancel=1', 'SSL'); ?>"><? echo TEXT_PAYPALWPP_EC_SWITCH_METHOD_2; ?></a></td> <? } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> <? //---PayPal WPP Modification END ---//-- ?> <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_SHIPPING_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> <? //---PayPal WPP Modification START ---//-- ?> <?php if ($ec_checkout && $ec_enabled) { ?> <td class="main" width="50%" valign="top"><?php echo TEXT_CHOOSE_SHIPPING_DESTINATION . '<br><br><a href="' . tep_href_link(FILENAME_EC_PROCESS, 'clearSess=1', 'SSL') . '">' . tep_image_button('button_change_address.gif', IMAGE_BUTTON_CHANGE_ADDRESS) . '</a>'; ?></td> <?php } else { ?> <td class="main" width="50%" valign="top"><?php echo TEXT_CHOOSE_SHIPPING_DESTINATION . '<br><br><a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '">' . tep_image_button('button_change_address.gif', IMAGE_BUTTON_CHANGE_ADDRESS) . '</a>'; ?></td> <?php } ?> <? //---PayPal WPP Modification END ---//-- ?> <td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="center" valign="top"><?php echo '<b>' . TITLE_SHIPPING_ADDRESS . '</b><br>' . tep_image(DIR_WS_IMAGES . 'arrow_south_east.gif'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <? //---PayPal WPP Modification START ---//-- ?> <?php if ($ec_checkout && $ec_enabled) { $paypal_ec_payer_info = $_SESSION['paypal_ec_payer_info']; $address_label = $paypal_ec_payer_info['payer_firstname'] . ' ' . $paypal_ec_payer_info['payer_lastname'] . '<br>'; if ($paypal_ec_payer_info['payer_business']) $address_label .= $paypal_ec_payer_info['payer_business'].'<br>'; $address_label .= $paypal_ec_payer_info['ship_street_1'] . '<br>'; if ($paypal_ec_payer_info['ship_street_2']) $address_label .= $paypal_ec_payer_info['ship_street_2'].'<br>'; $address_label .= $paypal_ec_payer_info['ship_city'] . ', ' . $paypal_ec_payer_info['ship_state'] . ' ' . $paypal_ec_payer_info['ship_postal_code'] . '<br>'; $address_label .= $paypal_ec_payer_info['ship_country_name']; ?> <td class="main" valign="top"><?php echo $address_label; ?></td> <?php } else { ?> <td class="main" valign="top"><?php echo tep_address_label($customer_id, $sendto, true, ' ', '<br>'); ?></td> <?php } ?> <? //---PayPal WPP Modification END ---//-- ?> <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> <?php if (tep_count_shipping_modules() > 0) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_SHIPPING_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 if (sizeof($quotes) > 1 && sizeof($quotes[0]) > 1) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="50%" valign="top"><?php echo TEXT_CHOOSE_SHIPPING_METHOD; ?></td> <td class="main" width="50%" valign="top" align="right"><?php echo '<b>' . TITLE_PLEASE_SELECT . '</b><br>' . tep_image(DIR_WS_IMAGES . 'arrow_east_south.gif'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } elseif ($free_shipping == false) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%" colspan="2"><?php echo TEXT_ENTER_SHIPPING_INFORMATION; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } if ($free_shipping == true) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="2" width="100%"><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" colspan="3"><b><?php echo FREE_SHIPPING_TITLE; ?></b> <?php echo $quotes[$i]['icon']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, 0)"> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%"><?php echo sprintf(FREE_SHIPPING_DESCRIPTION, $currencies->format(MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER)) . tep_draw_hidden_field('shipping', 'free_free'); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } else { $radio_buttons = 0; for ($i=0, $n=sizeof($quotes); $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"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><b><?php echo $quotes[$i]['module']; ?></b> <?php if (isset($quotes[$i]['icon']) && tep_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php if (isset($quotes[$i]['error'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><?php echo $quotes[$i]['error']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } else { for ($j=0, $n2=sizeof($quotes[$i]['methods']); $j<$n2; $j++) { // set the radio button to be checked if it is the method chosen $checked = (($quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'] == $shipping['id']) ? true : false); if ( ($checked == true) || ($n == 1 && $n2 == 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" width="75%"><?php echo $quotes[$i]['methods'][$j]['title']; ?></td> <?php if ( ($n > 1) || ($n2 > 1) ) { ?> <td class="main"><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0))); ?></td> <td class="main" align="right"><?php echo tep_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], $checked); ?></td> <?php } else { ?> <td class="main" align="right" colspan="2"><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) . tep_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></td> <?php } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php $radio_buttons++; } } ?> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } } ?> </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_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"><?php echo '<b>' . 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_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> <? //---PayPal WPP Modification START ---//-- ?> <?php if ($show_payment_page || !$ec_enabled) { ?> <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <?php } ?> <? //---PayPal WPP Modification END ---//-- ?> <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="checkoutBarCurrent"><?php echo CHECKOUT_BAR_DELIVERY; ?></td> <? //---PayPal WPP Modification START ---//-- ?> <?php if ($show_payment_page || !$ec_enabled) { ?> <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_PAYMENT; ?></td> <?php } ?> <? //---PayPal WPP Modification END ---//-- ?> <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'); ?> If compared in Winmerge (or any other file comparison program I am sure) you can see where they are different. My problem is, I am not sure how to integrate these two codes. Can anyone help? Thanks in advance. Gary
  23. gmltw

    PayPal WPP Direct Payments & Express Checkout Support

    More information but probably still not helpful. I ran the wpp_diagnostics.php file included and got the following results (all green). It is not necessarily tied to the login process either. If there is nothing in the cart and I try to log in it will process correctly. however, if I add something to the cart and try to proceed to checkout it gives me the same page above but I noticed that this time the URL is different and has an error in it's address https://www.gourmetsoiree.com/checkout_shipping.php?error_message=ERROR_NO_SHIPPING_SELECTED_SELECTED . It says something about No shipping selected but it had not gone to the shipping selection page yet. Anyone have any ideas? Thanks, Gary
  24. Sorry all, I meant to place this in the support thread for PayPal Website Payments Pro. Seems I didn't. I have reposted this to the correct forum thread found here: http://forums.oscommerce.com/index.php?showtopic=174981&st=2040&gopid=1034460entry1034460 Gary
  25. I am trying to get the PayPal Website Payments Pro (US/UK) by dynamoeffects v0.9 contribution working with my site and I think that there may be a problem with it working with another contribution that I have installed. I am receiving an error when ever I try to log in (with a test account). The error is: Before I began the install for the PayPal contrib I made sure that everything was working correctly with what I already had. Currently I have OSC 2.2 MS2, Ultimate_SEO_URLSv21d, MVS-V1.1, cDynamic Meta Tags v1.0. Is it because of the altered urls that are being generated or something else? I will be glad to leave some code snippets if needed, just don't know which file may be causing the problem. I appreciate any help in the right direction. Thanks, Gary
×