AusPost VirtueMart 2.0 Shipping Plugin upgraded for error handling - Joomla & VirtueMart Tips & How To's

GJC Website Design UK, Joomla Developer, VirtueMart Developer, Template Developer, web site designs, England, Britain, UK, Belgium, search-engine optimisation (SEO). Multilingual.

Home Joomla VirtueMart Tips AusPost VirtueMart 2.0 Shipping Plugin upgraded for error handling

Sat

26

Jan

AusPost VirtueMart 2.0 Shipping Plugin upgraded for error handling
  • VirtueMart 2.0
  • AusPost Shipping v1.2.1

Our very popular Australian Post VirtueMart 2.0 Shipping Plugin has just had another upgrade to handle the false postcode failure much better.

Up to now if the customer entered a wrong Australian Postcode the error would be returned BUT the customer could also checkout with the zero postage.
This is because of the way Virtuemart 2.0 handles the returns from the shipping plugins - anything that is not a number or is empty is treated as 0.00.

You can download it here - Download Price is ?40.00

v1.2.1
Error handling


Now the Australian Postcode check can be done at the shipping plugin selection stage so if the postcode is incorrect the dreaded "We are sorry, no shipment method matches the characteristics of your order." will appear. 

auspost error_display4

You can edit this in your language files to suggest they check their postcode etc....

This is selectable in the AusPost plugin config under "Pre-fail on AusPost error".

You can also choose to show the error returned by AusPost - Info: auspost.com.au : Please enter a valid To postcode.

auspost error_display_config

If you don't choose this option then the default is the AusPost ship method will appear in the Shipping Methods selection but the radio button will be greyed out and a message shown if you choose "Show AusPost error" in the config. An alternative message can be chosen.

The message can be styled by targeting class "aserrorshow".

auspost error_display

If you have ONLY AusPost selected as a shipping method this will still work although the method will appear in the cart but labelled so:

auspost error_display3

The method is actually disabled and if you try to confirm the cart you get this message:

auspost error_display2

WARNING!!! Due to I don't know what there appears to be NO CHECKING of Australian Postcodes with Letter Post - You can test this on http://auspost.com.au/apps/domestic-letter.html - no where is the address asked for. Even though the api requires a postcode the AusPost system doesn't check it.


If you have an older version just use the Support page to contact me with your details and I will send you the updated version.

There is no need to uninstall/re-install - you can just unzip the vm2.0.auspost.shipping.zip and ftp the following 2 files to the correct folder. I would suggest you rename the 2 existing files so you can go back to the older version if this solution isn't wanted.

The Files:
plugins/vmshipment/auspost/auspost.xml
plugins/vmshipment/auspost/auspost.php
Last Updated on Saturday, 26 January 2013 17:14
 
VirtueMart
Your Cart is currently empty.

Latest Joomla & VirtueMart Tips

See all tips & examples



AusPost VirtueMart 2.0 Shipping Plugin upgraded for error handling|Joomla & VirtueMart Tips & How To's



GJC Website Design UK, Joomla Developer, VirtueMart Developer, Template Developer, web site designs, England, Britain, UK, Belgium, search-engine optimisation (SEO). Multilingual.


auspost, shipping, postcode, method, error, message, files, australian, check, version, appear, virtuemart, plugin, choose, plugins, download, selection, suggest, older, config, cart, don, letter, post, vmshipment, returned, customer, address, confirm, try, actually, asked, labelled, disabled, html, apps, http, postcodes, test, checking


guru

We use cookies to improve our website and your experience when using it. Cookies used for the essential operation of the site have already been set.
To find out more about the cookies we use and how to delete them, see our privacy policy.

I accept cookies from this site.