Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2011
    Posts
    9
    Plugin Contributions
    0

    email error If freeoptions criteria=true, how can i disable the other shipping methodes?

    Hi all,

    i have 3 shipping methods enabled: freeoptions,storepickup and table.
    How can i disable the Table shipping methode when my Freeoptions criteria ( above 100 euro ) = true?
    I don't want to see that option when choosing ( as a customer ) the shipping method !

    Remco Angioni

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

    Default Re: If freeoptions criteria=true, how can i disable the other shipping methodes?

    Does everyone get Free Shipping on orders of >= 100 or just some people?
    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: v1.5.5]
    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
    Feb 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: If freeoptions criteria=true, how can i disable the other shipping methodes?

    Hi,

    the answer is everyone.

    Remco Angioni

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

    Default Re: If freeoptions criteria=true, how can i disable the other shipping methodes?

    Then instead of using Free Shipping Options freeoptions, go to the Modules ... Order Totals ... Shipping ot_shipping and enable Free Shipping and enter the amount and set to BOTH ...

    Now, when the order is >= 100 it will only show Free Shipping to everyone and not show the other shipping modules ...
    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: v1.5.5]
    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 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: If freeoptions criteria=true, how can i disable the other shipping methodes?

    Hi Ajeh,

    its working, but also the module storepickup is disabled now when ordervalue is above 100 euro .
    And thats not what i want! Can this be changed?

    Remco angioni

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

    Default Re: If freeoptions criteria=true, how can i disable the other shipping methodes?

    Turn off the Modules ... Order Totals ... Shipping ot_shipping for the Free shipping ... Do not turn off the Shipping Order total itself, just the Free Shipping ...

    Turn back on the Free Shipping Options freeoptions ...

    Now you need to customize your shipping modules if you do not want to show the other shipping modules when the total >= 100 ...

    Example: in Flat Rate flat shipping module:
    /includes/modules/shipping/flat.php

    The code in RED will turn it off at >= 100
    Code:
          // disable only when entire cart is free shipping
          if (zen_get_shipping_enabled($this->code)) {
            $this->enabled = ((MODULE_SHIPPING_FLAT_STATUS == 'True') ? true : false);
          }
    
    if (IS_ADMIN_FLAG == false) {
      global $cart;
      if ($_SESSION['cart']->show_total() >= 100) {
        $this->enabled = false;
      }
    }
    
    On the other shipping modules you should see a similar section where you can put this code ...
    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: v1.5.5]
    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
    Feb 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: If freeoptions criteria=true, how can i disable the other shipping methodes?

    Okidoki.... its working now like it should.... Thanx

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

    Default Re: If freeoptions criteria=true, how can i disable the other shipping methodes?

    Thanks for the update that this is working for you now ...
    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: v1.5.5]
    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!

 

 

Similar Threads

  1. How can disable the checkbox for the shipping zone ?
    By dmagic in forum General Questions
    Replies: 4
    Last Post: 31 Mar 2014, 04:31 PM
  2. How to disable ground services? when using Free Shipping - freeoptions
    By yd29999 in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 19 Nov 2010, 05:41 AM
  3. Free shipping - disable other option
    By Jeet Kune Do in forum General Questions
    Replies: 13
    Last Post: 23 Jun 2010, 02:40 PM
  4. Either show free shipping icon w/ freeoptions OR show other modules w/ freeshipper
    By tvadpro in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 3 Dec 2006, 02:53 AM
  5. how can I disable the catetory list right under the logo?
    By lina0962 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 15 Jun 2006, 12:39 AM

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