
Originally Posted by
RodG
There are few of lines of code that didn't get ported from 'austpost' over to 'ozpost' - So the posts that say it 'displays sometimes' are either pure BS or they are referring to the older/obsolete module.
There are two fixes/workArounds.
If you just want to get rid of the 'xx's revert the tpl_modules_shipping_estimator.php file back to the original zencart copy.
If you want the dimension data to be displayed (so instead of "xx" it will show something like "2x3x4" you'll need to add the 'missing' lines to the oppost.php file.
Specifically: Locate the line that reads"
if (MODULE_SHIPPING_OZPOST_WEIGHT_FORMAT == "kgs") {$parcelweight = $parcelweight * 1000 ; }
Then immediatly after this line add the following:
$_SESSION['swidth'] = $parcelwidth ;
$_SESSION['sheight'] = $parcelheight ;
$_SESSION['slength'] = $parcellength ;
$_SESSION['boxes'] = $shipping_num_boxes ;
Cheers
Rod
Bookmarks