Page 6 of 6 FirstFirst ... 456
Results 51 to 59 of 59
  1. #51
    Join Date
    Jul 2006
    Location
    UK
    Posts
    158
    Plugin Contributions
    0

    Default Re: UK Shipping by Postcode

    Just wanted to thank the developer Mike for recoding the module to work with my configuration - so thank you Mike!


    Claire

  2. #52
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: UK Shipping by Postcode

    Hi,

    I hope you can help me. I am working on www.thaigardennewbarnet.co.uk. The customer only delivers to a few post codes within London. I have set my zones as just 1, and in Zen Cart this is what is in my module:

    Enable PostCode Method
    True

    Calculation Method
    Price

    Tax Class
    --none--

    Tax Basis
    Shipping

    Sort Order
    1




    Zone 1 Post Codes
    EN1,EN2,EN4,EN5,EN6,N3,N11,N12,N13,N21,NW7,WD6

    Zone 1 Shipping Table
    1000:0.00

    Zone 1 Handling Fee
    0

    However, when I try to place an order with postcode SE18 6JH, it does not give any error messages that the shop does not deliver to that post code. What have I done wrong here?

  3. #53
    Join Date
    Nov 2012
    Posts
    12
    Plugin Contributions
    0

    Default Re: UK Shipping by Postcode

    Hi Zenned,

    Your UKPost module is really great. Would you consider adding this coding to the module download? I only ask because I've been troubled with why this wasn't working all day and close to removing it completely, until I found this. I'm sure others would appreciate it too.

    Many thanks

    Quote Originally Posted by Z3NN3D View Post
    Buyers are unlikely to fall foul of the 'PA22 problem' if they enter a valid and complete UK postcode in the shipping estimator or in the checkout.

    The module is designed to estimate or apply shipping costs in the checkout based on the buyer entering a complete UK 5 or 6 digit postcode.

    Your 'solution' will continue to cause incorrect shipping values to be returned in response to partial postcodes being entered.

    If you want to create a partial 'idiot' trap in the module then.. UK postcodes are either 5 or 6 digits long, so you could do a test on the string to see if it's less than 5 characters, and return an error message if it is.

    To do that...
    if you open /includes/modules/shipping/ukpost.php

    Insert the line
    if ($len <= 4) {$error2 = true;} after $len = strlen($pcode); (around line 115)

    Then add the line
    if ($error2 == true) $this->quotes['error'] = MODULE_SHIPPING_UKPOST_INVALID_POSTCODE; After the line if ($error == true) $this->quotes['error'] = MODULE_SHIPPING_UKPOST_INVALID_CODE;

    Then open /includes/languages/english/modules/shipping/ukpost.php

    Add the line
    define('MODULE_SHIPPING_UKPOST_INVALID_POSTCODE', 'Invalid Postcode Entered');

  4. #54

    Default Re: UK Shipping by Postcode

    Completely Stuck please help!

    I have installed everything correctly and it seems to be working for the most part, But on the checkout page 1 it shows as 0, when you click next step the correct amount shows.

    Ive been looking and looking and trying to find the answer!

    Please help!

  5. #55
    Join Date
    Dec 2007
    Location
    South, UK
    Posts
    59
    Plugin Contributions
    0

    Default Re: UK Shipping by Postcode

    Thanks for this add-on, very useful.

    I wondered if there would be an easy way to have it show only when the order is shipping to the UK? At present it is a 'not applicable' shipping option to international customers. Which is fine, but it would be nicer if it wasn't there at all.

    Cheers!

  6. #56
    Join Date
    Oct 2008
    Posts
    378
    Plugin Contributions
    0

    Default Re: UK Shipping by Postcode

    Brexit problems.

    I am now not able to ship to Northern Ireland and need a way to exclude those postcodes from this shipping module.

    To start with I just raised the shipping cost to those postcodes massively so people would not purchase, but that does not look good for my shops.

    Is there a way to set one of the shipping zones to be a "No delivery" zone so if a customer tries to purchase using a postcode in that zone they get a message "Sorry but we are not able to ship to your address" message?

  7. #57
    Join Date
    Oct 2008
    Posts
    378
    Plugin Contributions
    0

    Default Re: UK Shipping by Postcode

    Quote Originally Posted by Congerman View Post
    Brexit problems.

    I am now not able to ship to Northern Ireland and need a way to exclude those postcodes from this shipping module.

    To start with I just raised the shipping cost to those postcodes massively so people would not purchase, but that does not look good for my shops.

    Is there a way to set one of the shipping zones to be a "No delivery" zone so if a customer tries to purchase using a postcode in that zone they get a message "Sorry but we are not able to ship to your address" message?
    Can anyone help with this?

  8. #58
    Join Date
    Jul 2007
    Posts
    342
    Plugin Contributions
    7

    Default Re: UK Shipping by Postcode

    Quote Originally Posted by Congerman View Post
    Can anyone help with this?
    Hi
    Have you tried removing all the NI post codes usually in zone 3 in the shipping module and also removing all the NI towns in Zones?

  9. #59
    Join Date
    Oct 2008
    Posts
    378
    Plugin Contributions
    0

    Default Re: UK Shipping by Postcode

    Quote Originally Posted by ianhg View Post
    Hi
    Have you tried removing all the NI post codes usually in zone 3 in the shipping module and also removing all the NI towns in Zones?
    That is what I ended up doing, thanks for the reply

 

 
Page 6 of 6 FirstFirst ... 456

Similar Threads

  1. v151 Shipping to postcode in Canada
    By Skyland in forum Addon Shipping Modules
    Replies: 1
    Last Post: 21 Mar 2014, 07:09 PM
  2. Basic postcode-based shipping?
    By Lyte in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 16 May 2010, 05:09 PM
  3. Shipping by Postcode
    By billett in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 6 Oct 2009, 09:31 AM
  4. UK Shipping by postcode
    By schoolboy in forum Built-in Shipping and Payment Modules
    Replies: 14
    Last Post: 29 Mar 2007, 04:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR