my fix (for now) is to change:
(girth example, but works for other 2 error sections too)
PHP Code:
// Check girth
if($girth > $MAXGIRTH_P )
{
$cost = $this->_get_error_cost($dest_country) ;
if ($cost == 0) return ;
$methods[] = array( 'id' => $this->title, 'title' => $this->title . '<font color=#FF0000> ERROR: (' . $parcelheight . "+" . $parcelwidth . ') x 2cm exceeds the Maximum 140cm girth allowed.</font>'. $FlatText, 'cost' => $cost ) ;
$this->quotes['methods'] = $methods; // set it
return $this->quotes;
} // exceeds AustPost maximum girth. No point in continuing.
to:
PHP Code:
// Check girth
if($girth > $MAXGIRTH_P )
{
$cost = $this->_get_error_cost($dest_country) ;
if ($cost == 0) return ;
$methods[] = array( 'id' => 'Error', 'title' => $this->title . '<font color=#FF0000> ERROR: (' . $parcelheight . "+" . $parcelwidth . ') x 2cm exceeds the Maximum 140cm girth allowed.</font>'. $FlatText, 'cost' => $cost ) ;
$this->quotes['methods'] = $methods; // set it
$this->quotes['module'] = $this->title;
$this->quotes['id'] = 'ozpost';
return $this->quotes;
} // exceeds AustPost maximum girth. No point in continuing.
Bookmarks