Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Disable Ground when offering Free Shipping and alternative shipping options

Disable Ground when offering Free Shipping and alternative shipping options

Locked

Views: 1,985

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
8 Aug 2010, 4:41 AM
#1
gabe8496 avatar

gabe8496

New Zenner

Join Date:
Oct 2009
Posts:
8
Plugin Contributions:
0

Disable Ground when offering Free Shipping and alternative shipping options

Let see...I'm offering Free Shipping to the 48 contiguous states and want to offer expedited services to them aswell. The free shipping is working nicely but I'm concerned with the additional servcies.

I'm seeing both Expedited and Ground services from FedEx, since both modules are installed. Is it possible to remove the "Ground" services ONLY when a customer qualifies for the free shipping?

I can't disable Ground options overall within the FedEx module as it will disable them for everyone else, such as HI and AK customers.

Any suggestions as to what I can do here? or maybe someone has already figured this out?

I plan on adding USPS as an option down the road.

Thanks!

Gabe

8 Aug 2010, 5:41 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Disable Ground when offering Free Shipping and alternative shipping options

If you were to have your Free Shipping Options freeoptions with a Sort Order of 10, and all other shipping modules with higher Sort Order such as 20, 30, etc. etc.

Then you could set a global variable, such as $free_shipping_options_on as an example, for when the Free Shipping Options freeoptions is actually enabled and triggered based on the conditions ...

Then, that variable $free_shipping_options_on can be checked for in other shipping modules, such as FedEx or UPS or USPS, in the function quote and used to enable or disable specific shipping methods as needed ...