woothemes/woocommerce — Issue #630: More flexible way to change needs shipping value.
Author: Mamaduka
Created: 2012-02-13 17:14:13+00:00
State: open

Only way to set `$woocommerce->cart->needs_shipping()` to false is set options `woocommerce_calc_shipping` to `no`.

If you're doing this options update via AJAX, it's too late for some functions like `checkout_form_shipping` to retrieve data.