See attachment for Aust Post icons, and read below for some useful hacks.
johk - this shipping module comes with VM 1.1.x, and it seems to mostly work ok - at least from my initial look (my site is not in production yet). More about the icons
- I searched everywhere for a copy of the correct icons to use, but couldnt find any! I made these up myself - in a bit of a hurry - so they may not be the correct official icons, but good enough for me.
Just upload the "images" folder to:
/administrator/components/com_virtuemart/classes/shipping/ Useful Hacks
- page 6 of this thread) had a very useful hack that I'll post again here. It resolves the annoying problem where error messages are displayed to customers when innapropriate Aust Post delivery options are listed.
For example - an overseas customer gets a message "not available to this destination" next to the icons that relate to the postal services for within Aust. Thats actually not too bad, but why show them the option at all?
Much worse is when Aust customers see "Australia Post shipping calculator failed, reason:..." Im not sure why they couldnt see the same error message as what O/S customers see, but anyway, theres no reason to display options that are not relevent to them. I especially dont want them to see anything that hints that something has 'failed'.
So these were nicely addressed by prudd, and I'll give a little more detail here:
if (Standard_Service) get_ship_type_cost("standard");
if (Express_Service) get_ship_type_cost("express");
if (Air_Service) get_ship_type_cost("air");
if (Sea_Service) get_ship_type_cost("sea");
if (Economy_Service) get_ship_type_cost("economy");
if ($Order_Country == "AU"&&Standard_Service) get_ship_type_cost("standard"); Other notes
if ($Order_Country == "AU"&&Express_Service) get_ship_type_cost("express");
if ($Order_Country !== "AU"&&Air_Service) get_ship_type_cost("air");
if ($Order_Country !== "AU"&&Sea_Service) get_ship_type_cost("sea");
if ($Order_Country !== "AU"&&Economy_Service) get_ship_type_cost("economy");
Dont forget to disable the Economy Service (via the config options in admin) - no longer offered by Aust Post.
Reading earlier posts, I think some people had a problem with the image path being too long when using ssl. Not sure how that would be a problem, but keep in mind if the images dont show. I dont use ssl at the moment so cant verify.
I found the current 'stable' VM 1.1.1 incredibly buggy. It was doing my head in - one problem after another. The nightly build however is (so far) another matter. It seems much better. So I would recommend that you dont waste your time trying to fix 1.1.1 - give the nightly build a go. https://dev.virtuemart.net/cb/proj/doc.do?doc_id=1328 Wish List
Thanks to everyone who has made this possible.