Wounded Paw Posted December 14, 2004 Share Posted December 14, 2004 I've installed the Multi-Geozone Multi-Rate shipping module and it works fine with my 4 zones and 2 tables each. But, when I try to alter includes/modules/shipping/mzmt.php to not include the weight in the shipping method title it give me errors this is line 51 that I'm altering to remove the "'('. $shipping_weight . ' lbs)'," $this->quotes = array('id' => $this->code, 'module' => constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TEXT_TITLE') . ' (' . $shipping_weight . ' lbs)', 'methods' => array()); It'll remove the weight from the shipping method title from the checkout_shipping.php page when I try it out but when I try to continue to the next page I get this error: Warning: Cannot modify header information - headers already sent by (output started at /home/wounded/public_html/catalog/includes/modules/shipping/mzmt.php:1) in /home/wounded/public_html/catalog/includes/functions/general.php on line 29 It also cause a strange "" to show up at the top of the shipping modules listing in the admin section. Anyone have any ideas here? I'd really like to get rid of that "( lbs)" cuz it's not relevant to the way I calculate shipping weight. Quote Link to comment Share on other sites More sharing options...
scotthatton Posted February 17, 2005 Share Posted February 17, 2005 You probably worked this out ages ago, but I changed line 52 to: 'module' => constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TEXT_TITLE') . ' -', Which works fine. I added the - to make it look neater on the confirmation page. All the best, Scott 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.