Zen Cart Logo
Forums / Addon Shipping Modules / AUSTPost module

AUSTPost module

Locked

Views: 56,508

Results 61 to 80 of 321
This thread is locked. New replies are disabled.
12 Jun 2008, 2:47 PM
#61
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

AUSTPost module

greymouse:

Hi Rod
Is there a way to turn off "x days estimated delivery time"?
Because I order my products from America as they are ordered through my site, I often get people expecting delivery in 1-2 days when in fact the Aust Post module only comes in to play once I have received goods and post them in Australia.

Graham

There isn't any switches or toggles to disable this display, but it wouldn't be too difficult to modify the code so that it doesn't display.

How comfortable are you with modifying code?

Cheers
Rod

13 Jun 2008, 7:19 AM
#62
imperialis avatar

imperialis

Zen Follower

Join Date:
Apr 2008
Posts:
123
Plugin Contributions:
0

Re: AUSTPost module

Hi Rod,
Me again it seems I have some sort of error when customers are checking out now it comes up saying
ERROR:Unable to obtain a valid quote from the Australia Post Server.
You may still checkout using this method and we will contact you

but the server doesn't seem to be down
could this be related to the other issue of not being able to offer regular postage even though it has been selected

13 Jun 2008, 8:01 AM
#63
greymouse avatar

greymouse

New Zenner

Join Date:
Jan 2006
Posts:
7
Plugin Contributions:
0

Re: AUSTPost module

RodG:

There isn't any switches or toggles to disable this display, but it wouldn't be too difficult to modify the code so that it doesn't display.

How comfortable are you with modifying code?

Cheers
Rod

Hi Rod
Yeah, I'm pretty comfortable doing that.

Thanks

Graham

13 Jun 2008, 9:09 AM
#64
lisella avatar

lisella

New Zenner

Join Date:
Jun 2008
Posts:
5
Plugin Contributions:
0

Re: AUSTPost module

Hi There,

I want to install the Australia Post module for my online store. could some please provide me with the link for the best module to use as i have come across a few.

Thanks in advance.

14 Jun 2008, 1:42 AM
#66
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: AUSTPost module

greymouse:

Hi Rod
Yeah, I'm pretty comfortable doing that.
Graham

OK. Load the austpost.php file into a text editor (make sure you have a backup first).
Do a word search for "_method" (there are quite a few of them).
Ignore anything that matches "allowed_method"
The lines you are interested in will look similar to:

$shipping_austpost_rpp_method = zen_image($this->icon_rpp, $this->types['RPP'] ) . $bignumber . $days . "</span> " . zen_image($this->icon_del, MODULE_SHIPPING_AUSTPOST_TEXT_SHIPPINGDAYS) . $austpost_rpp_addons;

$shipping_austpost_rppi_method = zen_image($this->icon_ins, $this->types['RPPi']) . $bignumber . ($days + 1) . "</span> " . zen_image($this->icon_del, MODULE_SHIPPING_AUSTPOST_TEXT_SHIPPINGDAYS) . $austpost_rppi_addons;

$shipping_austpost_reg_method = zen_image($this->icon_reg, $this->types['REG'] ) . $bignumber . ($days + 1) . "</span> " . zen_image($this->icon_del, MODULE_SHIPPING_AUSTPOST_TEXT_SHIPPINGDAYS) . $austpost_reg_addons;

$shipping_austpost_cod_method = zen_image($this->icon_cod, $this->types['COD'] ) . $bignumber . ($days + 2) . "</span> " . zen_image($this->icon_del, MODULE_SHIPPING_AUSTPOST_TEXT_SHIPPINGDAYS) . $austpost_cod_addons;


You'll need to edit each of these lines to remove the data that you don't want displayed.
Using the example lines above, they will end up looking like:

$shipping_austpost_rpp_method = zen_image($this->icon_rpp, $this->types['RPP'] ) . $austpost_rpp_addons;

$shipping_austpost_rppi_method = zen_image($this->icon_ins, $this->types['RPPi']) . $austpost_rppi_addons;

$shipping_austpost_reg_method = zen_image($this->icon_reg, $this->types['REG'] ) . $austpost_reg_addons;

$shipping_austpost_cod_method = zen_image($this->icon_cod, $this->types['COD'] ) . $austpost_cod_addons;

Have fun.
Rod

14 Jun 2008, 1:48 AM
#67
gabbytwin avatar

gabbytwin

Zen Follower

Join Date:
Jun 2005
Posts:
94
Plugin Contributions:
0

Re: AUSTPost module

imperialis:

Hi Rod,
Me again it seems I have some sort of error when customers are checking out now it comes up saying
ERROR:Unable to obtain a valid quote from the Australia Post Server.
You may still checkout using this method and we will contact you

but the server doesn't seem to be down
could this be related to the other issue of not being able to offer regular postage even though it has been selected

I have been having the same problem with my store as have a few otherpeople I know. Sorry hope someone can help as I am looking for the answers too.

14 Jun 2008, 2:06 AM
#68
lisella avatar

lisella

New Zenner

Join Date:
Jun 2008
Posts:
5
Plugin Contributions:
0

Re: AUSTPost module

Hi

Thanks very much for that. Im a new to this so im sorry if this is a silly question; but in my directory i did not have a catalog file or under admin/includes i did not have a template folder so i created them; is this right?

I installed all the files but when i log into my admin store under modules/shipping, it does not show up so i must have put something in the wrong place?

Any suggestions?

14 Jun 2008, 8:30 AM
#69
shpeedie avatar

shpeedie

New Zenner

Join Date:
May 2008
Posts:
29
Plugin Contributions:
0

Re: AUSTPost module

Hi,
My AP module is working fine for Australian customers, however when testing international addresses that are being shipped to, i get
AustPostERROR:Unable to obtain a valid quote from the Australia Post Server.

Is there somewhere i should start looking to fix international rates or zones ?

Thanks!

14 Jun 2008, 9:07 AM
#70
lisella avatar

lisella

New Zenner

Join Date:
Jun 2008
Posts:
5
Plugin Contributions:
0

Re: AUSTPost module

lisella:

Hi

Thanks very much for that. Im a new to this so im sorry if this is a silly question; but in my directory i did not have a catalog file or under admin/includes i did not have a template folder so i created them; is this right?

I installed all the files but when i log into my admin store under modules/shipping, it does not show up so i must have put something in the wrong place?

Any suggestions?

Silly me....

I worked it out... :wacko:

14 Jun 2008, 10:52 AM
#71
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: AUSTPost module

shpeedie:

Hi,
My AP module is working fine for Australian customers, however when testing international addresses that are being shipped to, i get
AustPostERROR:Unable to obtain a valid quote from the Australia Post Server.

Is there somewhere i should start looking to fix international rates or zones ?

Thanks!

Probably not. The zones are handled automatically, and the rates are obtained directly from the Australia Post server.

Perhaps you are trying to ship to a destination via a method that isn't supported?

The AP module is pretty smart in that it will not offer 'impossible' methods of shipping. The best way to fault find is to enable all shipping methods then try your test product/location again and see what options ARE considered valid.

Cheers
Rod

14 Jun 2008, 10:59 AM
#72
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: AUSTPost module

imperialis:

Hi Rod,
Me again it seems I have some sort of error when customers are checking out now it comes up saying
ERROR:Unable to obtain a valid quote from the Australia Post Server.
You may still checkout using this method and we will contact you

but the server doesn't seem to be down
could this be related to the other issue of not being able to offer regular postage even though it has been selected

Seems to be working fine for me (Sat 14th).
How did you test/check the server?

Cheers
Rod

14 Jun 2008, 11:12 AM
#73
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: AUSTPost module

gabbytwin:

I have been having the same problem with my store as have a few otherpeople I know. Sorry hope someone can help as I am looking for the answers too.

If you are indeed having the 'same problem', then it is probably working OK again now - The Australia Post DRC server was having intermittent issues yesterday.

Care to let me know who these 'few other people' are, or is there some reason why they can't post questions to their own problems?

In MY experience, most people that jump midway into a thread and proclaim "I'm having the same problem" more often than not actually have a totally different problem, albeit maybe with similar symptoms.

Also, if only one or two people report any given problem I generally assume it is user error (and the assumption is usually correct), however, if several people report the same problem independently I take the reports far more seriously, so PLEASE could you ask these other people to speak up for themselves in future and report the symptoms of their problems for themselves, preferably with a URL whereby I can verify and help solve the issues.

Sorry for rambling like this, but my alternative reply to your "same problem" question would be a nice short "same solution" (which I'm sure you'll agree, isn't very helpful either) ;-)

Cheers
Rod

15 Jun 2008, 12:30 PM
#74
brettw avatar

brettw

New Zenner

Join Date:
Mar 2008
Posts:
64
Plugin Contributions:
0

Re: AUSTPost module

Hi All,

Quick question, where in the austpost.php file can I add some text to display after the registered post "Estimated Delivery" icon?

What im trying to do is add some text to tell customers that they need to select this optionf for a certain product.

Thanks

Brett

15 Jun 2008, 1:06 PM
#75
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: AUSTPost module

brettw:

Hi All,

Quick question, where in the austpost.php file can I add some text to display after the registered post "Estimated Delivery" icon?

What im trying to do is add some text to tell customers that they need to select this optionf for a certain product.

Thanks

Brett

If you only want it for registered post, you're on your own.
If you want it globally, just change or add to the text string defined in:
/catalog/includes/languages/english/modules/shipping/austpost.php

Cheers
Rod

16 Jun 2008, 2:50 AM
#76
brettw avatar

brettw

New Zenner

Join Date:
Mar 2008
Posts:
64
Plugin Contributions:
0

Re: AUSTPost module

For anyone that is interested to add additional text for individual shipping options edit the following file.

includes/modules/shipping/austpost.php

The below will add a new line and text to the registered post shipping method

Line 468 add the following before the ; at the end of the line
. "<br>" . "Registered must be selected for full heli shipping"

and Line 476 add the same after the ; at the end of the line.

Line 468 should look similar to the following

$austpost_reg_addons = MODULE_SHIPPING_AUSTPOST_TEXT_INCLUDE . $handling_details_reg  .  " " .$currencies->format(($costREGaus * $xchange)) . " " . MODULE_SHIPPING_AUSTPOST_TEXT_REGISTERED . "<br>" . "Registered must be selected for full heli shipping";

It will look similar to the image below.

If you dont want the text on a new line remove the ```
. "<br>"


Hope this helps someone.

Cheers

Brett
17 Jun 2008, 8:09 AM
#77
imperialis avatar

imperialis

Zen Follower

Join Date:
Apr 2008
Posts:
123
Plugin Contributions:
0

Re: AUSTPost module

Hi Rod,
I'm still having the problem with regular post
I have regular post enabled but it doesn show up when customers are shopping only satchels show up.
So the only method of postage I can offer is satchels which doesn't work if an order is over 3kg

Where have I gone wrong?

17 Jun 2008, 12:39 PM
#78
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: AUSTPost module

imperialis:

Hi Rod,
I'm still having the problem with regular post
I have regular post enabled but it doesn show up when customers are shopping only satchels show up.
Where have I gone wrong?

I dunno. I've just tried a test by adding your 'double wine case" to my cart, and I can see that you do have a problem, BUT, the data being sent to the servers appears to be quite valid, so I really can't explain what is going wrong.

What do you get if you click on the following links?
http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=2477&Destination_Postcode=2121&Country=AU&Weight=1800&Height=50.4&Width=230&Length=1000&Quantity=1&Service_Type=STANDARD
http://austpost.vcsweb.com//ratecalc.asp?Pickup_Postcode=2477&Destination_Postcode=2121&Country=AU&Weight=1800&Height=50.4&Width=230&Length=1000&Quantity=1&Service_Type=STANDARD

These links are the as as what your server used to obtain a quote on the aforementioned item... deleivery to postcode 2121

You can also try enabling/disable the 'cURL' option to see if that makes a difference.

If still no luck, load the modules/shipping/austpost.php file into a text editor, search for the line that contains "debug = 0", chane it to 'debug = 1', resave, and see if the onscreen debugging text offers any further clues.

It seems to me that your are only able to get valid data from the vcsweb.com server (fixed price items) and that there may be an issue connecting the the edeliver.com server (parcel rate calculations).

Lemme know of your findings (seemingly useful or not) and I'll see if it gives me any other ideas.

Cheers
Rod

17 Jun 2008, 11:23 PM
#79
imperialis avatar

imperialis

Zen Follower

Join Date:
Apr 2008
Posts:
123
Plugin Contributions:
0

Re: AUSTPost module

RodG:

I dunno. I've just tried a test by adding your 'double wine case" to my cart, and I can see that you do have a problem, BUT, the data being sent to the servers appears to be quite valid, so I really can't explain what is going wrong.

What do you get if you click on the following links?
http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=2477&Destination_Postcode=2121&Country=AU&Weight=1800&Height=50.4&Width=230&Length=1000&Quantity=1&Service_Type=STANDARD
http://austpost.vcsweb.com//ratecalc.asp?Pickup_Postcode=2477&Destination_Postcode=2121&Country=AU&Weight=1800&Height=50.4&Width=230&Length=1000&Quantity=1&Service_Type=STANDARD

These links are the as as what your server used to obtain a quote on the aforementioned item... deleivery to postcode 2121

You can also try enabling/disable the 'cURL' option to see if that makes a difference.

If still no luck, load the modules/shipping/austpost.php file into a text editor, search for the line that contains "debug = 0", chane it to 'debug = 1', resave, and see if the onscreen debugging text offers any further clues.

It seems to me that your are only able to get valid data from the vcsweb.com server (fixed price items) and that there may be an issue connecting the the edeliver.com server (parcel rate calculations).

Lemme know of your findings (seemingly useful or not) and I'll see if it gives me any other ideas.

Cheers
Rod

Hi

When I click the links I get
charge=8.3 days=2 err_msg=OK
I have curl enabled doesn't seem to make a difference

When I change the debug I get
via sessionoverideoverideC 7147 - W 18.00 - H - L 23.00 - I
via sessionoverideoverideC 7147 - W 18.00 - H - L 23.00 - I

17 Jun 2008, 11:38 PM
#80
imperialis avatar

imperialis

Zen Follower

Join Date:
Apr 2008
Posts:
123
Plugin Contributions:
0

Re: AUSTPost module

Hi Rod,
Could this be the problem since i'm using gms
if (MODULE_SHIPPING_AUSTPOST_WEIGHT_FORMAT == "kgs") { $sweight = $shipping_weight * 1000 ; }
else { $sweight = $shipping_weight ; }

When I change it to grams it comes up with parcel weights more than 20kgs

I know it has to be something simple it always is