Jump to content


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
    Arnold Kao
  1. airbeds

    Multi_Vendor_Shipping new thread

    Is there a way to add Google Checkout into MVS?
  2. airbeds

    Multi_Vendor_Shipping new thread

    Sorry to post so many times in a row >_< but I still can't seem to find the answer to my problem after extensive search. This previous post by Allen (aka bigal50) exactly matches my problem except that I'm only using USPS for international shipments. So, after he mentioned that his problem was fixed after inserting his zip code, I looked over my vendors' information. I left a few fields empty because I didn't think they were necessary: Address 2 (I don't have one to put in) Website Account Number/ID (I don't even know what this is) Additional Info Image (I don't want/need one) I've also got to mention that I tried to fix the problem using the usps.php in the MVS 1.1 package and the update for May 14, 2007 to no avail. I'm losing sleep over this! Help, please!
  3. airbeds

    Multi_Vendor_Shipping new thread

    Err, nevermind. There was a misunderstanding on my part about what I had to do. But now I have a technical problem: I can't seem to get the USPS shipping method to work. the UPS choice is working just fine with MVS, but the USPS always comes up with an error when you get to checkout_shipping.php. I'm trying to get USPS to only work for international shipments outside of the US, so in the admin menu, the only option I checked off was Express under Int'l. I'm not quite sure why it's not working. I've signed up for a new USPS account and put in the user ID and password in /admin, and I've tested to see if the mod works by changing Testing/Production mode back and forth. Help me, please. :( Thanks.
  4. airbeds

    Multi_Vendor_Shipping new thread

    Thanks it works now. :D But, now, I need a way to have one product sold by 2+ vendors. The way my site works is that one product is sold by a vendor in California and another vendor in New Jersey. Depending on which location it's being shipped to, the customer automatically gets a shipping quote. Particularly, what I'm looking for is that particular products (grouped by manufacturer) being shipped to California are shipped from within California, and if those products are to be shipped to other states, then they are shipped from New Jersey.
  5. airbeds

    Multi_Vendor_Shipping new thread

    I'm trying to install MVS 1.1 right now, and I'm having some trouble. I just followed all the instructions in Admin_Install.txt and then before going on to Catalog_Install.txt, I wanted to make sure I did everything right so far. Hence, I went to the /admin/index.php, and I get this: Fatal error: Cannot redeclare tep_cfg_select_multioption() (previously declared in /home/alfaelec/public_html/shop/admin/includes/functions/general.php:66) in /home/alfaelec/public_html/shop/admin/includes/functions/general.php on line 835 I recognize tep_cfg_select_multioption($select_array, $key_value, $key = '') to be part of what Admin_Install.txt told me to put in after lines 10-11: Released under the GNU General Public License */ The overall code it told me to put in was: //// MVS start // Sets the Vendor Send Order Emails function tep_set_vendor_email($vendors_id, $vendors_send_email) { if ($vendors_send_email == '1') { return tep_db_query("update " . TABLE_VENDORS . " set vendors_send_email = '1' where vendors_id = '" . (int)$vendors_id . "'"); } elseif ($vendors_send_email == '0') { return tep_db_query("update " . TABLE_VENDORS . " set vendors_send_email = '0' where vendors_id = '" . (int)$vendors_id . "'"); } else { return -1; } } function tep_get_vendors_info($product_id, $vendors_id, $language_id = 0) { global $languages_id; if ($language_id == 0) $language_id = $languages_id; $product_query = tep_db_query("select * from " . TABLE_VENDORS . " where " . TABLE_VENDORS . " .vendors_id = " . TABLE_PRODUCTS . " .vendors_id and products_id = '" . (int)$product_id . "' and language_id = '" . (int)$language_id . "'"); $product = tep_db_fetch_array($product_query); return $product['vendors_name']; } function tep_get_vendors_prod_comments($product_id) { $product_query = tep_db_query("select vendors_prod_comments from " . TABLE_PRODUCTS . " where products_id = '" . (int)$product_id . "'"); $product = tep_db_fetch_array($product_query); return $product['vendors_prod_comments']; } function tep_get_vendor_url($vendor_id, $language_id) { $vendor_query = tep_db_query("select vendors_url from " . TABLE_VENDORS_INFO . " where vendors_id = '" . (int)$vendor_id . "' and languages_id = '" . (int)$language_id . "'"); $vendor = tep_db_fetch_array($vendor_query); return $vendor['vendors_url']; } // works to send copy of EVERY EMAIL SENT FROM STORE uncomment to use /* if (SEND_EXTRA_ORDER_EMAILS_TO != '') { $message->send('', SEND_EXTRA_ORDER_EMAILS_TO, $from_email_name, $from_email_address, $email_subject); } */ // Alias function for array of configuration values in the Administration Tool function tep_cfg_select_multioption($select_array, $key_value, $key = '') { for ($i=0; $i<sizeof($select_array); $i++) { $name = (($key) ? 'configuration[' . $key . '][]' : 'configuration_value'); $string .= '<br><input type="checkbox" name="' . $name . '" value="' . $select_array[$i] . '"'; $key_values = explode( ", ", $key_value); if ( in_array($select_array[$i], $key_values) ) $string .= 'CHECKED'; $string .= '> ' . $select_array[$i]; } return $string; } //MVS End I'm about to install the catalog and run the mvs.sql too to see if it helps, but I doubt it will change anything for this error.