Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem with Multi Geozone Multi Rate module


Wounded Paw

Recommended Posts

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.

Link to comment
Share on other sites

  • 2 months later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...