Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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:

Posted

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. :(

  • 1 month later...
Posted

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!

Best regards,

 

Elmo

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...