Hi,
I'm hoping someone can point me in the right direction. We offer free delivery to one set of US zip codes, flat rate shipping to another set of zip codes and UPS and USPS shipping to another set of zip codes. We also offer free shipping for several product categories.
We have Freeshipper, UPS, USPS and Zipcode rate (for the flat rate since it is zip code specific) mods installed. All calculations are correct for all zip codes at checkout, but what we need to do is block a module if it is not applicable.
In other words, when product is free shipping, the only information that shows up on the Delivery Options page is one box that says "Free Shipping Only." However, if the customer's delivery address is within the flat rate Zipcode rate area, he sees a box for the flat rate, a box for UPS, a box for USPS. As this is very confusing to the customer, all I want him to see is the box that lists the flat rate.
I've read numerous posts about how to block specific categories or items from certain shipping methods, but haven't found anything on blocking specific zip codes.
I suspect it may have something to do with adapting the following in each shipping module:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_UPS_STATUS == 'True') ? true : false);
}
but haven't been able to figure it out.
Thanks in advance for any help.




