Results 1 to 10 of 59

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Location
    Porthleven, Cornwall, UK
    Posts
    45
    Plugin Contributions
    1

    bug Re: UK Shipping by Postcode

    Looks like I might have included a minor bug into the module.

    Try the following fix...

    Open /includes/modules/shipping/ukpost.php

    Locate line 114 which says
    $pcode = $str = preg_replace('/\s\s*/', '', $destination_postcode);

    Replace with...
    $pcode = preg_replace('/\s\s*/', '', $destination_postcode);

    Rgds
    Mike.

  2. #2
    Join Date
    Jun 2009
    Location
    Porthleven, Cornwall, UK
    Posts
    45
    Plugin Contributions
    1

    Default Re: UK Shipping by Postcode

    UPDATE...

    I've now updated the Postcode module with a bug fix plus I've added PAxx postcodes that were overlooked in the original version.

    The updated version will be available in the downloads section after it has been reviewed by the Zen team.

    If you want the revised version straight away then download it from http://zenned.co.uk/modules/UK_Postcode_Shipping.zip

    Enjoy!

  3. #3
    Join Date
    Jun 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: UK Shipping by Postcode

    uuuum doesnt work at all for me

    "The delivery/shipping fee cannot be determined at this time"

    Do I need to delete all the zones I had previously setup or change my stores zone or something along those lines?

    Something to do with Zone Definitions perhaps?
    Last edited by caios; 14 Jun 2011 at 02:35 PM.

  4. #4
    Join Date
    Jun 2009
    Location
    Porthleven, Cornwall, UK
    Posts
    45
    Plugin Contributions
    1

    Default Re: UK Shipping by Postcode

    Quote Originally Posted by caios View Post
    uuuum doesnt work at all for me

    "The delivery/shipping fee cannot be determined at this time"

    Do I need to delete all the zones I had previously setup or change my stores zone or something along those lines?

    Something to do with Zone Definitions perhaps?
    The message "The delivery/shipping fee cannot be determined at this time" usually means the total Weight or Price of the items in the cart in the cart exceed the *maximum* weight or price value set in the Shipping Table

    Try adding a high value like 5000:0.00 as the last value.
    If you get a zero (0.00) shipping charge displayed then that was the problem. Change the 0.00 to whatever shipping charge you want to make.. i.e. 5000:50.00

  5. #5
    Join Date
    Jun 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: UK Shipping by Postcode

    Quote Originally Posted by Z3NN3D View Post
    The message "The delivery/shipping fee cannot be determined at this time" usually means the total Weight or Price of the items in the cart in the cart exceed the *maximum* weight or price value set in the Shipping Table

    Try adding a high value like 5000:0.00 as the last value.
    If you get a zero (0.00) shipping charge displayed then that was the problem. Change the 0.00 to whatever shipping charge you want to make.. i.e. 5000:50.00
    Thanks thats great, somethings working now.

    Its now says:

    UK Postcode (Parcel To: (22 x 50.00Kg))

    hahaa uuum

    Dont understand!


    0.5:2.95,1:3.98,2:5.98,5:7.98,25:8.98,40:15.98,inc-20:0.95

    is what we have in our orginal table rate. But for some reason cuting and pasting the above into the postcode table rate doesnt work.

    Is it possible that our weights are in g and our orginal table rate has been modified to x1000 to calculate from kg to g?

    I know our backend software has the weights in g and not kg.
    Last edited by caios; 15 Jun 2011 at 03:40 PM.

  6. #6
    Join Date
    Jun 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: UK Shipping by Postcode

    yep, found this code in my other shipping module:

    $shipping_weight = $total_weight / 1000;

    amoungst other changes........

    Would you be able to advise me where I could stick the above code into your code so it all magicly works please? thanks

  7. #7
    Join Date
    Jun 2009
    Location
    Porthleven, Cornwall, UK
    Posts
    45
    Plugin Contributions
    1

    Default Re: UK Shipping by Postcode

    Quote Originally Posted by caios View Post
    yep, found this code in my other shipping module:

    $shipping_weight = $total_weight / 1000;

    amoungst other changes........

    Would you be able to advise me where I could stick the above code into your code so it all magicly works please? thanks
    Weight is calculated by Zen cart before the shipping module is referenced so you can't stick new code anywhere in the shipping module to modify it.

  8. #8
    Join Date
    Nov 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: UK Shipping by Postcode

    Does your mod allow for specific ranges?

    For instance - in the IV postcode, Only these ranges charge extra for some couriers:

    IV14-IV28,IV30-IV32,IV36,IV40-IV56,IV7,IV9-IV12

    Can I set a range, or would I have to enter each one individually?

    Also it might be nice if it were possible to add more zones for foreign countries with numeric postcodes (and ranges for them).

    I have a CubeCart mod which does this. Am looking to move to Zen - but need such functionality.

  9. #9
    Join Date
    Jun 2009
    Location
    Porthleven, Cornwall, UK
    Posts
    45
    Plugin Contributions
    1

    Default Re: UK Shipping by Postcode

    Quote Originally Posted by aris View Post
    Does your mod allow for specific ranges?

    For instance - in the IV postcode, Only these ranges charge extra for some couriers:

    IV14-IV28,IV30-IV32,IV36,IV40-IV56,IV7,IV9-IV12

    Can I set a range, or would I have to enter each one individually?

    Also it might be nice if it were possible to add more zones for foreign countries with numeric postcodes (and ranges for them).
    There is currently no functionality in the existing module to work with hyphen separated postcode ranges, nor foreign country numeric postcodes, but you can add Zones for each range of postcodes which would do the same job.

    By default, the module comes with support for 4 UK postcode zones. If more are needed then the amount of zones can be increased by editing line 108 $this->num_zones found in /includes/modules/shipping/ukpost.php.

    More info on increasing the zones can be found here http://www.zenned.co.uk/uk-shipping-by-postcode-ezp-16.html

 

 

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

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