Hi,
I am trying to add free shipping to a customer's local area. I have created a zone with zone definitions for the areas I want free delivery, however this has resulted in a drop down menu for state only showing those ones, and not allowing the customer to add any other ones. This will not work as the customer will deliver across the UK.
I have adjusted 5 Big Royal Mail modules for 3 Hour Delivery, AM Delivery, PM Delivery, Next day Delivery, Same Day Delivery and International, they all work fine.
I have used the suggestion on http://www.zen-cart.com/showthread.p...+shipping+city, however this now gives the shipping option for all cities (if I change the amount to 0, all shows 0, if I change to £ 7, all shows £ 7), so for some reason it is not really looking at the cities I have added. My table.php looks like this (please see last post for above thread on where I added this):
// CITY HACK BEGIN
$cityList[] = "bricket wood";
$cityList[] = "brookmans park";
$cityList[] = "colney heath";
$cityList[] = "gustard wood";
$cityList[] = "harpenden";
$cityList[] = "hatfield";
$cityList[] = "lemsford village";
$cityList[] = "london colney";
$cityList[] = "park street";
$cityList[] = "radlett";
$cityList[] = "redbourn";
$cityList[] = "st albans";
$cityList[] = "wheathampstead";
if (in_array(trim(strtolower($city)), $cityList)) {
$shipping=0;
}
// CITY HACK END
$this->quotes = array('id' => $this->code,
Any ideas?



Reply With Quote


Bookmarks