falconpilot Posted June 3, 2004 Posted June 3, 2004 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 Quote
falconpilot Posted June 3, 2004 Author Posted June 3, 2004 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 Quote
Rob123 Posted June 4, 2004 Posted June 4, 2004 (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 June 4, 2004 by Rob123 Quote
falconpilot Posted June 4, 2004 Author Posted June 4, 2004 Hey thanks a lot Robert. I will give it a try right now. Falconpilot Quote
Rob123 Posted June 4, 2004 Posted June 4, 2004 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 Quote
falconpilot Posted June 5, 2004 Author Posted June 5, 2004 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 Quote
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.