No replies
crackhit's picture
Offline
Joined: 10/09/2013
Juice: 4
Was this information Helpful?

Hey Folks,

I'm trying to figure out how to properly use conditions for shipping quotes but can't seem to wrap my head around this one. Products are 2 food types - frozen or nonfrozen. Our shipping methods are USPS and local delivery. Here's a high level set of conditions we have in place:

1. USPS - must contain nonfrozen (forbid other products). This works fine;
2. Local delivery - contains frozen or nonfrozen products. Also works fine;

How do we enforce that if your cart only contains nonfrozen, then USPS is the only option?
Is there a cleaner way to enforce a zip code validation via shipping quote conditions? Meaning, local delivery no longer becomes an option if you're outside the delivery zone? Right now, we have this working with a slightly tweaked module found here - https://drupal.org/node/1133812

Thanks in advance!