GJC VM4.0 Postcodes Plugin general info

There is no reason why any countries Postcode areas cannot be used with this plugin.
This is a standard Joomla/Virtuemart 4.0 plugin.

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.
The format is Name,Postcode*Postcode*Postcode,BasePrice,PriceMultiplier,Trigger,PriceFree
Each zone is on a new line.

A Canadian example is shown below.
If you find it isn't exactly as you need we can adapt the code to your needs. 

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

Territories,X*Y,20,0.20,200.00,400.00
Canadian Provinces,A*B*C*E*G*H*J*P*R*S*T*V,15,0.15,150.00,300.00

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 over or Weight over.

  • 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.
  • 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

Southern Ontario,K*L*M*N,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

Southern Ontario,K*L*M*N,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

Southern Ontario,K*L*M*N,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

Southern Ontario,K*L*M*N,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

Southern Ontario,K*L*M*N,,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

Southern Ontario,K*L*M*N,,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

Southern Ontario,K*L*M*N,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.