Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

playcraft

Pioneers
  • Posts

    200
  • Joined

  • Last visited

Everything posted by playcraft

  1. Shipping address line 2 is omitted in ext modules express_payflow.php file. (http://addons.oscommerce.com/info/5657) After line 182: $ship_address = tep_db_prepare_input($response_array['SHIPTOSTREET']); add: $ship_address2 = tep_db_prepare_input($response_array['SHIPTOSTREET2']); Change line 208: From: $check_query = tep_db_query("select address_book_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and entry_firstname = '" . tep_db_input($ship_firstname) . "' and entry_lastname = '" . tep_db_input($ship_lastname) . "' and entry_street_address = '" . tep_db_input($ship_address) . "' and entry_postcode = '" . tep_db_input($ship_postcode) . "' and entry_city = '" . tep_db_input($ship_city) . "' and (entry_state = '" . tep_db_input($ship_zone) . "' or entry_zone_id = '" . (int)$ship_zone_id . "') and entry_country_id = '" . (int)$ship_country_id . "' limit 1"); To: $check_query = tep_db_query("select address_book_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and entry_firstname = '" . tep_db_input($ship_firstname) . "' and entry_lastname = '" . tep_db_input($ship_lastname) . "' and entry_street_address = '" . tep_db_input($ship_address) . "' and entry_suburb = '" . tep_db_input($ship_address2) . "' and entry_postcode = '" . tep_db_input($ship_postcode) . "' and entry_city = '" . tep_db_input($ship_city) . "' and (entry_state = '" . tep_db_input($ship_zone) . "' or entry_zone_id = '" . (int)$ship_zone_id . "') and entry_country_id = '" . (int)$ship_country_id . "' limit 1"); Add after line 217: 'entry_suburb' => $ship_address2, Add after line 416: $params['SHIPTOSTREET2'] = urlencode($order->delivery['suburb']);
  2. The Payflow module has issues with retrying credit cards and different Paypal accounts for the same shopping cart, session id, etc. I would recommend the $request_id be changed to include the token for Paypal Express checkout and for the regular payment pro checkout the $post_string should be hashed and tacked onto $request_id. Otherwise, the customer will be hit with the DUPLICATE flag, causing a false positive.
  3. I would recommend installing the latest patch to this contribution as there is an exploit that allows anyone to access the admin side without actually logging in. See http://addons.oscommerce.com/info/1730.
  4. In the process of planning a big collaboration Project.

  5. What are the exact steps to replicate this? I cannot seem to replicate it.
  6. What is on line 312 of your application_top.php file?
  7. I would start by searching fedex in the add-on section.
  8. Excellent job keeping the forums running smoothly.

  9. Check your margin setting on your browser (page setup).
  10. Uncomment in ship_fedex.php //$update_status = array ('orders_status' => 3); //tep_db_perform(TABLE_ORDERS, $update_status, 'update', "orders_id = '" . $order . "'");
  11. You can add substr() to the shipper company variable (ex. substr($company, 0, 35)).
  12. You might want to make a backup of your backup. I would make a subdomain for testing your migration process. You cannot restore a database file through oscommerce without oscommerce being installed. So the way to go about this is run you sql file in phpmyadmin (make sure you use the same login credentials as your old database). Then upload your backup files.
  13. Your product info (aside from the images) are stored in a database.
  14. Do you have your database file?
  15. Spooks changes are the same as the ones I posted above (only difference being his is stored in a variable and performs a check to see if the image is set in the database but his code is not retrieving the large image). Can you post your modified files that work aside from the large image showing? What I meant about coding in the dark is I cannot see the output as I do not have access to your webserver.
  16. In index.php make the following changes: Find: $select_column_list .= 'p.products_image, '; and add below: $select_column_list .= 'p.large_products_image, '; Also in index.php you will need to include the css code. Do not perform this next step in a production environment. In product_listing.php the following changes need to be performed: Find: $display .= '<table summary="" width="100%" ><tr><td style="text-align:center;" valign="top" height="'.PRODUCT_IMAGE_VSPACE.'" >'.$image.'</td></tr></table>'; and replace with: $display .= '<table summary="" width="100%" ><tr><td style="text-align:center;" valign="top" height="'.PRODUCT_IMAGE_VSPACE.'" >'.$image. tep_image(DIR_WS_IMAGES . $listing['large_products_image'], $listing['products_name'], '', '', 'class="large"') .'</td></tr></table>'; You will need to add a link in there as well. I can't really take this any further as I would be coding in the dark.
  17. If you are going to run the osCommerce installation wizard it WILL overwrite your database entries.
  18. Woooo, What a mess! :blink: I assume large_products_image is stored in the products table?
  19. You might want to backup your database first.
  20. Add you css and do the following: Change: echo tep_image(DIR_WS_IMAGES . $products['large_products_image'], $products['products_name']); to: echo tep_image(DIR_WS_IMAGES . $products['large_products_image'], $products['products_name'],'','','class="large"'); You will probably have to make the image into a hyperlink as well.
  21. Have you tried to debug this? P.S. I am from Pigeon Forge, TN B)
  22. Also, here is a java applet. https://www.fedex.com/fsm/applet/PeernetPrintApplet.jar
×
×
  • Create New...