Experimental Project

This is a sandbox project, which contains experimental code for developer use only.

Overview

Allows you to prevent shoppers adding items to their cart if they live in a particular postcode.

Features

Utilises taxonomy to enable you to define shipping zones. Associate a shipping zone with your product that includes a valid postcode range and the add to cart form will be altered to include a field to prompt the user for their postcode.
Once entered the postcode is stored in their session/user account (can be cleared via a link).
If they enter a valid postcode, they can continue with checkout.
If not, they are redirected to a prefilled contact form requesting a quote.

Requirements

  • Core Taxonomy module
  • Core Contact module
  • Ubercart

Installation

  • Configure your contact form as normal.
  • Setup a new vocabulary to track your restrictions.
  • Give this vocabulary some terms, entering the restricted postcode ranges when you create each one.
  • Tag the appropriate products with the appropriate terms.
  • That's it

Known problems

Please report issues via the queue.

Credits

Developed by Lee Rowlands of Rowlands Group.

Project Information