Page 1 of 2 12 LastLast
Results 1 to 10 of 42

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    Edinburgh, Scotland
    Posts
    243
    Plugin Contributions
    1

    Default Re: Disable table shipping after certain rate

    Hi there,

    Is it possible to hide the table rate when the cart reaches a certain value, rather than a particular weight?

    IE, i want to allow a particular table rate option up to £30, but not over that as the insurance covers only up to £30.

    Any help would be much appreciated,
    Fergus

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Disable table shipping after certain rate

    You can disable the shipping modules based on any condition in the same manner ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Oct 2007
    Location
    Edinburgh, Scotland
    Posts
    243
    Plugin Contributions
    1

    Default Re: Disable table shipping after certain rate

    OK great. Would you mind writing the code to disable above a particular value and let me know where to insert it.

    Many thanks.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Disable table shipping after certain rate

    For the Table Rate table shipping module, you will see the code:
    Code:
        if (zen_get_shipping_enabled($this->code)) {
          $this->enabled = ((MODULE_SHIPPING_TABLE_STATUS == 'True') ? true : false);
        }
    Change that to read:
    Code:
        if (zen_get_shipping_enabled($this->code)) {
          $this->enabled = ((MODULE_SHIPPING_TABLE_STATUS == 'True') ? true : false);
        }
    
    // Check for Weight and display module if weight exceeds stated value
    if (IS_ADMIN_FLAG == false && $_SESSION['cart']->show_total() > 30) {
      $this->enabled = false;
    }
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Disable table shipping after certain rate

    Quote Originally Posted by Ajeh View Post
    post above
    Thanks Ajeh! That worked. Your remarkable.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Disable table shipping after certain rate

    You are most welcome ... glad that this worked for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Oct 2007
    Location
    Edinburgh, Scotland
    Posts
    243
    Plugin Contributions
    1

    Default Re: Disable table shipping after certain rate

    Superb! Thank you very much indeed.

  8. #8
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Disable table shipping after certain rate

    Zencart 1.3.9f
    Modules installed
    Aus Post (uninstalled)
    Image Handler2

    I need help please. I have -
    Some products under the value of $45 or orders totals are under $45 and I want to charge a fixed freight fee of $10 (anything adds up to $45)
    Some products over the value of $45 and want them to be FREE shipping with Free shipping logo showing.

    In the Products sections, I have marked some products as follows:
    Free Shipping with Free shipping logo displayed - I have all ready activated some of the items as 'Always Free Shipping: Yes, Always Free Shipping'

    All products are sold within Australia only.

    Which shipping do I need to use?
    What will be my 'Shipping Table' figures be?

    I really appreciate if someone please help.

  9. #9
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Disable table shipping after certain rate

    Quote Originally Posted by oavs View Post
    Zencart 1.3.9f
    Modules installed
    Aus Post (uninstalled)
    Image Handler2

    I need help please. I have -
    Some products under the value of $45 or orders totals are under $45 and I want to charge a fixed freight fee of $10 (anything adds up to $45)
    Some products over the value of $45 and want them to be FREE shipping with Free shipping logo showing.
    modules>shipping> Free Shipping Options
    Total >=
    Free Shipping when Total >=$45

  10. #10
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Disable table shipping after certain rate

    Quote Originally Posted by vandiermen View Post
    modules>shipping> Free Shipping Options
    Total >=
    Free Shipping when Total >=$45
    Wow , how cool is that. Until you pointed out, I would not have seen it. Thanks for letting me know...

    How do I charge $10 for items under $45? when is set to >=$45 ?

    Would it be Shipping Cost: 10.00 ?
    Last edited by oavs; 25 Oct 2010 at 02:04 PM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Hide table rate shipping under a certain weight
    By Kcin in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 20 Jul 2020, 04:45 PM
  2. v153 How to disable table rate shipping module after certain weight
    By samuxul in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 4 Mar 2015, 04:45 AM
  3. Table Rate enable after certain shopping cart price value?
    By jmwiley in forum Code Collaboration
    Replies: 3
    Last Post: 8 Apr 2013, 04:16 PM
  4. Table Rate shipping PLUS a handling fee for certain items
    By marvin in forum Built-in Shipping and Payment Modules
    Replies: 13
    Last Post: 19 Apr 2009, 05:20 PM
  5. Disable Flat rate after weight of cart is over a certain amoun
    By brettw in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 7 Mar 2009, 08:38 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