Shipping address on order email when local pickup selected ORDER NOTE

[ad_1]

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

https://stackoverflow.com/questions/55466255/always-display-shipping-address-in-woocommerce-email-notifications/78628615#78628615

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 etaf.
  • This topic was modified 8 hours, 16 minutes ago by etaf.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer