Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2008
    Posts
    36
    Plugin Contributions
    0

    Default Regiontables - Weight decimal places

    I'm setting up regiontables using weight calculation. I want to set a minimum weight limit in my table rates e.g

    10.001-11:15.45,11.001:15.95,12:16.45

    i.e disabled below 10Kg, then for 10.001kg to 11kg £15.45 & from 11Kg to 12 £15.95 etc.

    problem is regiontables seems only to accept integers for weight. I can't find how to change it..i assume theres a setting in php somewhere?

    What do I need to change to allow this?

    Nigel

  2. #2
    Join Date
    Feb 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: Regiontables - Weight decimal places

    10-11:15.45 will work but 10.001-11:15.45 will not.

    i've trawled the forum and found some posts on using these ranges but can't find anything conclusive.

    Any ideas guys... there must be a way to do this.

  3. #3
    Join Date
    Feb 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: Regiontables - Weight decimal places

    I could not find a way to make range 10.001-11 work..

    however around line 297 in \includes\modules\YOUR_TEMPLATE\regiontables.php
    I found:

    $minimum_limit = 0;
    $maximum_limit = 0;

    I changed to $minimum_limit = 10.001;


    That disables the module for weights below 10.001 kgs.

  4. #4
    Join Date
    Feb 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: Regiontables - Weight decimal places

    Quote Originally Posted by Under pressure View Post

    however around line 297 in \includes\modules\YOUR_TEMPLATE\regiontables.php

    should be:

    includes\modules\YOUR_TEMPLATE\shipping\regiontables.php

    Nigel

  5. #5
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Regiontables - Weight decimal places

    Hi Nigel,

    Quote Originally Posted by Under pressure View Post
    should be:

    includes\modules\YOUR_TEMPLATE\shipping\regiontables.php
    Actually, that should be:

    includes\modules\shipping\regiontables.php

    Also, you must have an older version of the module as the $minimum_limit = 0; line is on line 293 in the final version of Region Tables.

    All the best...

    Conor
    Ceon

 

 

Similar Threads

  1. Currency Setting of Decimal Places vs pricing to 5 decimal places?
    By GoldBuckle in forum Customization from the Admin
    Replies: 0
    Last Post: 20 Aug 2013, 05:16 PM
  2. Decimal Places
    By Davx in forum Customization from the Admin
    Replies: 2
    Last Post: 20 Apr 2010, 04:36 PM
  3. Decimal places in shipping weight
    By Phil020782 in forum General Questions
    Replies: 6
    Last Post: 2 Feb 2009, 04:40 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