Guest Posted January 14, 2006 Posted January 14, 2006 Okay, back again with another question after doing some serious searching for something that may fit the bill. Right now I have both UPS and USPS working and giving me somewhat accurate quotes. However they are listed on the checkout_shipping.php in highest to lowest order. Now I know it's supposed to give it in the lowest to the highest from what I've got set in the Administration panel, but that's not what is being displayed on the page. I even went in and added a product to the cart, checked the shipping layout, made administrative changes, added more stuff, checked the shipping, etc. and still wind up with the lowest cost at the bottom of the list. Can this reversed? The modules I'm using are the UPS with insurance and bug fix - latest release and the USPS Methods - 2.8b. I know the XML for UPS is supposed to be better, but that darn thing kept giving me headaches so I scratched it and went with the one listed here. Also, if someone can tell me how to get rid of that tacky weight total that gets listed out there next to the UPS section, I'd really appreciate it. And yes, the Display Product Weight is turned off everywhere I could find it. Still shows up on that checkout_shipping page. Chin
wheeloftime Posted January 16, 2006 Posted January 16, 2006 Just a quick bump. Any takers on this? Cindy, To get rid of the weight display for UPS you will have to edit the ups module itself. Edit the file ups.php you find under (catalog)/includes/modules/shipping/ and look for if ( (is_array($upsQuote)) && (sizeof($upsQuote) > 0) ) { $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $shipping_num_boxes . ' x ' . $shipping_weight . 'lbs)'); Change that to ie. if ( (is_array($upsQuote)) && (sizeof($upsQuote) > 0) ) { $this->quotes = array('id' => $this->code, 'module' => $this->title); I am not familiar with the modules you mention for UPS and USPS but if they have an option to reverse display the shipping quotes and that doesn't seem to work you better post that inside the appropriate contribution thread (where maybe you already find an answer to this). regards, Howard
Guest Posted January 18, 2006 Posted January 18, 2006 Howard, Gave those contribution threads a try, no such luck there at all. I'll fiddle a bit more and see if I can tweek it. However, I did find where you were talking about for the weight and made it go byebye. Thanks bunches. Chin
TAGSAngel Posted January 28, 2006 Posted January 28, 2006 This worked wonderfly for UPS Thank you WheelofTime.... is there anything similar to get rid of the wieght display from showing in the cart and on the order confirmation print for USPS ??? quote name='wheeloftime' date='Jan 16 2006, 01:19 AM' post='777889'] Cindy, To get rid of the weight display for UPS you will have to edit the ups module itself. Edit the file ups.php you find under (catalog)/includes/modules/shipping/ and look for if ( (is_array($upsQuote)) && (sizeof($upsQuote) > 0) ) { $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $shipping_num_boxes . ' x ' . $shipping_weight . 'lbs)'); Change that to ie. if ( (is_array($upsQuote)) && (sizeof($upsQuote) > 0) ) { $this->quotes = array('id' => $this->code, 'module' => $this->title);
TAGSAngel Posted January 28, 2006 Posted January 28, 2006 Oh My God! I did it, it took a few different trys because I didn't know how to end the string" );" or whatever you call it.... but I did it, Mind you, I have no clue what I'm doing but.... I kind of went off what you did with UPS and took this..... $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $shipping_num_boxes . ' x ' . $shipping_weight . 'lbs)'); and made it this........... $this->quotes = array('id' => $this->code, 'module' => $this->title); And it worked! I got rid of the weight display in the shopping cart. Now if I could only figure out how to get rid of those extra UPS rate choices, I'll be OK. Thanks for the inspiration Angela This worked wonderfly for UPS Thank you WheelofTime.... is there anything similar to get rid of the wieght display from showing in the cart and on the order confirmation print for USPS ??? quote name='wheeloftime' date='Jan 16 2006, 01:19 AM' post='777889'] Cindy,
Recommended Posts
Archived
This topic is now archived and is closed to further replies.