GJC VM4.0 Postcodes Plugin for UK

This plugin is the only VM 4.0 shipping extension that can handle UK Alpha-numeric postcodes and has been tested on all UK Postcodes.
Please see http://en.wikipedia.org/wiki/List_of_postcode_areas_in_the_United_Kingdom

The advantage of this plugin is you can set your own postage areas (Postcode areas), costs, limits (weight, price, number of articles etc) all on one Virtuemart Shipping method.

The plugin uses a simple comma separated list pasted in the text area to configure the method.

On this test site I have configured 5 zones plus a general default config (for all Postcodes not found)

Try Inverness codes like IV43 8QR or London like W2 RTZ5(default zone)

Any UK Postcode not found will default to the set default values.
Minor debugging is on so you can see what is happening.

Example entry:
Southern Scotland,IV438*IV448*IV458*IV468*IV478*IV488*IV499*IV510*IV519*IV558*IV568,45.50,0.75,2.00,20,,
Northern Scotland,HS12*HS19*HS20*HS29*HS33*HS43*HS53*HS65,45.50,0.75,2.00,20,,
Northern Ireland,BT,15.00,0.55,,
Channel Islands,IM*GY*JE,45.50,0.75,,
Central London,E16*E17*EC1A1*EC1A2*EC1A4*EC1A7*EC1A9,8.00,0.30,,

Name,Postcode*Postcode*Postcode,BasePrice,PriceMultiplier,Trigger,PriceFree

  • BasePrice: Fixed fee - used on it's own or in conjunction with the trigger

  • PriceMultipier: a value that is multiplied by the Sale price or Weightr.

  • Trigger: If set and the 'Trigger' is set to 'Trigger by Price' and the Sale Price is above this figure then the PriceMultipier will be triggered.
    If the 'Trigger' is set to 'Trigger by Weight' and the weight is above this value then the PriceMultipier will be triggered.

  • PriceFree: If the Sale price is above this figure Shipping will be free


Settings available in the method
  • Country.
  • Lowest Weight.
  • Highest Weight.
  • Up To Weight - this is used in conjunction with the multiplier value to set a limit for the base value. When this passed the multiplier value is used. You can choose to add the base value to this value.
  • Minimum number of products.
  • Maximum number of products.
  • Minimum order amount.
  • Maximum order amount.
  • Tax.
  • Default Zone values - Base, Multiplier, Trigger and Free. These values will be used if the postcode is not found.
  • Price Multiplier - choose to multiply by weight or Sales Price.
  • Price Multiplier Type - choose if to add the base value to the multiplier value.
  • Full debug on/off
  • Minor debug on/off

 

Example One: Base price then fixed amount per dollar over the trigger.

ex1

Pasted code:

Name,Postcode*Postcode*Postcode,BasePrice,PriceMultiplier,Trigger,PriceFree

Northern Scotland,HS12*HS19*HS20*HS29*HS33*HS43*HS53*HS65,10,0.15,40,150.00

This will give $10 shipping up to $40 and add 15 cents for each $ over.

Over $150 shipping is free.

Example Two: Base price then fixed amount per kilo over the trigger.

ex1

Pasted code:

Name,Postcode*Postcode*Postcode,BasePrice,PriceMultiplier,Trigger,PriceFree

Northern Scotland,HS12*HS19*HS20*HS29*HS33*HS43*HS53*HS65,10,2,3,150.00

This will give $10 shipping up to 3kg and add $2 for each Kg over.

Over $150 shipping is free.

 

Example Three: Intial price then fixed amount per kilo over the trigger.

ex1

Pasted code:

Name,Postcode*Postcode*Postcode,BasePrice,PriceMultiplier,Trigger,PriceFree

Northern Scotland,HS12*HS19*HS20*HS29*HS33*HS43*HS53*HS65,10,4,2,150.00

This will give $10 intial shipping up to 2kg and $4 for each Kg over the 2kg trigger.

Over $150 shipping is free.

 

Example Four: Intial price then fixed amount per $ over the trigger.

ex1

Pasted code:

Name,Postcode*Postcode*Postcode,BasePrice,PriceMultiplier,Trigger,PriceFree

Northern Scotland,HS12*HS19*HS20*HS29*HS33*HS43*HS53*HS65,10,0.14,60,150.00

This will give $10 intial shipping up to $60 sale price and 14 cents for each $ over the $60 trigger.

Over $150 shipping is free.

 

Example Five: Simple price per $ value of sales - use 0 as trigger

.

ex1

Pasted code:

Name,Postcode*Postcode*Postcode,BasePrice,PriceMultiplier,Trigger,PriceFree

Northern Scotland,HS12*HS19*HS20*HS29*HS33*HS43*HS53*HS65,,0.14,0,150.00

This will give 14 cents for every $ of sales price.

Over $150 shipping is free.

Price Multiplier Type setting is ignored.

 

Example Six: Simple price per Kg - use 0 as trigger

.

ex1

Pasted code:

Name,Postcode*Postcode*Postcode,BasePrice,PriceMultiplier,Trigger,PriceFree

Northern Scotland,HS12*HS19*HS20*HS29*HS33*HS43*HS53*HS65,,2,0,150.00

This will give $2 shipping for every Kg.

Over $150 shipping is free.

Price Multiplier Type setting is ignored.

 

Example Seven: Simple base price - use x as trigger.

ex1

Pasted code:

Name,Postcode*Postcode*Postcode,BasePrice,PriceMultiplier,Trigger,PriceFree

Northern Scotland,HS12*HS19*HS20*HS29*HS33*HS43*HS53*HS65,10,,x,150.00

This will give a shipping price of $10 for this postcode match.

Over $150 shipping is free.

Price Multiplier Type & Price Multiplier setting is ignored.