O'Reilly logo

Building E-commerce Sites with VirtueMart Cookbook by John Horton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring shipping by country, zone, or continent

In this recipe you will be able to assign a cost to a specific country. VirtueMart will automatically detect the country the customer wants the order delivered to and apply the appropriate charge.

Getting ready

Work out how much you want to charge for delivery and to which countries. The following table gives us the details as to what we will be configuring in the recipe but it would be trivial to change the countries and costs to suit us:

Country

Cost

United Kingdom

£2.00

EU members

£4.00

USA/Canada

£7.00

Outside US/Canada/Europe/EU

£10.00

How to do it...

The recipe works by defining costs either individually to a single country or to groups of countries. First up we will assign a single ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required