Jump to content

applelinks

Members
  • Content count

    60
  • Joined

  • Last visited

Everything posted by applelinks

  1. applelinks

    Enable PayPal Express Checkout, quick question

    What worked for us was to look at /catalog/includes/classes/order.php We had an old version of the file and we missing this code from the file. An eay way to fins what you are missing is download the newest verson of OSC and do a Diff of the files Hope this helpes if (is_array($sendto) && !empty($sendto)) { $shipping_address = array('entry_firstname' => $sendto['firstname'], 'entry_lastname' => $sendto['lastname'], 'entry_company' => $sendto['company'], 'entry_street_address' => $sendto['street_address'], 'entry_suburb' => $sendto['suburb'], 'entry_postcode' => $sendto['postcode'], 'entry_city' => $sendto['city'], 'entry_zone_id' => $sendto['zone_id'], 'zone_name' => $sendto['zone_name'], 'entry_country_id' => $sendto['country_id'], 'countries_id' => $sendto['country_id'], 'countries_name' => $sendto['country_name'], 'countries_iso_code_2' => $sendto['country_iso_code_2'], 'countries_iso_code_3' => $sendto['country_iso_code_3'], 'address_format_id' => $sendto['address_format_id'], 'entry_state' => $sendto['zone_name']); } elseif (is_numeric($sendto)) { $shipping_address_query = tep_db_query("select ab.entry_firstname, ab.entry_lastname, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, z.zone_name, ab.entry_country_id, c.countries_id, c.countries_name, c.countries_iso_code_2, c.countries_iso_code_3, c.address_format_id, ab.entry_state from " . TABLE_ADDRESS_BOOK . " ab left join " . TABLE_ZONES . " z on (ab.entry_zone_id = z.zone_id) left join " . TABLE_COUNTRIES . " c on (ab.entry_country_id = c.countries_id) where ab.customers_id = '" . (int)$customer_id . "' and ab.address_book_id = '" . (int)$sendto . "'"); $shipping_address = tep_db_fetch_array($shipping_address_query); } else { $shipping_address = array('entry_firstname' => null, 'entry_lastname' => null, 'entry_company' => null, 'entry_street_address' => null, 'entry_suburb' => null, 'entry_postcode' => null, 'entry_city' => null, 'entry_zone_id' => null, 'zone_name' => null, 'entry_country_id' => null, 'countries_id' => null, 'countries_name' => null, 'countries_iso_code_2' => null, 'countries_iso_code_3' => null, 'address_format_id' => 0, 'entry_state' => null); } if (is_array($billto) && !empty($billto)) { $billing_address = array('entry_firstname' => $billto['firstname'], 'entry_lastname' => $billto['lastname'], 'entry_company' => $billto['company'], 'entry_street_address' => $billto['street_address'], 'entry_suburb' => $billto['suburb'], 'entry_postcode' => $billto['postcode'], 'entry_city' => $billto['city'], 'entry_zone_id' => $billto['zone_id'], 'zone_name' => $billto['zone_name'], 'entry_country_id' => $billto['country_id'], 'countries_id' => $billto['country_id'], 'countries_name' => $billto['country_name'], 'countries_iso_code_2' => $billto['country_iso_code_2'], 'countries_iso_code_3' => $billto['country_iso_code_3'], 'address_format_id' => $billto['address_format_id'], 'entry_state' => $billto['zone_name']); } else { $billing_address_query = tep_db_query("select ab.entry_firstname, ab.entry_lastname, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, z.zone_name, ab.entry_country_id, c.countries_id, c.countries_name, c.countries_iso_code_2, c.countries_iso_code_3, c.address_format_id, ab.entry_state from " . TABLE_ADDRESS_BOOK . " ab left join " . TABLE_ZONES . " z on (ab.entry_zone_id = z.zone_id) left join " . TABLE_COUNTRIES . " c on (ab.entry_country_id = c.countries_id) where ab.customers_id = '" . (int)$customer_id . "' and ab.address_book_id = '" . (int)$billto . "'"); $billing_address = tep_db_fetch_array($billing_address_query); } if ($this->content_type == 'virtual') { $tax_address = array('entry_country_id' => $billing_address['entry_country_id'], 'entry_zone_id' => $billing_address['entry_zone_id']); } else { $tax_address = array('entry_country_id' => $shipping_address['entry_country_id'], 'entry_zone_id' => $shipping_address['entry_zone_id']); }
  2. applelinks

    Search by Price Infobox

    HI Mark I'm haveing the same problem. Tried your fix if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_shop_by_price_box(); } else { include(DIR_WS_BOXES . 'shop_by_price.php'); } but it did not work anyone have any answers on how to kkep the found set of products when you go to the next page? Thanks
  3. applelinks

    Multi-Stores Multiple Shops Support

    Hi We also have tried everything. even installed a new store, so that there are all original fies and database. Still cannot log in. If anyone has a fix for this problem, please let us know thanks Joe
  4. applelinks

    RSS Feed contribution support thread

    HI We place products in several categories. When this happens we end up with the same product listed several time in the rss feed. Is there any way to have the product show once in the rss feed even-though it is linked to several categories? feed://www.thinkdifferentstore.com/rss.php Thanks
  5. applelinks

    Ship In Cart

    HI Just installed the Ship In Cart and we are getting the following error Fatal error: Cannot redeclare class in httpclient in /includes/classes/http_client.php on line 37 Uhave searched everywhere an con not find an answer. can anyone point us in the correct direction Thanks joe
  6. applelinks

    [Contribution] Ship In Cart

    HI Just installed the Ship In Cartand we are getting the following error Fatal error: Cannot redeclare class in httpclient in /includes/classes/http_client.php on line 37 Uhave searched everywhere an con not find an answer. can anyone point us in the correct direction Thanks joe
  7. applelinks

    Estimated Shipping Costs

    HI Just installed the Estimated Shipping Costs and we are getting the following error Fatal error: Cannot redeclare class in httpclient in /includes/classes/http_client.php on line 37 Uhave searched everywhere an con not find an answer. can anyone point us in the correct direction Thanks joe
  8. Hi After installing the Cancel/Void Shopping Cart Orders Modification. get the following error when trying to cancel an order 1136 - Column count doesn't match value count at row 1 insert into cancelled_orders_products select * from orders_products where orders_id = '5004' [TEP STOP] has anyone has a similar problem? Joe
  9. applelinks

    Google Checkout Level 2

    One other thing i noticed is that when the shipping price is sent back to oscommerce it is doubled. if anyone has aqny idea how to correct this please let us know thanks joe
  10. applelinks

    Google Checkout Level 2

    HI Just adding my $0.02 This Mod just works! Dont forget to make the change at this post http://forums.oscommerce.com/index.php?sho...24396&st=99 I have used goggle's own OSCommerce Contrib and it is very buggy. can't get it to work. My only request is to use the product_modle instead of the product_id when the order is written to Oscommerce. This change was made from version 2.5 to 2.6. If anyone knows how to change this please let me know. Thanks Joe
  11. applelinks

    Article Manager v1.0

    HI, I might just have been looking at the code too long but i'm having 2 problems. First I'm trying to add links in the articles to other articles and products with the session id in the URL. in the article Content field i'm adding the following code to generate a link <p>On September 12, 2006 Apple introduced new Video, nano and Shuffle iPods. <?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT) . '">' . 'CHECKOUT' . '</a>'; ?> when i publish the article this is how the article looks On September 12, 2006 Apple introduced new Video, nano and Shuffle iPods. '; ?> am i missing something simple? ------------ as for htmlarea. i have uploaded to our serve and i have tried 3 browsers and it does not show up in the admin/articles.php page. checked all settings in the config file and they are correct. and ideas would be a great help thanks joe
  12. HI, I might just have been looking at the code too long but i'm having 2 problems. First I'm trying to add links in the articles to other articles and products with the session id in the URL. in the article Content field i'm adding the following code to generate a link <p>On September 12, 2006 Apple introduced new Video, nano and Shuffle iPods. <?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT) . '">' . 'CHECKOUT' . '</a>'; ?> when i publish the article this is how the article looks On September 12, 2006 Apple introduced new Video, nano and Shuffle iPods. '; ?> am i missing something simple? ------------ as for htmlarea. i have uploaded to our serve and i have tried 3 browsers and it does not show up in the admin/articles.php page. checked all settings in the config file and they are correct. and ideas would be a great help thanks joe
  13. applelinks

    ### POINTS AND REWARDS MODULE V1.00 ###

    Thanks the order totals worked. I just moved te tax below the sipping and all is fine again Joe
  14. applelinks

    ### POINTS AND REWARDS MODULE V1.00 ###

    I'm having the same problem, but it is not working with credit cards or paypal checkout_confirmation.php nothing pertaining to points show up on this page. the point dollar amount is not being subtracted from the total i have reinstalled everything for a 3 time with no luck. i do have the Credit Class & Gift Voucher installed which is working. account_history_info.php - nothing pertaining to points show up on this page. Thanks joe
  15. HI products with special price are added to the cart with the special price and not the qty price break price. is the there was a way to fix this in the older version with the awb_pb.php file. But the newer version we are using does not have the awb_pb.php. Does anyone know how to bypass the special pricing thnaks joe
  16. applelinks

    Batch Order Center Update 1.1

    I'm trying to add the customers_id to the pdf output. I not sure how you're calling that from the DB. any suggestions?
  17. applelinks

    Batch Order Center Update 1.1

    I'm trying to add the customers_id to the pdf output. I not sure how you're calling that from the DB. any suggestions?
  18. applelinks

    Batch Order Center Update 1.1

    One more thing.. I'm trying to add the customers_id to the pdf output. I not sure how you're calling that from the DB. any suggestions? Pete
  19. applelinks

    Batch Order Center Update 1.1

    Great!!!!!!!! Thanks
  20. applelinks

    Batch Order Center Update 1.1

    Hi I'm getting this error. Has anyone found a fix yet Fatal error: Cannot redeclare verify_date() (previously declared in /admin/batch_print.php:332) in /admin/batch_print.php on line 351 Joe
  21. applelinks

    UPS labelmaker - importing data to ups.com

    Hi Is it possible to get a copy of the program. It will save us hours each day. Thanks Joe
  22. applelinks

    PayPal_Shopping_Cart_IPN

    Hi Will PayPal_Shopping_Cart_IPN eliminate the paypal problem of having to click the 'click here to continue' to complete the order? joe
  23. applelinks

    Cancelled Orders Contribution Support

    at line 65 in cancelled_account_history.php $history_query_raw = "select o.orders_id, o.date_purchased, o.delivery_name, o.billing_name, ot.text as order_total, s.orders_status_name from " . TCANCELLED_TABLE_ORDERS . " o, " . CANCELLED_ORDERS_TOTAL . " ot, " . TABLE_ORDERS_STATUS . " s where o.customers_id = '" . (int)$customer_id . "' and o.orders_id = ot.orders_id and ot.class = 'ot_total' and o.orders_status = s.orders_status_id and s.language_id = '" . (int)$languages_id . "' order by orders_id DESC"; replace TCANCELLED_TABLE_ORDERS with CANCELLED_TABLE_ORDERS. at line 20 in cancelled_account_history_info.php if (!isset($HTTP_GET_VARS['order_id']) || (isset($HTTP_GET_VARS['order_id']) && !is_numeric($HTTP_GET_VARS['order_id']))) { tep_redirect(tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL')); } $customer_info_query = tep_db_query("select customers_id from " . TABLE_ORDERS . " where orders_id = '". (int)$HTTP_GET_VARS['order_id'] . "'"); $customer_info = tep_db_fetch_array($customer_info_query); if ($customer_info['customers_id'] != $customer_id) { tep_redirect(tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL')); } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_HISTORY_INFO); replace the FILENAME_ACCOUNT_HISTORY_INFO with FILENAME_CANCELLED_ACCOUNT_HISTORY_INFO and TABLE_ORDERS with TABLE_CANCELLED_ORDERS Thx for this great contribution. :) Regards, Stephan Thanks for all the help I think CANCELLED_TABLE_ORDERS needs to be TABLE_CANCELLED_ORDERS Joe
  24. applelinks

    Department Specific Contact Us

    Hi Can anyone tell how to get this to work on the current version of OSC. The code listed above is not the same on my countact_us.php page thanks joe
  25. applelinks

    Cancelled Orders Contribution Support

    One more problem. I'm using manual order entry to create an order. Once the order was created i went to cancel the order and i got this error 1062 - Duplicate entry '0' for key 1 insert into cancelled_orders_status_history (orders_id, orders_status_id, date_added, customer_notified) values ('8646', '2099', now(), '0') [TEP STOP] Joe
×