Magic_Man Posted February 12, 2005 Share Posted February 12, 2005 I have the UPS shipping working but I only want to offer Ground as an option. How do I deactivate all other shoipping options? Thanks. Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted February 12, 2005 Share Posted February 12, 2005 Use UPS Choice instead of the regular UPS module. Quote Link to comment Share on other sites More sharing options...
lrobbin Posted February 14, 2005 Share Posted February 14, 2005 Use UPS Choice instead of the regular UPS module. <{POST_SNAPBACK}> I really struggled with even getting UPS choice to work for me on a virgin copy of OSC. I gave up and went to table rates, because I needed to get online and couldn't keep pulling my hair out. I looked up many "try this" ideas, and I just couldn't get them to go on my site. If you figure this one out (or have a new "try this"), let me know! Thanks! -lrobbin Quote lrobbin Lisa M. Robbin the giving candle Link to comment Share on other sites More sharing options...
Jan Zonjee Posted February 14, 2005 Share Posted February 14, 2005 I really struggled with even getting UPS choice to work for me on a virgin copy of OSC.Did you try UPSXML? It has that choice too, but since Magic_Man seemed to use the standard UPS module I didn't bother to suggest it. Quote Link to comment Share on other sites More sharing options...
lrobbin Posted February 17, 2005 Share Posted February 17, 2005 Nope. I didn't go there. I started having problems with the USPS choice program and then the UPS program, so I bagged the whole lot and went table rate. I had my key from the post office, so that wasn't the problem, it just wouldn't return values, and then the UPS thing, so I just threw my hands up! Quote lrobbin Lisa M. Robbin the giving candle Link to comment Share on other sites More sharing options...
MickO Posted February 20, 2005 Share Posted February 20, 2005 After some looking in the PHP code, I figured it out. Look for the following section in the ups.php file under modules/shipping: function _upsGetQuote() { if (!isset($this->_upsActionCode)) $this->_upsActionCode = '4'; Modify that '4' to a '3': function _upsGetQuote() { if (!isset($this->_upsActionCode)) $this->_upsActionCode = '3'; A little obove, this code snippet shows: /* 3 - Single Quote 4 - All Available Quotes */ Worked great for me! Quote Link to comment Share on other sites More sharing options...
lrobbin Posted February 27, 2005 Share Posted February 27, 2005 I'll give it a try. Thanks. I'll let you know how it works out. -Lisa Quote lrobbin Lisa M. Robbin the giving candle Link to comment Share on other sites More sharing options...
xzodiac Posted March 8, 2005 Share Posted March 8, 2005 i waqs just easedopping on the conversation since i had the same problem.. the :lol: suggetion to change the 4 to a 3 worked great.. :lol: Quote Link to comment Share on other sites More sharing options...
lrobbin Posted March 24, 2005 Share Posted March 24, 2005 Well, that worked for UPS! Now if I can get the USPS module to work for international orders, I'll be in business (right now it's trying to give free shipping, so I'm having a real problem with international orders!). Sorry it took so long to get back to the board, we've been putting togetehr the new print catalog, and that's been taking up most of my days. As always, thanks for the help! -Lisa Quote lrobbin Lisa M. Robbin the giving candle Link to comment Share on other sites More sharing options...
rfgifts Posted April 2, 2005 Share Posted April 2, 2005 (edited) Modify that '4' to a '3': I got to say, this worked perfect for me. I was trying to figure out how to disable all the options for UPS and just have GROUND as an option. Changing the 4 to a 3 worked perfectly. Thanks so much Mikko. Edited April 2, 2005 by rfgifts Quote Link to comment Share on other sites More sharing options...
lglapion Posted May 17, 2007 Share Posted May 17, 2007 I got to say, this worked perfect for me. I was trying to figure out how to disable all the options for UPS and just have GROUND as an option. Changing the 4 to a 3 worked perfectly. Thanks so much Mikko. tHIS ALSO WORKED GREAT FOR ME AND WAS SO SIMPLE- THANKS! Quote Link to comment Share on other sites More sharing options...
bugalootoo Posted June 22, 2007 Share Posted June 22, 2007 Awesome! That worked for me as well! You rock! Been looking all night for this simple fix!!! Quote Link to comment Share on other sites More sharing options...
rubbercat Posted July 27, 2007 Share Posted July 27, 2007 I dl'd the UPS Choice 1.8 (since OSC does not have a selection for UPS) and have tried everything. All I receive in the admin mods shipping are warning/err msgs. HELP! Quote Link to comment Share on other sites More sharing options...
rubbercat Posted July 29, 2007 Share Posted July 29, 2007 I dl'd the UPS Choice 1.8 (since OSC does not have a selection for UPS) and have tried everything. All I receive in the admin mods shipping are warning/err msgs. HELP! Here are the msgs I am receiving in the Admin/modules/shipping page: Warning: main(/home/mywebsite/www/www/catalog/includes/languages/english/modules/shipping/ups.php) [function.main]: failed to open stream: No such file or directory in /home/mywebsite/www/www/catalog/admin/modules.php on line 128 Warning: main(/home/mywebsite/www/www/catalog/includes/languages/english/modules/shipping/ups.php) [function.main]: failed to open stream: No such file or directory in /home/mywebsite/www/www/catalog/admin/modules.php on line 128 Warning: main() [function.include]: Failed opening '/home/mywebsite/www/www/catalog/includes/languages/english/modules/shipping/ups.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/mywebsite/www/www/catalog/admin/modules.php on line 128 Any advice would be greatly appreciated!!! :) Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted July 29, 2007 Share Posted July 29, 2007 Warning: main() [function.include]: Failed opening '/home/mywebsite/www/www/catalog/includes/languages/english/modules/shipping/ups.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/mywebsite/www/www/catalog/admin/modules.php on line 128 That file came with the standards osC ups.php module which is no longer there: <?php /* $Id: ups.php,v 1.5 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('MODULE_SHIPPING_UPS_TEXT_TITLE', 'United Parcel Service'); define('MODULE_SHIPPING_UPS_TEXT_DESCRIPTION', 'United Parcel Service'); define('MODULE_SHIPPING_UPS_TEXT_OPT_GND', 'UPS Ground'); define('MODULE_SHIPPING_UPS_TEXT_OPT_1DM', 'Next Day Air Early AM'); define('MODULE_SHIPPING_UPS_TEXT_OPT_1DA', 'Next Day Air'); define('MODULE_SHIPPING_UPS_TEXT_OPT_1DP', 'Next Day Air Saver'); define('MODULE_SHIPPING_UPS_TEXT_OPT_2DM', '2nd Day Air Early AM'); define('MODULE_SHIPPING_UPS_TEXT_OPT_3DS', '3 Day Select'); define('MODULE_SHIPPING_UPS_TEXT_OPT_STD', 'Canada Standard'); define('MODULE_SHIPPING_UPS_TEXT_OPT_XPR', 'Worldwide Express'); define('MODULE_SHIPPING_UPS_TEXT_OPT_XDM', 'Worldwide Express Plus'); define('MODULE_SHIPPING_UPS_TEXT_OPT_XPD', 'Worldwide Expedited'); ?> Quote Link to comment Share on other sites More sharing options...
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.