Updated mzmt.php, and language files for Multi Zone Multi Table Shipping Module
Solution provided by David Samblas (david at tuxbrain.com)
April 28, 2009
DESCRIPTION:
Fix showing total oder weigth and allows to define the units in the language file
Files attached also includes th Fix 1.21
in file includes/modules/shipping/mzmt.php
arround line 49
replace
// class methods
function quote($method = '') {
global $order;
$this->quotes = array('id' => $this->code,
'module' => constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TEXT_TITLE') . ' (' . $shipping_weight . ' 'lbs.)',
'methods' => array());
with
// class methods
function quote($method = '') {
global $order, $shipping_weight;
$this->quotes = array('id' => $this->code,
'module' => constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TEXT_TITLE') . ' (' . $shipping_weight . ' '.MODULE_SHIPPING_MZMT_TEXT_UNIT.')',
'methods' => array());
in file includes/includes/languages/english/modules/shipping/
add the following line
define('MODULE_SHIPPING_MZMT_TEXT_UNIT', 'kg');
More...





LinkBack URL
About LinkBacks









Bookmarks