Re: Australia Post Rates - Hikashop 1.5.5 + J1.7.3

  • Posts: 7
  • Thank you received: 0
12 years 2 weeks ago #46816

The auspost plugin just does not work right in Joomla 2.54

I have this product:
length: 55.0000 mm
width: 55.000 mm
height: 78.000 mm
weight 560.000 g

item is 12x in the cart

Configuration g, kg and mm, cm

Origin: 2481 Byron Bay
Destination: 2482 Mullumbimby

Australia Post Standard 61.50 AUD
Australia Post Express 115.80 AUD


In theory we would have 2x 78mm = 156mm
then 6 x 55mm = 330mm
Give a bit more and then the box would be h250mm x w400 mm x l400 mm
Weight would be 12 x 560g = 6720g - lets make it 7-8 kg

Australia Post Standard 16.65 AUD
Australia Post Express 48.90 AUD

I have tried all other combinations g,kg / kg,g mm,cm /cm,mm and they all give no results that would make sense.

I have come close to a valid postage when I changed the dimensions and weight like this

length: 30.000 mm
width: 30.000 mm
height: 30.000 mm
weight 125.000 g

So.... what's going on?

Please Log in or Create an account to join the conversation.

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
12 years 2 weeks ago #46932

If the "group package" option is turned off in the options of your plugin, each item will be sent separately. That will greatly increase the price of the shipping which might explain why you have such different numbers. You should check on that option.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
12 years 2 weeks ago #46934

The "Group products together" option in the Auspost plug-in is set to "yes" already.

Please Log in or Create an account to join the conversation.

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
12 years 1 week ago #47171

Could you try to change the lines:

								$parcel->Width +=$product_width;
								$parcel->Height +=$product_height;
								$parcel->Length +=$product_length;
to:
								$parcel->Width +=$product_width;
								$parcel->Height = max($parcel->Height,$product_height);
								$parcel->Length =max($parcel->Length,$product_length);
in the file plugins/hikashopshipping/aupost.php and try again ?

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
12 years 1 week ago #47179

I'm getting the same results as before after setting dimensions and weight back to it's original value - sorry - no change.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
12 years 1 week ago #47192

hello,

Could you try to replace your file "plugins/hikashopshipping/aupost" by this file

File Attachment:

File Name: aupost.zip
File Size:6 KB
, and try again ?

regards,
Mohamed Thelji

Attachments:
Last edit: 12 years 1 week ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
12 years 1 week ago #47237

1. Standard settings with product (real) values in gr and mm, Configuration g,kg and mm,cm:
"The request to the Australia Post server failed with the message: The Width cannot exceed 105cm."
2. Product (real) values in gr and mm, Configuratio kg,g and cm,mm
"The request to the Australia Post server failed with the message: The Length cannot exceed 105cm."
3. Product (real) values in gr and mm, configuration at kg,g and cm,mm
12 products
to 2482 (very close) Australia Post Standard 8.60 AUD / Australia Post Express 11.55 AUD
to 7009 Tasmania Australia Post Standard 8.60 AUD / Australia Post Express 11.55 AUD !!!!
to 2230 NSW Australia Post Standard 8.60 AUD / Australia Post Express 11.55 AUD !!!!!

The other products with reduced values show the same postage.

The plug-in had been completely un-installed and re-installed

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
12 years 1 week ago #47254

Hello,

I think that I figured where the problem came from, I will check this and let you know.

/


UPDATE
\

Can you test it for me please ?

File Attachment:

File Name: aupost_2012-04-18.zip
File Size:6 KB

Attachments:
Last edit: 12 years 1 week ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
12 years 1 week ago #47325

Thank you, that looks very promising!

I'm doing a few more tests and will come back to you.

One little problem - when it splits it up into more than one package (which looks like it's calculated correct) there is a line of text:

Australia Post Standard 48.10 AUD
2 packages (test line, to change)

Australia Post Express 159.00 AUD
2 packages (test line, to change)

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
12 years 1 week ago #47344

Hello,

yes, it's because Australia post have a limitation of the Lenght(1050 mm), Widht(350 mm) and Height(350 mm) for every packages. So, this line just means that you'll have to send 2 packages.

But as you can see, it's a "test line" so we will replace it.

for the moment you can replace the line 338 in your "aupost.php" file :

$rates[$type]->shipping_description = $shipping_description . $rates[$type]->packages.' packages (test line, to change)';

by this line :
$rates[$type]->shipping_description = $shipping_description . $rates[$type]->packages.' packages';

Last edit: 12 years 1 week ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0
12 years 6 days ago #47966

Hi Nicolas - can you possibly tell me the configuration setup required to make the Auspost plugin work? I have been reading the forums / threads and have it setup as follows:

Zone: 13 Australia
Images: auspost
tax category: default tax category
minimum price: blank (AUD)
Post Code: 2064
Additional fee: 5
Standard freight ticked as only option
reverse order of services : No
Group products together : Yes

Inside the product, i have the weight set to Kgs, 1.5 kg to be exact. Dimensions set in Meter's as 0.1 / 0.1 / 0.3 . On checkout, freight does not appear at all -im wondering if there is another setting in the configuration that needs to be toggled? Could this have a link to user registration / easy registration and no-registration options in that it obviously requires a destination postcode?

Thanks, Ross

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
12 years 5 days ago #47969

Hello,
can you tell me what is your shipping adresse ? because the standard shipping method can send packages only in australia and your shipping zone is in Australia.

Can you test it with the last version of AUPOST that I made ?

Attachments:
Last edit: 12 years 5 days ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0
12 years 5 days ago #47971

Hi M

As above, 2064, Artarmon Sydney.

Thanks Ross

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
12 years 5 days ago #47972

Ok good, Did you tried it with the plugin that I gave you ?

Please Log in or Create an account to join the conversation.

  • Posts: 301
  • Thank you received: 1
11 years 11 months ago #51244

I'm having issues with the Australia post plugin as well. All my settings are correct, products have correct weights and dimension, the shipping dimensions I have are mm,cm,m and g, kg. I am replicating my existing shop which works fine but this time in Joomla 2.5 ready for a changeover - everything is identical - but I am getting errors like the "The request to the Australia Post server failed with the message: The Length cannot exceed 105cm." error. I don't want to turn off group items together but if I do then I get the message "The cart items combined volume is too big for all the possible shipping methods". But if I order the same products on my existing shop I don't get any error and the calculations are perfect.
Have updated the plugin to the zip file aupost_2012-04-23.zip.

What else would be causing this problem?
Cheers

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 11 months ago #51264

Hello Huski,

Australia post have a lenght limitation, can you tell me the Lenght of all of your product in your order ?

Please Log in or Create an account to join the conversation.

  • Posts: 301
  • Thank you received: 1
11 years 11 months ago #51267

item 1 is 20mm, item 2 is 30cm and item 3 is 35cm - total of 65.2 cm.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 11 months ago #51270

Can you test it with this AUPOST plugin ?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 301
  • Thank you received: 1
11 years 11 months ago #51280

Now I am getting the message Volume is too big.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 11 months ago #51281

Ok, so can you now tell the dimensions of every products in your order ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.122 seconds
Powered by Kunena Forum