Simple AustraliaPost Shipping Module
thebeardman:
Which version do you use for this shipping method?
You can see which one is it when editing one of the file.
Let me know if you still have this problem and we will try to find a solution together.
firefly:
Hi Bruno,
Thanks for your reply. The version is 1.5.2 , there is still a problem with it (not showing at frontend) and we are having to use the normal Aust Post shipping module for the time being
thebeardman:
Try to install the latest release version 1.5.3, you can download it by using the following link: http://bit.ly/ag3QKr
firefly:
Hi Bruno,
I have just downloaded and installed the 1.5.3 version. it does show up now and calculates the postage but I receive this error:
Warning: Division by zero in /home/bibbat/public_html/administrator/components/com_virtuemart/classes/shipping/simpleauspost.php on line 97
any reason for this?
thank you.
thebeardman:
Hello,
Edit your file and on line 97 replace these lines:
Code:
//Calculate the number of Boxes needed for this product so we can add to the height
if ((int)($cart[$i]["quantity"]) > ((int)(($dboi->f("product_packaging")>>16)&0xFFFF))) {
$numboxes = ceil(($cart[$i]["quantity"]) / (($dboi->f("product_packaging")>>16)&0xFFFF));
} else {
$numboxes = 1;
}
by those ones:
Code:
//Calculate the number of Boxes needed for this product so we can add to the height
$numboxes = 1;
if (($dboi->f("product_packaging"))
{
if ((int)($cart[$i]["quantity"]) > ((int)(($dboi->f("product_packaging")>>16)&0xFFFF))) {
$numboxes = ceil(($cart[$i]["quantity"]) / (($dboi->f("product_packaging")>>16)&0xFFFF));
}
}
Let me know if it is working!
Navigation
[0] Message Index
[#] Next page
[*] Previous page