• Resolved foxglove666

    (@foxglove666)


    hello and thanks for your help in advance.

    I’m using woocommerce and everything is up to date. I have recently changed to a multi site set up but this issue has happened after this update so don’t think this is what has caused the change.

    Something has gone wrong and the new order emails that get sent to me no longer have the shipping address even if it’s different from the billing address. The emails did have this for 3 months just fine but something has changed and I’m not sure what and no matter what settings I change I cant get it back. This is crucial that this is included and I need a fix asap.

    my site is https://www.foodtoyourdoor.co.uk

    Thanks again.
    David

    https://www.ads-software.com/plugins/woocommerce/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter foxglove666

    (@foxglove666)

    hi all,

    still no updates on this and need help asap.

    please can someone help me get the shipping address back on the new order email.

    Thanks
    David

    is address coming in order detail page?

    and are you using custom email templates or default email templates?

    Thread Starter foxglove666

    (@foxglove666)

    hi Balasaheb,

    thanks for looking and helping

    the email comes through with the billing address only. the order in woocommerce does show the shipping address.

    it used to work but it changed a few days ago and not sure if this was me or an update.

    Thanks
    David

    Thread Starter foxglove666

    (@foxglove666)

    i did use a custom one my theme installed. since the issueIi have switched back but the email is identical

    Can you share me screenshot after payments done?

    I mean order-received page. So I can get idea what’s exactly going wrong.

    Thread Starter foxglove666

    (@foxglove666)

    how do i get to that page?

    in my orders page in woocommerce it shows both the billing and shipping address so i know it’s being captured. it’s just not transferring on to the emails

    ok

    are you modified the email templates?

    Thread Starter foxglove666

    (@foxglove666)

    i dont know how so i haven’t intentionally.

    if i need to to fix the issue i’m more than happy to do it.

    Please check your woo-commerce version

    https://prntscr.com/77oqnj

    Thread Starter foxglove666

    (@foxglove666)

    i’m on version 2.3.9

    Thread Starter foxglove666

    (@foxglove666)

    i have this

    ?><table cellspacing=”0″ cellpadding=”0″ style=”width: 100%; vertical-align: top;” border=”0″>

    <tr>

    <td valign=”top” width=”50%”>

    <h3><?php _e( ‘Billing address’, ‘woocommerce’ ); ?></h3>

    <p><?php echo $order->get_formatted_billing_address(); ?></p>

    </td>

    <?php if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() && ( $shipping = $order->get_formatted_shipping_address() ) ) : ?>

    <td valign=”top” width=”50%”>

    <h3><?php _e( ‘Shipping address’, ‘woocommerce’ ); ?></h3>

    <p><?php echo $shipping; ?></p>

    </td>

    <?php endif; ?>

    </tr>

    </table>

    Thread Starter foxglove666

    (@foxglove666)

    the template used is admin-new-order.php for new orders which shows

    <?php
    /**
    * Admin new order email
    *
    * @author WooThemes
    * @package WooCommerce/Templates/Emails/HTML
    * @version 2.0.0
    */

    if ( ! defined( ‘ABSPATH’ ) ) {
    exit; // Exit if accessed directly
    }

    ?>

    <?php do_action( ‘woocommerce_email_header’, $email_heading ); ?>

    <p><?php printf( __( ‘You have received an order from %s. The order is as follows:’, ‘woocommerce’ ), $order->billing_first_name . ‘ ‘ . $order->billing_last_name ); ?></p>

    <?php do_action( ‘woocommerce_email_before_order_table’, $order, true, false ); ?>

    <h2>id . ‘&action=edit’ ); ?>”><?php printf( __( ‘Order #%s’, ‘woocommerce’), $order->get_order_number() ); ?> (<?php printf( ‘<time datetime=”%s”>%s</time>’, date_i18n( ‘c’, strtotime( $order->order_date ) ), date_i18n( wc_date_format(), strtotime( $order->order_date ) ) ); ?>)</h2>

    <table cellspacing=”0″ cellpadding=”6″ style=”width: 100%; border: 1px solid #eee;” border=”1″ bordercolor=”#eee”>
    <thead>
    <tr>
    <th scope=”col” style=”text-align:left; border: 1px solid #eee;”><?php _e( ‘Product’, ‘woocommerce’ ); ?></th>
    <th scope=”col” style=”text-align:left; border: 1px solid #eee;”><?php _e( ‘Quantity’, ‘woocommerce’ ); ?></th>
    <th scope=”col” style=”text-align:left; border: 1px solid #eee;”><?php _e( ‘Price’, ‘woocommerce’ ); ?></th>
    </tr>
    </thead>
    <tbody>
    <?php echo $order->email_order_items_table( false, true ); ?>
    </tbody>
    <tfoot>
    <?php
    if ( $totals = $order->get_order_item_totals() ) {
    $i = 0;
    foreach ( $totals as $total ) {
    $i++;
    ?><tr>
    <th scope=”row” colspan=”2″ style=”text-align:left; border: 1px solid #eee; <?php if ( $i == 1 ) echo ‘border-top-width: 4px;’; ?>”><?php echo $total[‘label’]; ?></th>
    <td style=”text-align:left; border: 1px solid #eee; <?php if ( $i == 1 ) echo ‘border-top-width: 4px;’; ?>”><?php echo $total[‘value’]; ?></td>
    </tr><?php
    }
    }
    ?>
    </tfoot>
    </table>

    <?php do_action( ‘woocommerce_email_after_order_table’, $order, true, false ); ?>

    <?php do_action( ‘woocommerce_email_order_meta’, $order, true, false ); ?>

    <?php do_action( ‘woocommerce_email_customer_details’, $order, $sent_to_admin, $plain_text ); ?>

    <?php do_action( ‘woocommerce_email_footer’ ); ?>

    Thread Starter foxglove666

    (@foxglove666)

    Can anyone please help with this.

    all i need is the shipping address to show on the new order email

    Thread Starter foxglove666

    (@foxglove666)

    hi everyone,

    I still don’t have a solution for this and it means my business is suffering as I need the emails to have the shipping address.

    please please please can someone help me.

    Thread Starter foxglove666

    (@foxglove666)

    plugin conflict – resolved

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Shipping address not showing on New Order Email’ is closed to new replies.