We have a few items in our store that we cannot ship 'cause they're perishable. What I'd like to do is customize the YourpayConnect orderform based on items in the cart.
The non-shipable items have a shipping weight of 0 - everything else has a value.
Here's what I'd like:
1. If the cart contains both shippable and non-shipable items, I'll display the shipping option box along with a box into which they will enter the date they want to pick the item up.
2. If the cart has only non-shipable items, the shipping dropdown will not display and they'll just get a date box for the pickup date.
So what I'm really asking for is how do I find out if the cart has 0-weight items in it from the checkout form page? Once I know that, I can take care of the rest.
I tried using the code copied from the store header file that displays the cart contents if there's items in the cart, but I get an error message if I stick that into the form.
Thanks