HowTo Fix Interspire Shopping Cart Hiding Shipping Methods for Free Shipping Items

Bug

All shipping methods are hidden for “Free Shipping” items

Fix

Open:

includes/classes/class.quote.address.shipping.php

Find:

      // Free shipping method
      if ($this->allowsFreeShipping()) {
         $shippingQuotes[] = array(
            'description'   => getLang('FreeShipping'),
            'price'         => 0,
            'methodId'      => -1,
            'module'      => '',
            'handling'      => $zoneHandlingFee,
         );

         if (empty($shippingQuoteItems)) {
            return $shippingQuotes;
         }
      }

Replace with:

      // Free shipping method
      if ($this->allowsFreeShipping()) {
         $shippingQuotes[] = array(
            'description'   => getLang('FreeShipping'),
            'price'         => 0,
            'methodId'      => -1,
            'module'      => '',
            'handling'      => $zoneHandlingFee,
         );
//MOD Allow other shipping method options
/*
         if (empty($shippingQuoteItems)) {
            return $shippingQuotes;
         }
*/
//MOD END
      }

Leave a Reply

Your email address will not be published. Required fields are marked *