Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Free Shipping Options

Free Shipping Options

Locked

Views: 742

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
15 Jul 2008, 10:52 PM
#1
direwolf avatar

direwolf

New Zenner

Join Date:
Mar 2008
Location:
Southeast Louisiana
Posts:
25
Plugin Contributions:
0

Free Shipping Options

Thanks to Ajeh, I have my free shipping set up correctly. My customers now have not only the free shipping option but can also choose expedited shipping if they like, however the Ground shipping option, which is the free shipping method, is also displayed. Is there any way to inhibit the Ground shipping option from displaying when the free shipping option is displayed? I'd just like to eliminate any confusion during checkout.

Thanks in advance.

17 Jul 2008, 2:57 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Free Shipping Options

What is the condition of the Free Shipping? :smile:

17 Jul 2008, 5:31 PM
#3
direwolf avatar

direwolf

New Zenner

Join Date:
Mar 2008
Location:
Southeast Louisiana
Posts:
25
Plugin Contributions:
0

Re: Free Shipping Options

I offer free UPS Ground shipping on orders over $100.

17 Jul 2008, 5:39 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Free Shipping Options

In the UPS shipping module you will find:

        $methods[] = array('id' => $type,
                           'title' => $this->types[$type],
                           'cost' => ($cost + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes);

This builds the display and sets the cost ...

You need to catch it and change that when the total is over $100 and the shipping method is ground so that it sets the cost to 0.00 ...

The id ($type) will tell you which one you are on ...