Guest Kristina Posted January 29, 2008 Share Posted January 29, 2008 After some research I was able to come up with a hack for the USPS mod to use the variable rates in USPS. What creates the error with priority and express variable rates is that CC is passing a container code which you need for flat rate stuff, but your not supposed to send a container code for variable rates. This hack is so easy, that I almost fell over and wanted to kick myself for the number of hours I spent looking at the code. So here goes Open up yourstore/modules/shipping/usps/class.usps.php Find: $this->request_xml .= '<Container>' . strtoupper($attribs['container']) . '</Container>'; Change to (comment it out): // $this->request_xml .= '<Container>' . strtoupper($attribs['container']) . '</Container>'; Notes: You must uncomment this code (change it back) if you decide to use flat rate in the future. It needs the container code. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 31, 2008 Share Posted January 31, 2008 THanks for finding this! I was able to get rid of the container error. But the rates are incorrect, it only comes up as $5.00 for any weight, which is the handling fee. I am on the production server. Is there another step to get proper rates? Quote Link to comment Share on other sites More sharing options...
Guest taylor Posted February 21, 2008 Share Posted February 21, 2008 Works in v3 also, thanks Kristina! Quote Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2008 Share Posted February 22, 2008 A more flexible fix can be found in this post: http://forums.cubecart.com/index.php?showt...mp;#entry133080 Quote Link to comment Share on other sites More sharing options...
Guest judymrogers Posted April 30, 2008 Share Posted April 30, 2008 Hi, Im new at this... a need to know if someone can help me with this issue. Please..... i PURCHASED CUBE CART version Version 4.2.1 a month ago or less And the issue I have is that I dont want to offer any kind of flat rate options either local or international. Contacting cube cart customer service we managed to remove ALL FLAT RATE Options from local shipping ONLY ... BUT HAVE NOT BEEN ABLE TO REMOVE THEM FROM INTERNATIONAL SHIPPING. Can you please help...?? This represents a huge loss for us. Quote Link to comment Share on other sites More sharing options...
Guest judymrogers Posted May 2, 2008 Share Posted May 2, 2008 can you help me with this: I need to cancel all FLAT RATE OPTIONS TO INTERNATIONAL orders... ON USPS.. Maybe even... offer USPS and UPS Local... but only UPS for international... Dont know what to do... Just now that Im loosing lots of money... if this cant be resolved i would need to change cart ( I guess ).. Or maybe.. is there any check out method (like Google , etc) that would include the shipping part on their side?? I dont know too much about this... no webmaster here... just a store owner trying to do their best.. Please help... :( Quote Link to comment Share on other sites More sharing options...
Guest DesignGal Posted July 17, 2008 Share Posted July 17, 2008 can you help me with this: I need to cancel all FLAT RATE OPTIONS TO INTERNATIONAL orders... ON USPS.. Maybe even... offer USPS and UPS Local... but only UPS for international... Dont know what to do... Just now that Im loosing lots of money... if this cant be resolved i would need to change cart ( I guess ).. Or maybe.. is there any check out method (like Google , etc) that would include the shipping part on their side?? I dont know too much about this... no webmaster here... just a store owner trying to do their best.. Please help... I am having the same issue - it should cost 300+ dollars to ship internationally but it's giving me an option for 25.95 for a flat rate envelope - not good!!! How can this be fixed!!! we have lots of international customers. 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.