Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ups blank field


Guest

Recommended Posts

In the base OSC shipping module for UPS - I get a blank shipping method field in the last field when the customer trys to ship the product, yet there is a price in the price field. Any ideas on how to add a descriptive text to the blank field???

 

D

Link to comment
Share on other sites

I have found a temp fix for this. In your shipping module, under UPS, change the CC to an LC. For some reason, you don't get as many shipping choices, but it kills the blank line in the UPS selections. You only get the chioces of UPS' faster shipping methods. After I did this, I was able to check out as well. If someone finds the real problem or can direct me to a better solution to get the cheaper ground rates placed into the scale, please let me know.

Link to comment
Share on other sites

It is a simple fix to make it work right.

 

This will allow you to choose CC or any other option as far as I can tell.

 

***BACKUP YOUR UPS.PHP FILE BEFORE CHANGING ANYTHING***

 

Go to: /catalog/includes/modules/shipping/ups.php and look for this:

 

 

$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',

'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');

 

In these lines, change the GNDCOM and GNDRES to just read GND.

It should look like this when you are through:

 

$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 Commercial',

'GND' => 'Ground Residential',

'STD' => 'Canada Standard',

'XPR' => 'Worldwide Express',

'XPRL' => 'worldwide Express Letter',

'XDM' => 'Worldwide Express Plus',

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

'XPD' => 'Worldwide Expedited');

 

Upload the new changes and it should work now.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...