Product Delivery By Postcode (PDP) allows restricting delivery of certain products to specified (local) postcodes.
PDP relies on two shipping modules:
These two modules need to be configured first by specifying delivery postcodes of orders.
If a customer states a delivery address which is within the range of the configured postcodes then these 2 shipping modules will be available during the checkout process. If the delivery address is outside the specified range then the customer can not choose any of the 2 shipping options.
Both shipping modules work independently which means that you can activate one or the other or both.
The real benefit of PDP is realized by configuring some products which can only be delivered locally. This is useful when you have very big and bulky parcels such as bales of hay.
PDP could also be used for a pizza shop that delivers pizzas.
Or, you are selling perishables which can only be delivered locally due to temperature restrictions - eg bags of party ice.
The support thread can be found here.
This plugin has been designed for a ZC 1.5.2 - 1.5.3 installation. It is possible that it MAY work as desired on ZC installations 1.5.0 or 1.5.1 - TEST and use with CAUTION!
!! READ EVERYTHING !!
After following the installation instructions, it is strongly recommended that you read through the ENTIRE "Configuration" & "Functionality" sections of this readme. There you will find out exactly what PDP can do.
Ready to get started? Just follow the installation instructions.
BEFORE INSTALLING, you are strongly encouraged to READ ALL OF THE TABS in this readme file. Then follow the installation or upgrade instructions, as appropriate.
BEFORE YOU POST A QUESTION ON THE FORUM - read through this readme again as needed
There are four folders in the package
Enter a comma separated list of postcodes you want to allow this module to be used for
Configure the rest of the module as required. Use the recorded configuration when you previously uninstalled this shipping module
Installation and configuration of this shipping module is optional
Enter a comma separated list of postcodes you want to allow this module to be used for
Configure the rest of the module the same way as you configured 'Store Pickup'
Installation and configuration of this shipping module is MANDATORY for PDP to work
As an example, the postcodes CM0 7AA,CM0 7AB,CM0 7AD,CM0 7AE,CM0 7AF,CM16 5AL,CM16 5AP,CM16 5AR,CM16 5AS,CM16 5AT,SS99 9DA,SS99 9DB,SS99 9DE,SS99 9DF,SS99 9DG only require the entries CM0,CM16,SS99 - not the full hog!
Orginal author: Frank Riegel (frank18) - http://isonetwork.net.au
There are modifications to some core Zen Cart files! Merge carefully!
includes/functions/functions_general.php
includes/functions/extra_functions/functions_product_is_local_delivery.php (new file)
includes/languages/english/extra_definitions/YOUR_TEMPLATE/product_local_delivery.php (new file)
includes/languages/english/modules/shipping/localdelivery.php (new file)
includes/languages/english/YOUR_TEMPLATE/shopping_cart.php
includes/modules/pages/checkout_shipping/header_php.php
includes/modules/shipping/localdelivery.php (new file)
includes/modules/shipping/storepickup.php
includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_shipping_default.php
includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php
includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php
YOUR_ADMIN/includes/languages/english/product.php
YOUR_ADMIN/includes/modules/product/collect_info.php
YOUR_ADMIN/includes/modules/product/preview_info.php
YOUR_ADMIN/includes/modules/prod_cat_header_code.php
YOUR_ADMIN/includes/modules/update_product.php
If you are happy with this mod you are cordially invited to make a small donation (PayPal to service@frnt.org) towards the power consumption of my computer which has helped me to make this contribution workable.
Other than that: Enjoy!
Cheers from frank18
PDP is released under the General Public License (see LICENSE.txt)
This script is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Always backup your shop and database before making changes.