I have an issue where the shipping address is not included in the order email sent not , if local pickup is selected
tested with an Order and woocommerce does not inclde “Order notes (optional)” is NOT included with the order email
We use local pickup and deliver –
and have inserted some code today – which includes the shipping addreess regardless of the shipping options
BUT i see for many years , this has been requested and various questions raised to add this , and i found on one of these very old forums a bit of code from 5 years ago
BUT it seems the order NOTE is not included, with that code , as its not in the normal info anyway
here is the link
and the code
‘
function show_ship_add_for_local_pickup( $needs_address, $hide ) {
$needs_address = true;
return $needs_address;
}
add_filter( 'woocommerce_order_needs_shipping_address', 'show_ship_add_for_local_pickup', 10, 2 );
‘
Should this also provide the Order NOTE , and if not how do i add – I have asked the same on the other forum, but dont expect an answer after 5years …….
can something be added
- This topic was modified 8 hours, 43 minutes ago by .
- This topic was modified 8 hours, 16 minutes ago by .
The page I need help with: [log in to see the link]
