Jump to content

bbyyaa

Members
  • Content count

    73
  • Joined

  • Last visited

Profile Information

  1. Hi, I have a site with multi vendors. Currently UPS shipping method is used for all vendors. We have added a new vendor and he requests UPS but the shipping calculation will be different from the other vendors. I am thinking to duplicate the /includes/module/vendor_shipping/ups.php to ups2.php and change the class name from ups to ups2 in the code. Copy the includes/languages/english/modules/vendor_shipping/ups.php to ups2.php also. I am wondering what else do I need to modify or look into when I am trying to do this project. Step 1. I just need to be able to install the 2nd ups module in the admin/vendor managment. Thanks for any help or hint in advance.
  2. How can we test the supertracker on a test site? Since there is no referrer. Any tips?
  3. bbyyaa

    One Page Checkout Support

    Thank you very much.
  4. bbyyaa

    One Page Checkout Support

    Thanks, Steve. What does the code look like? Is $order_id global? Thanks for any help in advance.
  5. bbyyaa

    One Page Checkout Support

    Hi, Where does $order_id get assigned for the one page checkout? My site (without using one page checkout) is in the checkout_process.php which is kind of late so it causes $order_id undefined error in the includes/classes/order.php. Thanks for any help in advance.
  6. bbyyaa

    One Page Checkout Support

    Thank you very much, Monk. I just noticed that in the following line of code that $paymentMethod is empty. Where does $onepage['info'['payment_method'] get set? Which file and after what event(after clicking certain button)? $paymentMethod = $onepage['info']['payment_method']; Thanks for any help in advance.
  7. bbyyaa

    One Page Checkout Support

    Hi, Can somebody let me know where the functions pre_confirmation_check and confirmation are defined? I got errors and couldn't find them on my site. Wonder if there is some add on I don't have on our site. The error is pointing to the code in includes/classes/onepage_checkout.php. $GLOBALS[$paymentMethod]->pre_confirmation_check(); $GLOBALS[$paymentMethod]->confirmation(); Thanks for any help in advance.
  8. bbyyaa

    One Page Checkout Support

    Never mind. I forgot to change some of the files mentioned in the instruction. Sorry.
  9. bbyyaa

    One Page Checkout Support

    Hi, I installed the lastest one page checkout. On shopping_cart page, if I clicked checkout then it takes me to login page. This is actually correct because it goes to checkout_shipping page first and check if (!tep_session_is_registered('customer_id')). If not then redirect to login page. My question is when did the cusomter_id session did get registered. Which file made the session registered? How to fix this situation? Thanks for any help in advance.
  10. bbyyaa

    Who's Online Enhancement 1.4

    I have 2 different keys so I don't think that is the problem.
  11. bbyyaa

    Who's Online Enhancement 1.4

    Hi, I am using 3.6.5 for 2 different websites (2 different hosting companies). The google map works for 1 site but not the other. Any guess for the problem? Thanks for any help in advance.
  12. bbyyaa

    duplicate invoice number

    Used the following codes in authorizenet_aim.php inside before_process function. It works fine when the traffic is small. It sometimes produces duplicate invoice number passing to authorize net when the traffic is heavy or the orders were placed close each other though. Any suggestion to fix it? Thanks for any help in advance. $last_order_id = tep_db_query("select * from " . TABLE_ORDERS . " order by orders_id desc limit 1"); $last_order = mysql_fetch_array($last_order_id); $new_order_id = $last_order['orders_id']; $new_order_id = ($new_order_id + 1);
  13. If we turn off the SEO URL through admin config by setting it false for 'Enable SEO RULs?' then the it will go back to product_info.php?products_id=.... right? (theorectically speaking since I did turn it off but it doesn't seems to have any effect) If this doesn't turn it off, what do I need to do?
  14. What does "$2&%" mean in this .htaccess line? RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
×