I've been looking at this for a bit, so maybe my eyes are just fried right now, but I can't seem to figure out why the following conditional is not working:
{if {total_items} != "0"}
<div class="paddingleft36">
{if {exp:cartthrob:cart_subtotal prefix=""} >= "40"}
<div>Delivery Options<br />
<input type="radio" name="delivery_option" value="pickup">Pickup<br>
<input type="radio" name="delivery_option" value="delivery">Deliver to:
</div>
{if:else}
{exp:channel:entries channel="cart"}
<div>{pickup_only_notice}</div>
<div class="cart_options topminus">{delivery_minimum_notice}
</div>
{/exp:channel:entries}
{/if}
</div>
{/if}
Right now, it just spits out the {if:else} portion of the code, even if the shopping cart subtotal is greater than or equal to ( >= ) 40. When the subtotal is over 40, the Delivery Options radio boxes should appear, but they don't.
This is very confusing and I assume that it might have something to do with the {exp:cartthrob:cart_subtotal prefix=""} tag, but this is precisely how the CartThrob documentation suggests creating conditionals with the cart subtotal (e.g. stripping the currency prefix ($) to compare values.