I am using payapal-for-woocommerce plugin for express checkout in my shopping site.
when I checkouts from woocommerce checkout page. I have shipping and billing details on my order-received page that is fine. but when I checkout from cart page on order-received page it displays only Billing details.
I go through woocommerce\templates\order\order-details-customer.php file on line no line no 55
if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() ) :
$order->needs_shipping_address() this function always shows me null . so I can see, that is why shipping details is not showing.
If I want to pass $order->needs_shipping_address() = 'True' or 'Free_shipping' in shipping method by default how can i do it using hook or filter.