Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I am using 2.2 ms1. I am trying to disable the Next day air option from my UPS shipping. There is no setting to edit this within the UPS module. Does anyone have any idea how to do this. Thanks in advance.

 

Falconpilot

Posted

To clarify, all I am trying to do is disable all UPS shipping methods except UPS Ground. Ground shipping is all I want to offer. Any ideas?

 

 

Thanks

 

Falconpilot

Posted (edited)

In the file includes/modules/shipping/ups.php

find the following around line 46

 

$this->types = array('1DM' => 'Next Day Air Early AM',

'1DML' => 'Next Day Air Early AM Letter',

'1DA' => 'Next Day Air',

'1DAL' => 'Next Day Air Letter',

'1DAPI' => 'Next Day Air Intra (Puerto Rico)',

'1DP' => 'Next Day Air Saver',

'1DPL' => 'Next Day Air Saver Letter',

'2DM' => '2nd Day Air AM',

'2DML' => '2nd Day Air AM Letter',

'2DA' => '2nd Day Air',

'2DAL' => '2nd Day Air Letter',

'3DS' => '3 Day Select',

'GND' => 'Ground',

'GNDCOM' => 'Ground Commercial',

'GNDRES' => 'Ground Residential',

'STD' => 'Canada Standard',

'XPR' => 'Worldwide Express',

'XPRL' => 'worldwide Express Letter',

'XDM' => 'Worldwide Express Plus',

'XDML' => 'Worldwide Express Plus Letter',

'XPD' => 'Worldwide Expedited');

 

Comment out the lines you dont want using slashes //

and type a ");" without quotes at the end

 

or

Change the above to read:

 

$this->types = array('GND' => 'Ground');

 

 

It's not pretty but it works.

Robert

Edited by Rob123
Posted

After looking at my code, I determined it doesn't seem to work correctly on the stock OsC.

The contribution that I use is

UPS Choice

 

Everything is configurable through the admin. The hack above is not necessary.

I'm not the author but have had great success.

Robert

Posted

Thanks Rob. Yeah I am looking at the UPS Choice 1.7 version as well. I think it will do what I need. Also, do you have any idea how to change the stock osc index page box labeled "New Products for June" to a box that contains just a pic for each specific product catagory on my site. Thanks again.

 

Falconpilot

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