jgkiefer Posted June 18, 2003 Posted June 18, 2003 I am using Multi Vendor Shipping with snapshot 5-19-03. I am trying to disable the display on the checkout page for shipping using the modules ups.php and percent.php by following the directions in the Install.txt. "You then will need to edit the remove function in each module so that the variables are not deleted. With the current release you should just have to comment out this line" tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in (" . $keys . ")"); When I do this it disables the shipping function. Here are the two shipping modules code: In ups.php- tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); And in percent.php- tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); This is a great mod. Now if I could just get it to display correctly. :wink: Quote
jgkiefer Posted June 18, 2003 Author Posted June 18, 2003 The problem I was having was in commenting out the ups. I solved this problem by also installing the UPS Choice v1.7 contribution, which allowed me to specify one ups shipping method, in my case I only use ups ground. Then when I commented out the code all was well. UPS Choice v1.7 is very easy and quick to install. :wink: I am still having problems commenting out the percent shipping module though. :( Quote
Elmo Posted August 3, 2003 Posted August 3, 2003 May I ask if u're referring to the following fatal error message that I got? Fatal error: Cannot instantiate non-existent class: ups in /home/www/html/catalog/includes/modules/shipping/mltship.php on line 75 and line 75 is : $rate = new ups; Please help! Quote Best regards, Elmo
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.