How to restrict a shipping option for a postcode?

The system lets you restrict a shipping option for a country. However it can be useful to refine shipping options according to postcodes.

Examples:
  • You do not wish to apply the "United Kindom" shipping option for deliveries to the Isle of Man or the Channel Islands and you want to create a specific shipping option for these points.
  • You offer free shipping to customers living nearby who want to pick-up their purchases directly in your store.
The filter area "Validity by Postal Code" is a field in which you can define rules restricting or excluding the application of a shipping option to one or more postcodes.

Click image to zoom
Click image to zoom

 
 Basic syntax for rules:
  • By a precise code

    NW4 1AE
    : You restrict the shipping options application to around Sherwood Road in the London Borough of Barnet.

  • Excluding a precise code

    !NW4 1AE
    : The shipping option will be applied to all destinations except around Sherwood Road in the London Borough of Barnet.

  • By Postcode area

    NW*
    : All postcodes in the North West London postcode area.

  • Excluding a postcode area

    !IM*: The shipping option will apply to all destinations except the Isle of Man.

  • By generic code

    These are postcodes where one or several characters are replaced by the # character (including the space which counts as a character).

    NW#####
    : Will apply to all seven character postcodes in the North West London postcode area.

  • Excluding a generic code

    !NW#####
    : the shipping option will not be applied to 7 character North West London area codes.

  • Including a range of districts

    G[1...30]*: the shipping option will be applied to all Glasgow postcodes from the G1 to the G30 districts inclusive.

  • Excluding a range of districts

    !G[10...20]*: the shipping option will exclude all Glasgow postcodes from the G10 to the G20 districts inclusive.
 
 Multiple filters

You can combine several rules in the same filter.

Be careful : The different rules in a filter are separated by comas.

HA*, NW*, N*, E*, IG*
: The shipping option will be for destinations in Harrow, North West London, North London, East London and Ilford.

!GY*, !JE*, !IM*
:The shipping option will not be applied to destinations in Guernsey, Jersey, or the Isle of Man.

 
 Compound filters

You can combine several types of rules in the same filter.

Example:

N*, NW4 1AE, E######
: All orders with a delivery address in North London, the Borough of Barnet, and all 7 character postcodes in East London.

 
 Particular compound filter cases

It's possible to create a filter where certain rules are contradictory!

Example: You want a shipping option for North West London except for the NW3 district.

You could list all the North West London postcodes except those from the NW3 district.

You can however create a filter with contradictory rules containing NW* and !NW3* which contradicts the preceding rule.

When defining contradictory rules, the exceptions must be defined BEFORE the other rules.

The system compares the customer's delivery address successively to each of the rules you've defined in your filter. If the system finds an including rule that validates the postcode first, it stops the analysis and uses this rule to decide whether or not to display the shipping option to the customer. When an excluding rule is true, the system continues to compare with the following rules. This is why it's important to define excluding rules first, then including ones.

When constructing a filter with contradictory rules the principle is to start with the most precise rules then add rules by order of growing generality.

For the precedant example, the solution would be:

!NW3*, NW*: Here the shipping option is valid for all North West London postcodes except those from the NW3 district.
Click image to zoom

Click image to zoom

Inversely, using NW*, !NW3* the shipping option would be shown for all 13 North West London districts without exception.
  • Other examples of filters with contradictory rules:

    !NW4*, !NW5, NW*
    : All postcodes from the NW area except the 4th and 5th districts.

 

Add to favorites: http://www.actinic.co.uk/Help/HelpCenterContent.asp?ActionID=1024&TID=55308&MID=55564%7C37001&LangID=1
© 2001-2018 Oxatis. All rights reserved.