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
    Philadelphia, PA
    Posts
    172
    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. 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
  2. Hide the shipping estimator if only free shipping?
    By westcoastfavors in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 22 Dec 2007, 06:27 AM
  3. 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
  4. Free Shipping for Priority Mail, but UPS methods extra
    By techmon in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 9 Nov 2006, 06:55 PM
  5. List shipping methods automatically on Shipping and Return Page
    By gems14k in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 Jul 2006, 12:00 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
  •