How to adapt Virtuemart's Minimum Amount For Free Shipping so it can handle different amounts for different countries: Now, before we begin, the usual warning: Backup the files you are going to be working with. This is a hack of the global.php file to allow different free shipping amounts for different countries. The file you'll be working with: /administrator/components/com_virtuemart/global.php First, in the Virtuemart administration page, go to the Store -> Edit Store page and set the base amount you want to use for 'free shipping'. Usually, this should be the value you set for the most commonly used free amount you want to use (ie. your home country). Now, open up global.php , and search for: $vendor_freeshipping = $db->f("vendor_freeshipping"); The example will show how to detect for a country and hard-code in a new value for free-shipping. Ie. The amount set in the VM Admin page will be the base amount for free shipping in Canada. ...
Developer Blog