Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    66
    Plugin Contributions
    0

    Default hide other shipping methods with free shipping

    how do I hide all other shipping methods when an order is eligible for free shipping (under 50 lbs)? I use freeoptions and MODULE_SHIPPING_UPS_HANDLING.

  2. #2
    Join Date
    Jun 2009
    Posts
    66
    Plugin Contributions
    0

    Default Re: hide other shipping methods with free shipping

    Quote Originally Posted by thenax View Post
    how do I hide all other shipping methods when an order is eligible for free shipping (under 50 lbs)? I use freeoptions and MODULE_SHIPPING_CITIES.
    I have to modify something here but i'm not sure what!

    PHP Code:
    // class constructor
        
    function cities() {
          
    $this->code 'cities';
          
    $this->title MODULE_SHIPPING_CITIES_TEXT_TITLE;
          
    $this->description MODULE_SHIPPING_CITIES_TEXT_DESCRIPTION;
          
    $this->sort_order MODULE_SHIPPING_CITIES_SORT_ORDER;
          
    $this->icon '';
          
    $this->tax_class MODULE_SHIPPING_CITIES_TAX_CLASS;
          
    $this->tax_class MODULE_SHIPPING_CITIES_TAX_CLASS;

          
    // disable only when entire cart is free shipping
          
    if (zen_get_shipping_enabled($this->code)) {
            
    $this->enabled = ((MODULE_SHIPPING_CITIES_STATUS == 'True') ? true false);
          }

          
    // CUSTOMIZE THIS SETTING FOR THE NUMBER OF CITIES NEEDED
          
    $this->num_zones 20;
        }

    // class methods
        
    function quote($method '') {
          global 
    $order$shipping_weight$shipping_num_boxes

  3. #3
    Join Date
    Oct 2006
    Location
    Worcester, MA
    Posts
    454
    Plugin Contributions
    0

    Default Re: hide other shipping methods with free shipping

    thenax,

    Did you ever figure this out? I need to do something very similar and have been searching the forum for quite a bit now.

    Thanks!

 

 

Similar Threads

  1. v150 Hide Available Shipping Methods table until Shipping Estimator runs
    By DivaVocals in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 27 Dec 2024, 01:59 AM
  2. v152 FREE Shipping WITH Other Paid Express Shipping Options?
    By sle39lvr in forum Built-in Shipping and Payment Modules
    Replies: 18
    Last Post: 9 Aug 2014, 06:51 PM
  3. Replies: 41
    Last Post: 27 Feb 2011, 01:01 AM
  4. How to hide all other shipping options when an order is eligible for free shipping?
    By shirster in forum Built-in Shipping and Payment Modules
    Replies: 16
    Last Post: 3 Feb 2010, 05:41 AM
  5. Selecting Shipping Methods with free shipping
    By pasi in forum Built-in Shipping and Payment Modules
    Replies: 15
    Last Post: 15 Apr 2007, 05:28 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